I have a java service published as a JAXWS web service using @WebServiceannotation. The service is well deployed on the application server 4.2.2 (Jboss application) provided by the application server.
The service works well when the Soap message looks like this:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pref="mynamespace"> <soapenv:Header/> <soapenv:Body> <pref:mymethod> <arg0>value</arg0> </pref:mymethod> </soapenv:Body> </soapenv:Envelope>
And failed when the Soap message looks like this:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="mynamespace"> <soapenv:Header/> <soapenv:Body> <mymethod> <arg0>value</arg0> </mymethod> </soapenv:Body> </soapenv:Envelope>
By mistake, I mean that "mymethod" is called, but arg0 is null.
Does anyone know if the expected JAX-WS api behavior or error? I did not find links to one or the other.
Has anyone encountered the same problem (or success) using a different JAX-WS stack?
source share