Hi,
we have a crazy problem. If we call the simple webservice calculateRoute we get a result back also in polygons but the simple test if(result.getPolygon() != null) is the meaning that this object is null. We have a bigger project where we have an own webservice included where we use also CXF in version 2.7 but it seems that there are a version conflict with the used xServer client CXF version. Is there any idea how we could resolve this issue?
Many thanks in advance for any idea
Dennis
Webervice Polygon empty
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Webervice Polygon empty
Hello Dennis,
I got the folloing info from our DEV department (thanks, Matthias!):
Best regards Bernd
I got the folloing info from our DEV department (thanks, Matthias!):
Does this help?Looks like this issue is located in the third-party component we use: JAXB. In version 2.1.9 it works fine but seems to occur since version 2.1.10: An array is returned but appears to be NULL. Probably this happens with self-created CXF clients.
Potential solution: create JAX-WS clients on your own as it is described in the following blog entry: http://devblog.ptvgroup.com/2013/01/23/ ... -xservers/
Best regards Bernd