Web Service issue

Web Service issue

  
Hello Outsystems Community,

I have a problem with my Outsystems application referencing the webservice in each environment.  How is this done?  In the dev env't, I just have my application consume the webservice using the webservice dev url - http://ws.dev..........?wsdl

But now I have migrated the solution to the QA env't, but the application is still referencing the Dev webservice http://ws.dev..........?wsdl url reference.

How do I get my Outsystems app to reference the http://ws.qa..........?wsdl webservice QA url???

And then....do the same for the UAT and PROD env'ts?  http://ws.uat..........?wsdl and http://ws.prod..........?wsdl
without republishing Outsystems app in each environment?

I found a [OutSystems].[dbo].[ossys_Web_Reference] system table in the Outsystems database in SQL Server Management Studio and this contained my dev webservice http://ws.dev..........?wsdl url reference in the URL field.  Do I have to write script to this table with each migration to a new environment?  If so, is this the only systems table that needs to be scripted?

Thanks,
Frank




Hi there Frank!

You don't need to republish your app in every environment to change the url of the webservice. That can be configured in Service Center.

Login in QA Service Center, for example, and go to the eSpace that has a reference to the web service, go to web references tab and there click on the respective webservice. Here you can change the effective url of it, point it to the QA version url and you're done.

Let us know if you need more help on this or in any other topic!

Cheers,
Miguel


Frank wrote:
Hello Outsystems Community,

I have a problem with my Outsystems application referencing the webservice in each environment.  How is this done?  In the dev env't, I just have my application consume the webservice using the webservice dev url - http://ws.dev..........?wsdl

But now I have migrated the solution to the QA env't, but the application is still referencing the Dev webservice http://ws.dev..........?wsdl url reference.

How do I get my Outsystems app to reference the http://ws.qa..........?wsdl webservice QA url???

And then....do the same for the UAT and PROD env'ts?  http://ws.uat..........?wsdl and http://ws.prod..........?wsdl
without republishing Outsystems app in each environment?

I found a [OutSystems].[dbo].[ossys_Web_Reference] system table in the Outsystems database in SQL Server Management Studio and this contained my dev webservice http://ws.dev..........?wsdl url reference in the URL field.  Do I have to write script to this table with each migration to a new environment?  If so, is this the only systems table that needs to be scripted?

Thanks,
Frank



 
 
 
Hi

Just one final note, in 7.0 you don't need to publish the applications after changing the effective web reference URL on Service Center as it will take effect immediately, however, in previous versions you have to publish the espace so the changes can take effect.

Cheers

Miguel Simões João
Thanks for that excellent piece of info!  Thank goodness the solution is simple.  I was worried for a little bit there.
Thanks Miguel for adding that small, but important detail.  The sys admin and I worked the change into QA, so I think I am set with webservice reference.