xServer Internet 2 URLs

Proper forum for all questions related to xServer INTERNET = the Azure based cloud solution. This forum deals with the architecture topics such as load balancing, available profiles and standard server settings.
Please be aware that questions about core functionality such as routing, mapping, geocoding in general should be placed in the xServers dedicated forum ;-)

xServer Internet 2 URLs

Postby Gerhard » Thu Jul 13, 2017 2:58 pm

I would like to give the xLocation component of the xServer Internet 2 a try. Therefore I tried the following JavaScript/jQuery code:

javascript code
$.ajax({
url: 'https://xserver2-europe-eu-test.cloud.ptvgroup.com/services/rest/XLocate/2.4/locations/Berlin',
type: 'GET',
cache: false,
timeout: 5000,
beforeSend: function (xhr) { xhr.setRequestHeader('Authorization', 'Basic ' + btoa('xtok:TOKEN')); },
success: function(result) { console.log(result); },
error: function(result) { console.log(result); },
});

Is it necessary to have the specific version 2.4 in the URL or is there also a possibility to have something like "latest v2"?

And is the domain xserver2-europe-eu-test.cloud.ptvgroup.com the correct way to go? I'm somehow confused by the "test" in the URL. Could you also tell me the correct URL for North America? (We have been using https://svc-eu-n.cloud.ptvgroup.com/ (Europe) and https://svc-na-n.cloud.ptvgroup.com/ (North America) for xServer Internet 1)
Gerhard
 
Posts: 10
Joined: Thu Aug 11, 2016 6:41 pm

Re: xServer Internet 2 URLs

Postby Asterix » Fri Jul 14, 2017 7:35 am

Hello Gerhard,

You can approach the xServer 2 modules by various different levels:
  • The latest version
  • The numbered version
  • The experimental version
endpoints.PNG
List of the endpoints at https://xserver2-europe-eu-test.cloud.ptvgroup.com/dashboard/Default.htm#Administration/Services.htm%3FTocPath%3DAdministration%7C_____5

So in the screenshot you can see the potential destination for geocoding on latest version:
https://xserver2-europe-eu-test.cloud.p ... cate?_wadl

Happy with that?

About the availability of xServer2 in combination with the US map (or other maps than europe):
This is a strategic question. I'll forward it to product management and ask them for an answer.

Best regards
Bernd Welter
Bernd Welter
Manager Technical Consulting & Requirement Engineering
Senior Technical Consultant Developer Components
PTV GROUP - Germany

https://www.youtube.com/channel/UCgkUli9yGf0gwTDdxbMZ-Kg
User avatar
Asterix
Site Admin
 
Posts: 803
Joined: Mon Apr 14, 2014 10:28 am

Re: xServer Internet 2 URLs

Postby Gerhard » Sat Jul 15, 2017 9:38 am

Hi Bernd,

great, thank you!

Gerhard
Gerhard
 
Posts: 10
Joined: Thu Aug 11, 2016 6:41 pm


Return to PTV xServer INTERNET (Admin=OH,SM)