<?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: How to receive and process XML data in a ThingWorx service (via external SAP API call)? in ThingWorx Developers</title>
    <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-receive-and-process-XML-data-in-a-ThingWorx-service-via/m-p/1045012#M70978</link>
    <description>&lt;P&gt;We solved it by setting the &lt;STRONG data-start="105" data-end="121"&gt;Content-Type&lt;/STRONG&gt; to &lt;CODE data-start="125" data-end="135"&gt;text/xml&lt;/CODE&gt;&amp;nbsp; and &lt;STRONG&gt;accept &lt;/STRONG&gt;&lt;CODE data-start="125" data-end="135"&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;text/xml&lt;/CODE&gt;and creating a ThingWorx service with an input parameter &lt;CODE data-start="209" data-end="218"&gt;content&lt;/CODE&gt; of type &lt;STRONG data-start="227" data-end="234"&gt;XML&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the REST API call, I added the flag &lt;CODE data-start="277" data-end="301"&gt;?postParameter=content&lt;/CODE&gt; — and now the XML payload from SAP is correctly received inside the service.&lt;/P&gt;</description>
    <pubDate>Wed, 26 Nov 2025 12:54:32 GMT</pubDate>
    <dc:creator>MA8731174</dc:creator>
    <dc:date>2025-11-26T12:54:32Z</dc:date>
    <item>
      <title>How to receive and process XML data in a ThingWorx service (via external SAP API call)?</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-receive-and-process-XML-data-in-a-ThingWorx-service-via/m-p/1045010#M70977</link>
      <description>&lt;P&gt;&amp;nbsp;Hi everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I’m working on a use case where our SAP team wants to send data to ThingWorx via an HTTP API call. They will post the data as XML, and ThingWorx should receive it in a service, parse it, and store the information in a DataTable or Dataset.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, I’m not sure how to receive the XML payload properly inside a ThingWorx service. When SAP calls my service endpoint, I don’t see any way to directly access the raw XML content — it’s either not recognized or comes as an empty input parameter.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What’s the correct approach to handle this in ThingWorx?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Specifically&lt;/STRONG&gt;:&lt;/P&gt;
&lt;P&gt;How can I receive XML from an external system in a ThingWorx service?&lt;/P&gt;
&lt;P&gt;Do I need to configure a specific Content-Type header (like application/xml)?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If anyone has done SAP → ThingWorx integration with XML payloads, I’d really appreciate an example or best-practice recommendation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Nov 2025 12:50:46 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-receive-and-process-XML-data-in-a-ThingWorx-service-via/m-p/1045010#M70977</guid>
      <dc:creator>MA8731174</dc:creator>
      <dc:date>2025-11-26T12:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to receive and process XML data in a ThingWorx service (via external SAP API call)?</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-receive-and-process-XML-data-in-a-ThingWorx-service-via/m-p/1045012#M70978</link>
      <description>&lt;P&gt;We solved it by setting the &lt;STRONG data-start="105" data-end="121"&gt;Content-Type&lt;/STRONG&gt; to &lt;CODE data-start="125" data-end="135"&gt;text/xml&lt;/CODE&gt;&amp;nbsp; and &lt;STRONG&gt;accept &lt;/STRONG&gt;&lt;CODE data-start="125" data-end="135"&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;text/xml&lt;/CODE&gt;and creating a ThingWorx service with an input parameter &lt;CODE data-start="209" data-end="218"&gt;content&lt;/CODE&gt; of type &lt;STRONG data-start="227" data-end="234"&gt;XML&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the REST API call, I added the flag &lt;CODE data-start="277" data-end="301"&gt;?postParameter=content&lt;/CODE&gt; — and now the XML payload from SAP is correctly received inside the service.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Nov 2025 12:54:32 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-receive-and-process-XML-data-in-a-ThingWorx-service-via/m-p/1045012#M70978</guid>
      <dc:creator>MA8731174</dc:creator>
      <dc:date>2025-11-26T12:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to receive and process XML data in a ThingWorx service (via external SAP API call)?</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-receive-and-process-XML-data-in-a-ThingWorx-service-via/m-p/1045166#M70979</link>
      <description>&lt;P data-start="137" data-end="382"&gt;I am facing another issue now while processing the XML payload received from SAP. There are several tags (around 4–5) that contain the &lt;CODE data-start="263" data-end="266"&gt;%&lt;/CODE&gt; character. When these tags include the &lt;CODE data-start="306" data-end="309"&gt;%&lt;/CODE&gt; sign, the request fails with an &lt;STRONG data-start="342" data-end="375"&gt;“unable to parse XML request”&lt;/STRONG&gt; error.&lt;/P&gt;
