<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: WFA REST calls giving &amp;quot;argument type mismatch&amp;quot; in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-REST-calls-giving-quot-argument-type-mismatch-quot/m-p/73986#M15404</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The XML from that last log message didn't show up right...here it is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2014-04-16 07:21:13,101 ERROR [com.netapp.wfa.rs.validation.WfaExceptionMapper] (http-executor-threads - 133) REST service got exception, returning: Internal Server Error (500): org.jboss.resteasy.spi.InternalServerErrorException: Bad arguments passed to public javax.ws.rs.core.Response com.netapp.wfa.rs.workflow.WorkflowResource.executeWorkflow(java.lang.String,com.netapp.wfa.rs.workflow.model.WorkflowInput,javax.ws.rs.core.UriInfo)&amp;nbsp; ( java.lang.String 76b936ba-d52e-4304-b562-01676d35ad43, java.lang.String &amp;lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&amp;gt; &amp;lt;workflowInput&amp;gt; &amp;lt;userInputValues&amp;gt; &amp;lt;userInputEntry key="ClusterName" value="cs001"/&amp;gt; &amp;lt;userInputEntry key="VserverName" value="vs05_arndt_de"/&amp;gt; &amp;lt;userInputEntry key="VolumeName" value="wfatest1"/&amp;gt; &amp;lt;userInputEntry key="VolumeSizeInGB" value="1"/&amp;gt; &amp;lt;/userInputValues&amp;gt; &amp;lt;/workflowInput&amp;gt;, com.sun.proxy.$Proxy173 org.jboss.resteasy.specimpl.UriInfoImpl@6d19f804 )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Apr 2014 12:34:02 GMT</pubDate>
    <dc:creator>arndt</dc:creator>
    <dc:date>2014-04-16T12:34:02Z</dc:date>
    <item>
      <title>WFA REST calls giving "argument type mismatch"</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-REST-calls-giving-quot-argument-type-mismatch-quot/m-p/73971#M15395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a script that I wrote in Perl for running WFA workflows via REST calls, which used to work with WFA 2.0.&amp;nbsp; Now I am trying to run it for some workflows, against a WFA 2.1 or 2.2RC1 server, and in both cases I am getting an error of "argument type mismatch".&amp;nbsp; Here are a few more details from the WFA server.log file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2014-04-15 16:41:26,874 ERROR [com.netapp.wfa.rs.validation.WfaExceptionMapper] (http-executor-threads - 125) REST service got exception, returning: Internal Server Error (500): org.jboss.resteasy.spi.InternalServerErrorException: Bad arguments passed to public javax.ws.rs.core.Response com.netapp.wfa.rs.workflow.WorkflowResource.executeWorkflow(java.lang.String,com.netapp.wfa.rs.workflow.model.WorkflowInput,javax.ws.rs.core.UriInfo)&amp;nbsp; ( java.lang.String 76b936ba-d52e-4304-b562-01676d35ad43, java.lang.String &amp;lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&amp;gt; &amp;lt;workflowInput&amp;gt; &amp;lt;userInputValues&amp;gt; &amp;lt;userInputEntry key="ClusterName" value="cs001"/&amp;gt; &amp;lt;userInputEntry key="VserverName" value="vs05_arndt_de"/&amp;gt; &amp;lt;userInputEntry key="VolumeName" value="wfatest1"/&amp;gt; &amp;lt;userInputEntry key="VolumeSizeInGB" value="1"/&amp;gt; &amp;lt;/userInputValues&amp;gt; &amp;lt;/workflowInput&amp;gt; &amp;lt;/xml&amp;gt;, com.sun.proxy.$Proxy173 org.jboss.resteasy.specimpl.UriInfoImpl@585e0f79 )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And further down in server.log:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Caused by: java.lang.IllegalArgumentException: argument type mismatch&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to REST GET calls to determine the workflow UUID, so I know my authentication is working.&amp;nbsp; Any ideas what is going on?&amp;nbsp; Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 05:38:08 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-REST-calls-giving-quot-argument-type-mismatch-quot/m-p/73971#M15395</guid>
      <dc:creator>arndt</dc:creator>
      <dc:date>2025-06-05T05:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: WFA REST calls giving "argument type mismatch"</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-REST-calls-giving-quot-argument-type-mismatch-quot/m-p/73976#M15398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suspect that the "&amp;lt;/xml&amp;gt;" tag is causing this. This shouldn't be present.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[The &amp;lt;?xml ... ?&amp;gt;&amp;nbsp; bit is the XML declaration and doesn't need a matching close tag]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 12:14:23 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-REST-calls-giving-quot-argument-type-mismatch-quot/m-p/73976#M15398</guid>
      <dc:creator>ktim</dc:creator>
      <dc:date>2014-04-16T12:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: WFA REST calls giving "argument type mismatch"</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-REST-calls-giving-quot-argument-type-mismatch-quot/m-p/73981#M15401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oops, good catch Tim, but that was just me messing with my XML because I was suspecting something may be wrong with it.  I get the same error with that removed…here are the relevant log entries:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2014-04-16 07:21:13,101 ERROR &lt;A href="https://community.netapp.com/com.netapp.wfa.rs.validation.WfaExceptionMapper" target="_blank"&gt;&lt;/A&gt; (http-executor-threads - 133) REST service got exception, returning: Internal Server Error (500): org.jboss.resteasy.spi.InternalServerErrorException: Bad arguments passed to public javax.ws.rs.core.Response com.netapp.wfa.rs.workflow.WorkflowResource.executeWorkflow(java.lang.String,com.netapp.wfa.rs.workflow.model.WorkflowInput,javax.ws.rs.core.UriInfo)  ( java.lang.String 76b936ba-d52e-4304-b562-01676d35ad43, java.lang.String , com.sun.proxy.$Proxy173 org.jboss.resteasy.specimpl.UriInfoImpl@6d19f804 )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Caused by: java.lang.IllegalArgumentException: argument type mismatch&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other ideas?  Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 12:23:05 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-REST-calls-giving-quot-argument-type-mismatch-quot/m-p/73981#M15401</guid>
      <dc:creator>arndt</dc:creator>
      <dc:date>2014-04-16T12:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: WFA REST calls giving "argument type mismatch"</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-REST-calls-giving-quot-argument-type-mismatch-quot/m-p/73986#M15404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The XML from that last log message didn't show up right...here it is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2014-04-16 07:21:13,101 ERROR [com.netapp.wfa.rs.validation.WfaExceptionMapper] (http-executor-threads - 133) REST service got exception, returning: Internal Server Error (500): org.jboss.resteasy.spi.InternalServerErrorException: Bad arguments passed to public javax.ws.rs.core.Response com.netapp.wfa.rs.workflow.WorkflowResource.executeWorkflow(java.lang.String,com.netapp.wfa.rs.workflow.model.WorkflowInput,javax.ws.rs.core.UriInfo)&amp;nbsp; ( java.lang.String 76b936ba-d52e-4304-b562-01676d35ad43, java.lang.String &amp;lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&amp;gt; &amp;lt;workflowInput&amp;gt; &amp;lt;userInputValues&amp;gt; &amp;lt;userInputEntry key="ClusterName" value="cs001"/&amp;gt; &amp;lt;userInputEntry key="VserverName" value="vs05_arndt_de"/&amp;gt; &amp;lt;userInputEntry key="VolumeName" value="wfatest1"/&amp;gt; &amp;lt;userInputEntry key="VolumeSizeInGB" value="1"/&amp;gt; &amp;lt;/userInputValues&amp;gt; &amp;lt;/workflowInput&amp;gt;, com.sun.proxy.$Proxy173 org.jboss.resteasy.specimpl.UriInfoImpl@6d19f804 )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 12:34:02 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-REST-calls-giving-quot-argument-type-mismatch-quot/m-p/73986#M15404</guid>
      <dc:creator>arndt</dc:creator>
      <dc:date>2014-04-16T12:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: WFA REST calls giving "argument type mismatch"</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-REST-calls-giving-quot-argument-type-mismatch-quot/m-p/73991#M15407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like "&lt;SPAN style="color: #454545; font-family: Arial, Helvetica, Verdana, sans-serif; background-color: #ffffff;"&gt;Bad arguments passed to public javax.ws.rs.core.Response&lt;/SPAN&gt;" is a fairly generic error based on a quick search.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More log information might be useful (or your code perhaps?).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found with WFA REST workflow invocation that&lt;/P&gt;&lt;P&gt;- you need to use HTTP/1.0 (not 1.1)&lt;/P&gt;&lt;P&gt;- Set content type to application/xml&lt;/P&gt;&lt;P&gt;- Request type is POST&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 12:55:28 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-REST-calls-giving-quot-argument-type-mismatch-quot/m-p/73991#M15407</guid>
      <dc:creator>ktim</dc:creator>
      <dc:date>2014-04-16T12:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: WFA REST calls giving "argument type mismatch"</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-REST-calls-giving-quot-argument-type-mismatch-quot/m-p/73999#M15411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like I needed to set the content-type to application/xml, and things are working now.&amp;nbsp; Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 16:06:00 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-REST-calls-giving-quot-argument-type-mismatch-quot/m-p/73999#M15411</guid>
      <dc:creator>arndt</dc:creator>
      <dc:date>2014-04-16T16:06:00Z</dc:date>
    </item>
  </channel>
</rss>

