Hi all,
I'm trying to utilize a SOAP based Web API, using the HTTP Request action.
Unfortunately it's not possible to use the Web Services directly.
I can get the data I want by using the cURL command below - some data are redacted:
curl -X POST -H "Content-Type: text/xml" -H 'SOAPAction: "http://www.website.tld/2019/01/api/IHelloApiV1/SayHello"' --data-binary @request.xml
https://www.website.tld/website/943/api/hello/v1?wsdl --user username:password.
The contents of the request.xml file is as follows:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:api="http://www.website.tld/2019/01/api">
<soapenv:Header/>
<soapenv:Body>
<api:SayHello>
<api:name>Nicki</api:name>
</api:SayHello>
</soapenv:Body>
</soapenv:Envelope>
In Blue Prism, I have configured the HTTP Request action like this:
------------------------------
Nicki Kristensen
RPA Developer
IBC International Business College
------------------------------