27
Views
4
Comments
Web Service issue
Question
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 - https://ws.dev..........?wsdl

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

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

And then....do the same for the UAT and PROD env'ts?  https://ws.uat..........?wsdl and https://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 https://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




2023-03-30 10-13-40
Miguel Antunes
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 - https://ws.dev..........?wsdl

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

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

And then....do the same for the UAT and PROD env'ts?  https://ws.uat..........?wsdl and https://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 https://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



 
 
 
2018-05-03 15-19-41
Miguel João
Staff
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
UserImage.jpg
Frank
Thanks for that excellent piece of info!  Thank goodness the solution is simple.  I was worried for a little bit there.
UserImage.jpg
Frank
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.
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.