&lt;P data-start="384" data-end="425"&gt;I am already sending the correct headers:&lt;/P&gt;
&lt;UL data-start="426" data-end="475"&gt;
&lt;LI data-start="426" data-end="448"&gt;
&lt;P data-start="428" data-end="448"&gt;&lt;CODE data-start="428" data-end="446"&gt;Accept: text/xml&lt;/CODE&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-start="449" data-end="475"&gt;
&lt;P data-start="451" data-end="475"&gt;&lt;CODE data-start="451" data-end="475"&gt;Content-Type: text/xml&lt;/CODE&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P data-start="477" data-end="605"&gt;If the &lt;CODE data-start="484" data-end="487"&gt;%&lt;/CODE&gt; character is removed from the payload, the request is processed successfully and I receive the expected XML response.&lt;/P&gt;
&lt;P data-start="607" data-end="735"&gt;Could anyone please advise how we should handle or encode the &lt;CODE data-start="666" data-end="669"&gt;%&lt;/CODE&gt; character in the XML so that the request can be parsed correctly?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Nov 2025 08:48:54 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-receive-and-process-XML-data-in-a-ThingWorx-service-via/m-p/1045166#M70979</guid>
      <dc:creator>MA8731174</dc:creator>
      <dc:date>2025-11-27T08:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to receive and process XML data in a ThingWorx service (via external SAP API call)?</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-receive-and-process-XML-data-in-a-ThingWorx-service-via/m-p/1045204#M70980</link>
      <description>&lt;P&gt;Tagnames in XML can't contain the % character per definition. That problem should be solved at the source, not the destination.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Nov 2025 12:24:02 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-receive-and-process-XML-data-in-a-ThingWorx-service-via/m-p/1045204#M70980</guid>
      <dc:creator>Rocko</dc:creator>
      <dc:date>2025-11-27T12:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to receive and process XML data in a ThingWorx service (via external SAP API call)?</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-receive-and-process-XML-data-in-a-ThingWorx-service-via/m-p/1045208#M70981</link>
      <description>&lt;P&gt;I did not find that % sign should not be in the XML. I have seen that operator like &amp;amp; must not be in the xml in the specifications of the XML. Would you please let me know more about it?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So you meant that i should inform SAP team that not to send me % sign in the XML?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Nov 2025 12:30:01 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-receive-and-process-XML-data-in-a-ThingWorx-service-via/m-p/1045208#M70981</guid>
      <dc:creator>MA8731174</dc:creator>
      <dc:date>2025-11-27T12:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to receive and process XML data in a ThingWorx service (via external SAP API call)?</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-receive-and-process-XML-data-in-a-ThingWorx-service-via/m-p/1045209#M70982</link>
      <description>&lt;P&gt;You wrote about tags containing "%". Like &amp;lt;AA%AA&amp;gt;&amp;lt;/AA%AA&amp;gt; This is not allowed.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;% in the payload is allowed.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Nov 2025 12:34:14 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-receive-and-process-XML-data-in-a-ThingWorx-service-via/m-p/1045209#M70982</guid>
      <dc:creator>Rocko</dc:creator>
      <dc:date>2025-11-27T12:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to receive and process XML data in a ThingWorx service (via external SAP API call)?</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-receive-and-process-XML-data-in-a-ThingWorx-service-via/m-p/1045210#M70983</link>
      <description>&lt;P&gt;its in payload actually. then what can be the solution to this issue?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Nov 2025 12:37:27 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-receive-and-process-XML-data-in-a-ThingWorx-service-via/m-p/1045210#M70983</guid>
      <dc:creator>MA8731174</dc:creator>
      <dc:date>2025-11-27T12:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to receive and process XML data in a ThingWorx service (via external SAP API call)?</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-receive-and-process-XML-data-in-a-ThingWorx-service-via/m-p/1045211#M70984</link>
      <description>&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;One of the example from my XML --&amp;gt; &amp;lt;Tagging&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;%&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;/Tagging&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 27 Nov 2025 12:44:05 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-receive-and-process-XML-data-in-a-ThingWorx-service-via/m-p/1045211#M70984</guid>
      <dc:creator>MA8731174</dc:creator>
      <dc:date>2025-11-27T12:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to receive and process XML data in a ThingWorx service (via external SAP API call)?</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-receive-and-process-XML-data-in-a-ThingWorx-service-via/m-p/1045213#M70985</link>
      <description>&lt;P&gt;Hard to say. You could dig into finding out where the % gets removed, you could try to introduce encoding or check if the encoding is correct (UTF-8?).&lt;/P&gt;
