on 07-29-2016 4:45 PM
Hello,
I have a following requirement. I have to set the SOAP Header with a dynamic token and also send the SOAP body for a service call.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="" xmlns:urn1="" xmlns:urn2="">
<soapenv:Header>
<urn:OTAuthentication>
<!--Optional:-->
<urn:AuthenticationToken>11111233</urn:AuthenticationToken>
</urn:OTAuthentication>
</soapenv:Header>
<soapenv:Body>
<urn1:CreateURL>
<urn1:parentID>1111111</urn1:parentID>
<!--Optional:-->
<urn1:name>TrailRun_SOAPUI</urn1:name>
<!--Optional:-->
<urn1:comment>fasdasda</urn1:comment>
<!--Optional:-->
<urn1:location>\\SOAPUI</urn1:location>
<!--Optional:-->
</urn1:CreateURL>
</soapenv:Body>
</soapenv:Envelope>
When I import the WSDL I can only see the SOAP Header and SOAP Body as two separate service calls.
I need to pass both as one. Is there a way to do it ? Can I set the SOAP Header with Authentication token separately ?
Thanks,
Kiran
Hi Kiran!
You can switch off using Soap Envelop in Soap adapter settings and build your own envelope with XSL transformation, for example.
Regards, Evgeniy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kiran,
Talk to the wsdl provider ... Sometimes they provide it as separate service but there should have an parent wsdl which will call these 2 services and in PI you should import all and mapping should be done with the parent one.
Thanks,
Apu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.