Hi,
From this morning we have problems with Api Tiles.
Any urls respond:
{ "message" : "Server threw a WebApplicationException with status 404 and origin message: HTTP 404 Not Found", "faultType" : "javax.ws.rs.ClientErrorException" }
Can you help us?
Thanks
Api Tiles - Error WebApplicationException
Re: Api Tiles - Error WebApplicationException
Hi Antonio,
do you already use the new URL, I mentioned in your last post?
Leaflet tile Layer example:
If this don't help you, please post your request URL, that we can figure out whats wrong.
Regards
Marco
do you already use the new URL, I mentioned in your last post?
Further there was some API changes the last days (some path parameters are request parameters now), see API doc:xserver2-europe-eu-test.cloud.ptvgroup.com
Please have a look to this comparison.
Code: Select all
OLD:
/services/rest/XMap/tile/{z}/{x}/{y}/{storedProfile}/{imageFormat}/{size}?xtok={yourToken}
NEW:
/services/rest/XMap/tile/{zoomLevel}/{x}/{y}?storedProfile={storedProfile}&layers={layers}&contentType={contentType}&imageFormat={imageFormat}&size={size}&xtok={yourToken}
Code: Select all
var basemapLayer = L.tileLayer(
'https://s0{s}-xserver2-europe-test.cloud.ptvgroup.com/services/rest/XMap/tile/{z}/{x}/{y}/' +
'?storedProfile={profile}&layers=background,transport&contentType=image&imageFormat=png&xtok={token}',
{
profile: 'silkysand',
token: window.token,
attribution: '<a target="_blank" href="http://www.ptvgroup.com">PTV</a>, TOMTOM',
subdomains: '1234',
maxZoom: 22,
pane: 'tilePane'
}).addTo(map);
Regards
Marco
-
- Posts: 7
- Joined: Mon May 30, 2016 11:22 am
Re: Api Tiles - Error WebApplicationException
This is how it works with the latest API changes
https://xserver2-europe-eu-test.cloud.p ... xxxxxxxxxx
-
- Posts: 7
- Joined: Mon May 30, 2016 11:22 am
Re: Api Tiles - Error WebApplicationException
hi
How can I keep up with the changes?
I'm not notified for the changes.
Thanks
How can I keep up with the changes?
I'm not notified for the changes.
Thanks
Re: Api Tiles - Error WebApplicationException
Hi,
we are aware this was a breaking change. There was no announcement, because the service is still in test phase. We know breaking changes causes problems for our customers and be sure, there are no upcoming incompatible changes planned. If there is any in future, you will get informed timely over customer service as E-Mail, like you know it from our xServer 1.x clusters.
After the tile service goes productive, we will provide a test/integration cluster too, that you have enough time to migrate new features without any problems on productive services.
Thank you for using PTV xServer, regards
Marco
we are aware this was a breaking change. There was no announcement, because the service is still in test phase. We know breaking changes causes problems for our customers and be sure, there are no upcoming incompatible changes planned. If there is any in future, you will get informed timely over customer service as E-Mail, like you know it from our xServer 1.x clusters.
After the tile service goes productive, we will provide a test/integration cluster too, that you have enough time to migrate new features without any problems on productive services.
Thank you for using PTV xServer, regards
Marco
-
- Posts: 7
- Joined: Mon May 30, 2016 11:22 am
Re: Api Tiles - Error WebApplicationException
Hi,
Today, we are see error in Url from tiles.
For example:
https://xserver2-europe-eu-test.cloud.p ... tok=xxxxxx
https://xserver2-europe-eu-test.cloud.p ... tok=xxxxxx
This urls respond "No service was found."
Can you help us?
thanks
Today, we are see error in Url from tiles.
For example:
https://xserver2-europe-eu-test.cloud.p ... tok=xxxxxx
https://xserver2-europe-eu-test.cloud.p ... tok=xxxxxx
This urls respond "No service was found."
Can you help us?
thanks
Re: Api Tiles - Error WebApplicationException
Hi,
the problem is solved, please try it again (clear your cache). This morning we start an maintenance with various internal changes.
Please note, the tile Service is still in testing phase with high frequently update rhythm. There is no SLA. We try, but can not guarantee, the service is online all the time.
If you need high availability like you know it from the xServer 1.x clusters, please look forward to our upcoming productive system.
Regards
Marco
the problem is solved, please try it again (clear your cache). This morning we start an maintenance with various internal changes.
Please note, the tile Service is still in testing phase with high frequently update rhythm. There is no SLA. We try, but can not guarantee, the service is online all the time.
If you need high availability like you know it from the xServer 1.x clusters, please look forward to our upcoming productive system.
Regards
Marco