Skip to main content

Null object on client despite the XML response from WebService

No replies
Joined: 2013-09-11
Points: 0

Hello Everybody,

I need your help.
The version used is JAX-WS RI 2.2.6b21 / SOAP 1.2

I am developing a WS client to connect a WebService server made by a vendor.
I am able to send the next XML request :

<?xml version='1.0' encoding='UTF-8'?>
<S:Envelope xmlns:S="">
<ns2:executeAbout xmlns:ns2="">

and below the XML response form WebService server :
<soapenv:Envelope xmlns:soapenv="" xmlns="">
<executeAboutResponse xmlns="">
<AboutResponse success="true">

But unfortunatly, the JAVA object response is null and no java exception is raised :

AboutType aboutType = new AboutType();
AboutResponseType aboutResponse = myProxy.executeAbout(aboutType);

What I understood by searching on internet, it's a namespace issue in the reponse.
But where is the issue and how to fix it ?

Thanks a lot for your help, I'm out of idea.