Complex XML structure

3
I imported a WSDL with recursive elements. The modeler states: Complex XML structure. So I have to build up the XML string in a microflow. My question is: What is the begin string of my XML? POST /service.asmx HTTP/1.1 Host: example.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://example/services/addorder/OrderRequest" ?xml version="1.0" encoding="utf-8"? Or only ?xml version="1.0" encoding="utf-8"?
asked
1 answers
5

Non of two options. You are printing the debug messages from the webservice lognode from the xas. That is a lot of additional information which the xas should determine for you. The only thing you have to put in your body is just the request.
Your body should look something like this:

 <OrderRequest xmlns="http://yourTargetNamespaceUrl/">
    <Order>
      <OrderNumber>{1}</OrderNumber>
     {2}
   </Order>
</OrderRequest>

All the other xml stuff, like the encoding or the soap body and envelope will be added by the xas.

answered