Beginner quetsion for first webservice call

Deals with generic topics such as logging, framework and so on. If you are not sure where to place your topic just put it here.
Post Reply
Daniel Seeger
Posts: 1
Joined: Thu Feb 28, 2019 5:21 pm

Beginner quetsion for first webservice call

Post by Daniel Seeger »

Hi there,
I am trying to use ptv xserver internet out of excel. For this I created a 60 days trial server. To be honest this is my first project using webservices but I tried to figure it out on my own for some hours.

I was working with the sample of the free text search for API 2.0 (https://xserver2-dashboard.cloud.ptvgro ... g%7C_____1)

My token and the connection overall is working but I allways receive the error:
{ "errorMessage" : "Server threw a WebApplicationException with status 404 and origin message: empty", "exceptionType" : "javax.ws.rs.WebApplicationException" }


the call is made via the url:
https://xlocate-eu-n-test.cloud.ptvgrou ... burg%22%7D


It would be a great help to me if you could have a look on this and help me to overcome my starting problems.

Thank you
Daniel Seeger
User avatar
Bernd Welter
Site Admin
Posts: 2564
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: Beginner quetsion for first webservice call

Post by Bernd Welter »

Hello Daniel,

welcome on board of the xServers!

A first very important hint is here: you refer to two different APIs:

The first statement deals with xServer2.
The call is then sent to xServer1.

I'll give you a call to get a quick "hello" ;-)

C u,
Bernd
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany

Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning... :twisted:
User avatar
Bernd Welter
Site Admin
Posts: 2564
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: Beginner quetsion for first webservice call

Post by Bernd Welter »

Just some example URLs for the xServer2 REST calls: Complete documentation of the REST features is available at
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany

Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning... :twisted:
Post Reply