cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

How can I hardcode Endpoint in SOAP Execute Snap?

aditya_gupta41
Contributor

Is there any way by which I can achieve passing hardcoded endpoint value to SOAP Execute?
Or in other way, can i pass hardcoded values of Request properties?

3 REPLIES 3

bojanvelevski
Valued Contributor

Sorry, I misunderstood the request.

@aditya.gupta41,

I believe you can achieve this by editing the service endpoint in the WSDL file. This may require downloading a copy of the WSDL, edit the endpoint in the file, then store it in a location the SOAP Execute snap can access - such as SLDB or local system.

Optionally, you may can send your SOAP XML payload using REST POST - which allows setting the endpoint in the snap configuration. But this option can be tedious, having to build the XML first, and defeats the benefits that the SOAP Execute provides.

aditya_gupta41
Contributor

Rather than hardcoding the endpoint, I converted SOAP request in REST API, and provided Content-Type as application/soap+xml. This worked for me.