&lt;P&gt;You could also try to switch from text/xml to text/plain and transform/parse the XML yourself.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Nov 2025 12:51:09 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-receive-and-process-XML-data-in-a-ThingWorx-service-via/m-p/1045213#M70985</guid>
      <dc:creator>Rocko</dc:creator>
      <dc:date>2025-11-27T12:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to receive and process XML data in a ThingWorx service (via external SAP API call)?</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-receive-and-process-XML-data-in-a-ThingWorx-service-via/m-p/1045228#M70986</link>
      <description>&lt;P&gt;% is an XML entity, try encoding it as&amp;nbsp;&lt;SPAN class="monospaced"&gt; &amp;amp;percnt;&lt;/SPAN&gt;&amp;nbsp;on SAP side.&lt;/P&gt;
&lt;P&gt;See&amp;nbsp;&lt;A href="https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references" target="_blank"&gt;https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Nov 2025 15:09:37 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-receive-and-process-XML-data-in-a-ThingWorx-service-via/m-p/1045228#M70986</guid>
      <dc:creator>Constantine</dc:creator>
      <dc:date>2025-11-27T15:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to receive and process XML data in a ThingWorx service (via external SAP API call)?</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-receive-and-process-XML-data-in-a-ThingWorx-service-via/m-p/1045368#M70993</link>
      <description>&lt;P&gt;403 forbidden error when i try to use text/plain only without UTF-8.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and with UTF-8 text/xml is also error unable to parse xml request.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;with UTF-8&amp;nbsp; text/plain 403 forbidden.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Nov 2025 10:10:01 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-receive-and-process-XML-data-in-a-ThingWorx-service-via/m-p/1045368#M70993</guid>
      <dc:creator>MA8731174</dc:creator>
      <dc:date>2025-11-28T10:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to receive and process XML data in a ThingWorx service (via external SAP API call)?</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-receive-and-process-XML-data-in-a-ThingWorx-service-via/m-p/1045370#M70994</link>
      <description>&lt;P&gt;With CDATA it works as below&lt;/P&gt;
&lt;P&gt;![CDATA[&amp;amp;percnt;]]&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but if i write&amp;nbsp;&amp;amp;percnt in a tag then error as below&lt;/P&gt;
&lt;P&gt;406 not acceptable&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I ll contact SAP team about it Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 28 Nov 2025 10:14:30 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-receive-and-process-XML-data-in-a-ThingWorx-service-via/m-p/1045370#M70994</guid>
      <dc:creator>MA8731174</dc:creator>
      <dc:date>2025-11-28T10:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to receive and process XML data in a ThingWorx service (via external SAP API call)?</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-receive-and-process-XML-data-in-a-ThingWorx-service-via/m-p/1045377#M70995</link>
      <description>&lt;P&gt;Maybe also check you are not running into the ESAPI validation issue as earlier.&amp;nbsp;&lt;A href="https://support.ptc.com/help/thingworx/platform/r10.0/en/#page/ThingWorx/Help/Installation/ConfiguringESAPIValidatorSettings.html" target="_blank"&gt;https://support.ptc.com/help/thingworx/platform/r10.0/en/#page/ThingWorx/Help/Installation/ConfiguringESAPIValidatorSettings.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Nov 2025 10:54:28 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-receive-and-process-XML-data-in-a-ThingWorx-service-via/m-p/1045377#M70995</guid>
      <dc:creator>Rocko</dc:creator>
      <dc:date>2025-11-28T10:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to receive and process XML data in a ThingWorx service (via external SAP API call)?</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-receive-and-process-XML-data-in-a-ThingWorx-service-via/m-p/1045860#M71012</link>
      <description>&lt;P&gt;Hello &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/709891"&gt;@MA8731174&lt;/a&gt;&lt;/SPAN&gt; , &amp;nbsp;&lt;BR /&gt;The basic issue you have encountered. The Percent Character (ie %), is allowed in the data of the XML. The issue with passing the XML data in a URL. The allowed characters in the URL does not allow the "%" character. The data needs to be encoded so that it can be passed. The change for the % character is to replace with "&amp;amp;percent;". If you are receiving the data from an SAP Rest API it should be encoded. The receiving service will need to undo the encoding to get the original XML.&lt;BR /&gt;&lt;BR /&gt;Does this help?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;/P&gt;
