I want to send a XML based HTTP Request via SOAP to a web server.
Can I do this in Jmp?
Haven't used SOAP but isn't it basically sending XML? Might have to tinker a bit with headers but this seemed to work
Names Default To Here(1); request = New HTTP Request( URL("https://www.dataaccess.com/webservicesserver/NumberConversion.wso"), Method("POST"), Headers({"Content-Type: text/xml; charset=utf-8"}), Text( "\[<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <NumberToWords xmlns="http://www.dataaccess.com/webservicesserver/"> <ubiNum>500</ubiNum> </NumberToWords> </soap:Body> </soap:Envelope>]\" ) ); data = request << Send; Open(Char To Blob(data), "xml");
https://documenter.getpostman.com/view/8854915/Szf26WHn https://www.dataaccess.com/webservicesserver/NumberConversion.wso
Thanks @jthi wonderful
New HTTP Request( Text () ??
It is too often that I stop here ...
What to do instead:
or even:
Using XML didn't work for me when using that endpoint so I did use Text and then modified headers to get it working.