Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Pass XML to LC process via SOAP

Jan_Babicky
Level 3
Level 3

Hi,

I need to solve following issue, I have a process variable of type XML and I need to pass simple XML structure to it via SOAP.

The problem is that I dont know which of the two (bold) elements should I fill in and how with the simple XML structure.

The simple XML can look like this:

<list>

     <user>Frank</user>

     <user>Thomas</user>

</list>

and the SOAP request I have looks like this:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://adobe.com/idp/services">
   <soapenv:Header/>
   <soapenv:Body>
      <ser:invoke>
         <ser:doc_name>smlouva.txt</ser:doc_name>
         <ser:id_dms>123abc</ser:id_dms>
         <ser:id_proxio>23</ser:id_proxio>
         <ser:in_document>
            <ser:binaryData>cid:1110430707848</ser:binaryData>
         </ser:in_document>
         <ser:user_id>jnovak</ser:user_id>
         <ser:user_list>
            <ser:document/>

            <ser:element/>
         </ser:user_list>
         <ser:wf_type>pr1</ser:wf_type>
      </ser:invoke>
   </soapenv:Body>
</soapenv:Envelope>

Any ideas are appresiated. I tried the CDATA, but obviuosly I did it wrong..

Thanks a lot

J.

2 Replies
Jan_Babicky
Level 3
Level 3

Passing CDATA into the document element does it.

...

<ser:user_list>
            <ser:document>

                 <![CDATA[

                      <list>

                           <item>Item 1</item>

                           <item>Item 2</item>

                           <item>Item 3</item>

                      </list>

                 ]]>

            </ser:document>

</ser:user_list>

...

J.