Change WSDL created by Outsystems on runtime
Application Type
Traditional Web
Service Studio Version
11.10.20 (Build 41467)
Platform Version
11.0.606.0

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.

<wsdl:operation name="DistributePayments">

<soap:operation soapAction="http://Billing_API/Billing_WS/DistributePayments" style="document"/>

<wsdl:input>


Regards,


Marios





mvp_badge
MVP
Solution

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!

Marios

Dear Marios,
Greetings of the day

You can always change SOP & REST Effective URL from Service Center  -> Factory -> Modules -> Integrations Tab

Regards,
Palak Patel 

mvp_badge
MVP

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.

Champion

Thanks @Nikhil Gaur, I got it. 

mvp_badge
MVP
Solution

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!

Marios

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.