Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
1
Erster Beitrag:
vor 4 Monaten, 1 Woche
Beteiligte Autoren:
Danny Lauwers

[WB22] Multiple Webservices TEST and LIVE on same server ?

Startbeitrag von Danny Lauwers am 13.10.2017 07:42

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

Antworten:

Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.