&lt;P&gt;Pehowe&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2025 20:29:48 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-receive-and-process-XML-data-in-a-ThingWorx-service-via/m-p/1045860#M71012</guid>
      <dc:creator>PEHOWE</dc:creator>
      <dc:date>2025-12-02T20:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to receive and process XML data in a ThingWorx service (via external SAP API call)?</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-receive-and-process-XML-data-in-a-ThingWorx-service-via/m-p/1046119#M71018</link>
      <description>&lt;P data-start="62" data-end="72"&gt;Hi Pehowe,&lt;/P&gt;
&lt;P data-start="74" data-end="311"&gt;thank you for the explanation.&lt;BR data-start="104" data-end="107" /&gt;In my case, the XML is actually being sent &lt;STRONG data-start="150" data-end="184"&gt;in the body of the API request&lt;/STRONG&gt;, not in the URL.&lt;BR data-start="201" data-end="204" /&gt;So I just wanted to clarify that the “%” character is only part of the XML content inside the request body.&lt;/P&gt;
&lt;P data-start="313" data-end="396"&gt;Does the same encoding rule still apply when the XML is not passed through the URL?&lt;/P&gt;
&lt;P data-start="398" data-end="428"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Dec 2025 08:58:25 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-receive-and-process-XML-data-in-a-ThingWorx-service-via/m-p/1046119#M71018</guid>
      <dc:creator>MA8731174</dc:creator>
      <dc:date>2025-12-04T08:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to receive and process XML data in a ThingWorx service (via external SAP API call)?</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-receive-and-process-XML-data-in-a-ThingWorx-service-via/m-p/1046135#M71019</link>
      <description>&lt;P&gt;I have tested it with like &amp;lt;tage&amp;gt;%20&amp;gt;&amp;lt;/tage&amp;gt; as 20 is an ASCII for percentage sign and now the url works..&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;now the question is like SAP team do not want to do encoding for me and i have to handle this on my own. where i can prepare the xml data first because on thingworx its not possible to prepare the xml first and then get it. i am thinking to make a preparation of xml data from another server in a company and then send to thingworx but i am still not sure that should i request again to SAP team for it... please give me your opinion on this matter&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Dec 2025 09:57:12 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-receive-and-process-XML-data-in-a-ThingWorx-service-via/m-p/1046135#M71019</guid>
      <dc:creator>MA8731174</dc:creator>
      <dc:date>2025-12-04T09:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to receive and process XML data in a ThingWorx service (via external SAP API call)?</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-receive-and-process-XML-data-in-a-ThingWorx-service-via/m-p/1046234#M71021</link>
      <description>&lt;P&gt;Hello &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/709891"&gt;@MA8731174&lt;/a&gt;&lt;/SPAN&gt; ,&lt;BR /&gt;&lt;BR /&gt;I did a little research, I believe this is the answer you are looking for when using POSTMAN.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/ptc.response.lithium.com/RESPONSEIMAGE/e151be9a-74a4-44c3-aac1-42c8e5dd3ca0.default/image.png" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Pleases review "&lt;A href="https://learning.postman.com/docs/sending-requests/create-requests/parameters/" target="_blank"&gt;&lt;STRONG&gt;Send parameters and body data with API requests in Postman&lt;/STRONG&gt;&lt;/A&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Let me know if it answers your questions&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Regards,&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Pehowe&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Dec 2025 17:07:25 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-receive-and-process-XML-data-in-a-ThingWorx-service-via/m-p/1046234#M71021</guid>
      <dc:creator>PEHOWE</dc:creator>
      <dc:date>2025-12-04T17:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to receive and process XML data in a ThingWorx service (via external SAP API call)?</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-receive-and-process-XML-data-in-a-ThingWorx-service-via/m-p/1046600#M71031</link>
      <description>&lt;P data-start="63" data-end="77"&gt;Hello &lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/302903"&gt;@PEHOWE&lt;/a&gt;,&lt;/P&gt;
