I was wondering whether we could change the WSDL Definition OutSystems creates for SOAP web services on runtime
In particular, Outsystems at the moment creates the following soapAction URL.
<wsdl:operation name="DistributePayments">
<soap:operation soapAction="http://AWD_Billing_API/Billing_WS/DistributePayments" style="document"/>
<wsdl:input>
I would like, if possible, to change it to the following soapAction URL on runtime.
<soap:operation soapAction="http://Billing_API/Billing_WS/DistributePayments" style="document"/>
Regards,
Marios
Hi Marios,
AFAIK we can not change the endpoint like this in runtime. These SOAP Actions are created by platform in below format
https://<ModuleName>/<ServiceName>/<ServiceAction>
So if you want to change the first part you have to change the module name, which is design time change.
There is similar discussion on forum which might be helpful for you
https://www.outsystems.com/forums/discussion/53831/expose-soap-change-soapaction/
I'll try the last solution of the discussion you pointed me to - redirecting the URL.
Thanks!
Hii Marios
Please refer the SOAP Web Service Documentation for the same: https://success.outsystems.com/Documentation/11/Extensibility_and_Integration/SOAP/Consuming_SOAP_Web_Services/Configure_a_SOAP_Web_Service_at_Runtime
Thanks
Dear Marios,Greetings of the dayYou can always change SOP & REST Effective URL from Service Center -> Factory -> Modules -> Integrations TabRegards,Palak Patel
Hi Palak and Manish,
What Marios asking is while exposing APIs in OutSystems application not for consuming API in OutSystems.
Your answer is correct for the second case only. While exposing APIs we can not change endpoint at runtime in service center.
Thanks @Nikhil Gaur, I got it.