Page 1 of 1

Webervice Polygon empty

Posted: Tue Mar 17, 2015 3:06 pm
by DKula
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

Re: Webervice Polygon empty

Posted: Wed Mar 18, 2015 5:09 pm
by Bernd Welter
Hello Dennis,

I got the folloing info from our DEV department (thanks, Matthias!):
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/
Does this help?

Best regards Bernd