Reuse SOAP Webservice structures

Reuse SOAP Webservice structures

  

Hi,

I'm consuming SOAP web-services. 

The structures are identical, the one will connect to a QA environment and the other to a PROD environment (Different URLs).   

When I consume the services, Service Studio automatically duplicates the structures.

How do I reuse the structures for the 2 web-services?

Solution

Hi Johanvr,

If you want to call the same webservice and the only thing that changes between them is the URL, please consider to use the SetWebReferenceURL.

That way you can change dinamically the  web reference URL from QA to PROD, this way you only need to consume one webservice and you will have always one structures.

Hope it helps you.

Best regards.

Daniel Martins

Solution

Thank you, Daniel

Looks like it's working!