cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

Fetch Rich Text using SoapUI

nmehta-2
1-Newbie

Fetch Rich Text using SoapUI

Hello,

I am trying to fetch rich text from Intergrity 10 server using soap request. Currently, I have a SoapUI code to fetch text from an ID which is in a table. The response is get back is simple text, without any format.

Here is the example SoapUI code which returns simple text response:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:int="http://webservice.mks.com/10/Integrity" xmlns:sch="http://webservice.mks.com/10/Integrity/schema">

   <soapenv:Header/>

   <soapenv:Body>

      <int:getItem>

         <arg0 sch:ItemId="123456">

            <sch:InputField>Text</sch:InputField>

            <sch:Username>username</sch:Username>

            <sch:Password>password</sch:Password>

         </arg0>

      </int:getItem>

   </soapenv:Body>

</soapenv:Envelope>

How can I get a rich text response? Please suggest!

1 REPLY 1

Hello Nirav Mehta

Just add ":0:rich" to the InputFields.

For example "Text:0:rich". Most of the CLI interfrace "tricks" works with the webservice aswell.

Regards,

Viktor

Top Tags