&lt;P data-start="79" data-end="236"&gt;thank you for your response and for checking this.&lt;BR data-start="129" data-end="132" /&gt;I just wanted to clarify that in my case the issue is not related to the URL parameters or URI encoding.&lt;/P&gt;
&lt;P data-start="238" data-end="288"&gt;The actual problem occurs in the &lt;STRONG data-start="271" data-end="287"&gt;request body&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P data-start="238" data-end="288"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="290" data-end="540"&gt;When I manually encode the body content (e.g., using &lt;CODE data-start="343" data-end="363"&gt;EncodeURIComponent&lt;/CODE&gt;), the request works correctly and percentage characters (&lt;CODE data-start="421" data-end="424"&gt;%&lt;/CODE&gt;) are preserved as expected.&lt;/P&gt;
&lt;P data-start="290" data-end="540"&gt;&lt;BR data-start="452" data-end="455" /&gt;However, when I send the body &lt;STRONG data-start="485" data-end="505"&gt;without encoding&lt;/STRONG&gt;, Postman throws a parsing error.&lt;/P&gt;
&lt;P data-start="542" data-end="675"&gt;So the behavior is not about URL encoding, but how Postman handles &lt;STRONG data-start="609" data-end="629"&gt;raw body content&lt;/STRONG&gt; when certain special characters are included.&lt;/P&gt;
&lt;P data-start="677" data-end="804"&gt;The &lt;CODE data-start="681" data-end="706"&gt;postParameter = content&lt;/CODE&gt; at the end of the URL is fine — the real challenge is ensuring the body is interpreted correctly.&lt;/P&gt;
&lt;P data-start="806" data-end="873"&gt;Just wanted to clarify this difference for the context of my issue. It seems like a thingworx error.&lt;/P&gt;
&lt;P data-start="875" data-end="908"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="910" data-end="926" data-is-last-node="" data-is-only-node=""&gt;Regards,&lt;BR data-start="918" data-end="921" /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Dec 2025 06:02:22 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-receive-and-process-XML-data-in-a-ThingWorx-service-via/m-p/1046600#M71031</guid>
      <dc:creator>MA8731174</dc:creator>
      <dc:date>2025-12-08T06:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to receive and process XML data in a ThingWorx service (via external SAP API call)?</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-receive-and-process-XML-data-in-a-ThingWorx-service-via/m-p/1046653#M71032</link>
      <description>&lt;P&gt;Hello &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/709891"&gt;@MA8731174&lt;/a&gt;&lt;/SPAN&gt; ,&lt;BR /&gt;&lt;BR /&gt;If you have a test case which shows this issue, I would be happy to get it reviewed.&lt;BR /&gt;It is important to have the version numbers of the application to allow validation of the issue and testing of a workaround or resolution.&lt;BR /&gt;&lt;BR /&gt;ThingWorx Version&lt;BR /&gt;POSTMAN Version&lt;BR /&gt;Server Type and Version (Linux , Windows)&lt;BR /&gt;If you can provide the POSTMAN configuration and any customization needed on ThingWorx side I will get the issue reviewed.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Regards,&lt;/P&gt;
&lt;P&gt;Pehowe&lt;/P&gt;</description>
      <pubDate>Mon, 08 Dec 2025 13:34:24 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-receive-and-process-XML-data-in-a-ThingWorx-service-via/m-p/1046653#M71032</guid>
      <dc:creator>PEHOWE</dc:creator>
      <dc:date>2025-12-08T13:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to receive and process XML data in a ThingWorx service (via external SAP API call)?</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-receive-and-process-XML-data-in-a-ThingWorx-service-via/m-p/1047162#M71038</link>
      <description>&lt;P&gt;hello&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/302903"&gt;@PEHOWE&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thingworx version 9.3.7&lt;/P&gt;
&lt;P&gt;Postman 11.75.1&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;I&gt;&lt;/I&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;server type-&amp;gt; windows&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please create a service on thingworx and choose output as xml and input param for me i call it &lt;STRONG&gt;content&lt;/STRONG&gt; is also of xml type.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;result = content&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;after that you can give a xml in service and u get output same as xml what u give in input. then you can use that service as api in post and give it content of xml and use percentage sign in it and you will not get output... please dont forget to use postParameter=content in the end of the link otherwise it does not take xml.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please test it ... i am excited to see results as i have already talked with one ptc guy and he has tried it for an hour but still could not get this error resolved...&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Dec 2025 07:15:16 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-receive-and-process-XML-data-in-a-ThingWorx-service-via/m-p/1047162#M71038</guid>
      <dc:creator>MA8731174</dc:creator>
      <dc:date>2025-12-11T07:15:16Z</dc:date>
    </item>
  </channel>
</rss>

