Hi,
I am able to create the following SOAP body using pub.xml:documentToXMLString, pub.xml:xmlStringToXMLNode and pub.soap.utils:addBodyEntry:
SOAP-ENV:Body
<tns1:Get xmlns:tns1=“uri:webservice.subscribenet.intraware.com” xmlns:snet=“uri:subscribenet.intraware.com”>
tns1:SubscribeNetObjectReference
snet:ID123</snet:ID>
</tns1:SubscribeNetObjectReference>
</tns1:Get></SOAP-ENV:Body>
How do I add the xsi:type=“ns2:AccountReference” attribute to the tns1:SubscribenetObjectReference node. Ultimately, I need the SOAP body to be:
SOAP-ENV:Body
<tns1:Get xmlns:tns1=“uri:webservice.subscribenet.intraware.com” xmlns:snet=“uri:subscribenet.intraware.com”>
<tns1:SubscribeNetObjectReference xsi:type=“ns2:AccountReference”>
snet:ID123</snet:ID>
</tns1:SubscribeNetObjectReference>
</tns1:Get></SOAP-ENV:Body>
How can I accomplish this? thanks in advance for any insight.
#webMethods#API-Management#soa