java - JAX-WS client with AXIS server; missing namespace in response -


I'm having problems related to JAX-WS and axis Clients, as Axis (1.4.x) servers, WS (2.1.7).

Everything works fine, but the answer can not be read Java.

Feedback:

  & lt ;? XML version = "1.0" encoding = "UTF-8"? & Gt; & Lt; Soapenv: envelope xmlns: soapnavi = "http://schemas.xmlsoap.org/soap/envelope/" xmlns: xsd = "http://www.w3.org/2001/XMLSchema" xmlns: xsi = "http: / /www.w3.org/2001/XMLSchema-instance "& gt; & Lt; Soapenv: body & gt; & Lt; Ns1: myserviceResponse soapenv: encoding style = "http://schemas.xmlsoap.org/soap/encoding/" xmlns: ns1 = "http: // my / service" & gt; & Lt; Ns1: myserviceReturn xsi: type = "xsd: string" & gt; Liability & lt; / Ns1: myserviceReturn & gt; & Lt; / Ns1 also: myserviceResponse & gt; & Lt; / Soapenv: Body & gt; & Lt; / Soapenv: envelope & gt;  

The problem is that if the ns1: -Namespace declaration has been removed from myserviceReturn , then JAX-WS Also is able to return zero to zero

Does anyone have a clue that how the JADS-WS ignores namespace, "NS1" for this type of problem, or SOAP response manually to exclude other ideas How to modify?

You must type a custom WSDL file that does not contain a namespace This file goes to the META-INF directory . You can start with the app that is in your app, then save it from here.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -