on 03-06-2008 7:24 PM
Hi,
Is there a way to put an XML payload into one field?
Our scenario is the following:
XI receives a request and is then sent to a 3rd party web service using SOAP adapter. The web service expects the XML payload to be put into the field, strRequest.
In the example below the XML payload,
"<ns0:Request xmlns:ns0="XXXXXX"> <name>John</name></ns0:Request>"
would go into the field, strRequest.
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<Request xmlns="http://XXXXXX">
<strRequest>
"<ns0:Request xmlns:ns0="XXXXXX"> <name>John</name></ns0:Request>"
</strRequest>
<strID>string</strID>
</Request>
</soap:Body>
</soap:Envelope>
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In addition to the suggestion provided above, u may perform java mapping and using DOM parsing achieve this requirement
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.