Explore Courses Blog Tutorials Interview Questions
0 votes
in RPA by (5.3k points)

I created a process and made it visible as a webservice. The WSDL is visible when going to the URL.http://localhost:myPort/ws/CalcP?wsdl

<wsdl:definitions xmlns:tm="" xmlns:soapenc="" xmlns:mime="" xmlns:tns="urn:blueprism:webservice:calcp" xmlns:soap="" xmlns:s="" xmlns:soap12="" xmlns:http="" xmlns:wsdl="" name="CalcPService" targetNamespace="urn:blueprism:webservice:calcp"> <wsdl:types> <s:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="urn:blueprism:webservice:calcp"/> </wsdl:types> <wsdl:message name="CalcPRequest"/> <wsdl:message name="CalcPResponse"/> <wsdl:portType name="CalcPPortType"> <wsdl:operation name="CalcP"> <wsdl:input message="tns:CalcPRequest"/> <wsdl:output message="tns:CalcPResponse"/> </wsdl:operation> </wsdl:portType> <wsdl:binding name="CalcPSoapBinding" type="tns:CalcPPortType"> <soap:binding transport=""/> <wsdl:operation name="CalcP"> <soap:operation soapAction="" style="rpc"/> <wsdl:input> <soap:body use="encoded" namespace="urn:blueprism:webservice:calcp" encodingStyle=""/> </wsdl:input> <wsdl:output> <soap:body use="encoded" namespace="urn:blueprism:webservice:calcp" encodingStyle=""/> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:service name="CalcPService"> <wsdl:port name="CalcPSoap" binding="tns:CalcPSoapBinding"> <soap:address location="http://localhost:myPort/ws/CalcP"/> </wsdl:port> </wsdl:service> </wsdl:definitions>

The operation method is called:

<wsdl:operation name="CalcP">...</wsdl:operation>

However triggering the service using a URL path does not seem to work:http://localhost:myPort/ws/CalcP/CalcP Message: A ws GET request must be for the WSDL

1 Answer

0 votes
by (12.7k points)

The SOAP APIs that Blue Prism generates will only respond to the POST requests. The only GET request it responds to (as you've seen in your error text) is that for the WSDL download.

Use a utility like the SoapUI to generate the sample Requests based on the WSDL provided and test them over POST.

Interested in RPA ? Check out this RPA Certification by Intellipaat.

For more information visit :

Browse Categories