PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → [WB22] Multiple Webservices TEST and LIVE on same server ?
[WB22] Multiple Webservices TEST and LIVE on same server ?
Débuté par Danny Lauwers, 13 oct. 2017 10:00 - Aucune réponse
Posté le 13 octobre 2017 - 10:00
Hi,

I am on WB 22 and for the website I use 2 different deployments profiles that result in a TEST and LIVE version. On IIS these are also 2 different virtual directories so I also have a Test URL and a LIVE URL.

Now I want to extent this website with some REST webservice. So I used the new v22 Rest Webservice Descriptions to build a REST Webservice. On development, this works fine. (Only 1 URL path)

It also works when deployed on the LIVE website, but I cannot find a way to access the 2 different deployed webservices.

When I look in the folders of my WAS, I can see the 2 different folders under
RESTWebservices
MY_WS
MY_WS_TEST

So deployment is OK

But to access the WS, WebDev is suggesting https://Mysite/WSFunction1
When I use this URL https://MySite/MY_WS_TEST/WSFunction1 this does not work !!

Under WebDev administrator, I can see the 2 different webservices. When pressing the "Test" button, I get the URL https://Mysite/WSFunction1 for both the webservices !!

How can I make a difference between them ?
These Webservices do not appear in IIS ? How are they mapped ?

I want do access my
LIVE WS via URL = https://Mysite/WSFunction1
TEST WS via URL = https://MySite/MY_WS_TEST/WSFunction1

Any idea's on what to change/configure ?

Thanks
Danny