I have some raw XML that I would like to send to a web service. This one transaction authenticates a user/password and requests product availability. When I use SOAP UI and make the raw XML request it works fine.
In the past I’ve used Webspeed/ABL and the SAX writer to format the XML. I would connect, login and call different web service methods. How do I transmit the following raw XML using Webspeed/ABL.:
In the past I’ve used Webspeed/ABL and the SAX writer to format the XML. I would connect, login and call different web service methods. How do I transmit the following raw XML using Webspeed/ABL.:
Code:
<code>
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="[URL]http://schemas.xmlsoap.org/soap/envelope/[/URL]" xmlns:prod="[URL]http://wsdl.xxx.com/ProductAvailabilityInterface[/URL]" xmlns:us="[URL]http://www.xxx.com/oagis/0[/URL]" xmlns:eek:a="[URL]http://www.openapplications.org/oagis/9[/URL]">
<soapenv:Header>
<wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="[URL]http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd[/URL]">
<wsse:UsernameToken wsu:Id="UsernameToken-21985926" xmlns:wsu="[URL]http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd[/URL]">
<wsse:Username>xxx</wsse:Username>
<wsse:password Type="yyyyhttp://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">yyyy</wsse:password>
</wsse:UsernameToken>
</wsse:Security>
</soapenv:Header>
<soapenv:Body>
<prod:getProductAvailability>
<GetProductAvailability releaseID="1.0">
<us:DataArea>
<us:productAvailability>
<us:Item>
<oa:ItemID>
<oa:ID>UNV10200</oa:ID>
</oa:ItemID>
</us:Item>
</us:productAvailability>
</us:DataArea>
</GetProductAvailability>
</prod:getProductAvailability>
</soapenv:Body>
</soapenv:Envelope>
</code>
Last edited by a moderator: