<?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 Call WPS gp service in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/call-wps-gp-service/m-p/1024783#M29416</link>
    <description>&lt;P&gt;Hello all&lt;/P&gt;&lt;P&gt;I am trying to call a Gp Service using the WPS capabilities.&lt;/P&gt;&lt;P&gt;The service gets simple parameters (long and double) and should return a link to results.&lt;/P&gt;&lt;P&gt;My parameter file is attached (name changed to .txt to load).&lt;/P&gt;&lt;P&gt;The command I am using is:&lt;/P&gt;&lt;P&gt;curl -H "Content-type: xml" -X POST -d@request1.xml http://modybu-pc:6080/arcgis/services/vispy/GPServer/WPSServer -o response.xml&lt;/P&gt;&lt;P&gt;The only results I am getting is:&lt;/P&gt;&lt;DIV class="line"&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;ows:Exception&lt;SPAN class="html-attribute"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="html-attribute-name"&gt;exceptionCode&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;WrongXML&lt;/SPAN&gt;"&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="opened"&gt;&lt;DIV class="line"&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;ows:ExceptionText&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;Parsing of the request was failed.&lt;/SPAN&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;/ows:ExceptionText&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="line"&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;/ows:Exception&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="line"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="line"&gt;&lt;SPAN class="html-tag"&gt;I have tried to change my XML in a few ways but nothing works.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="line"&gt;&lt;SPAN class="html-tag"&gt;Please help&lt;/SPAN&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 09 Feb 2021 06:30:17 GMT</pubDate>
    <dc:creator>mody_buchbinder</dc:creator>
    <dc:date>2021-02-09T06:30:17Z</dc:date>
    <item>
      <title>Call WPS gp service</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/call-wps-gp-service/m-p/1024783#M29416</link>
      <description>&lt;P&gt;Hello all&lt;/P&gt;&lt;P&gt;I am trying to call a Gp Service using the WPS capabilities.&lt;/P&gt;&lt;P&gt;The service gets simple parameters (long and double) and should return a link to results.&lt;/P&gt;&lt;P&gt;My parameter file is attached (name changed to .txt to load).&lt;/P&gt;&lt;P&gt;The command I am using is:&lt;/P&gt;&lt;P&gt;curl -H "Content-type: xml" -X POST -d@request1.xml http://modybu-pc:6080/arcgis/services/vispy/GPServer/WPSServer -o response.xml&lt;/P&gt;&lt;P&gt;The only results I am getting is:&lt;/P&gt;&lt;DIV class="line"&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;ows:Exception&lt;SPAN class="html-attribute"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="html-attribute-name"&gt;exceptionCode&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;WrongXML&lt;/SPAN&gt;"&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="opened"&gt;&lt;DIV class="line"&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;ows:ExceptionText&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;Parsing of the request was failed.&lt;/SPAN&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;/ows:ExceptionText&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="line"&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;/ows:Exception&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="line"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="line"&gt;&lt;SPAN class="html-tag"&gt;I have tried to change my XML in a few ways but nothing works.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="line"&gt;&lt;SPAN class="html-tag"&gt;Please help&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 09 Feb 2021 06:30:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/call-wps-gp-service/m-p/1024783#M29416</guid>
      <dc:creator>mody_buchbinder</dc:creator>
      <dc:date>2021-02-09T06:30:17Z</dc:date>
    </item>
  </channel>
</rss>

