axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alick Buckley <>
Subject RE: Axis 1.4 WSDL2Java generated client doesnt not create soap me ssage with prefix
Date Tue, 29 Jan 2008 21:08:04 GMT
It could have something to do with the XMLSchema elementFormDefault or form
attributes in the WSDL used to generate the client code.
    form="qualified | unqualified"
    elementFormDefault="qualified | unqualified"
You might require the attribute value of "qualified"
  <schema elementFormDefault="qualified" targetNamespace=" <> " xmlns=" <> ">


-----Original Message-----
From: robin []
Sent: Wednesday, 30 January 2008 4:28 AM
Subject: Axis 1.4 WSDL2Java generated client doesnt not create soap message
with prefix


I am using WSDL2Java to generate the client.

But the SOAP Messages (body) generated by the client does not have prefix.

For e.g:

My server expects them to have prefix, i.e: <ns1:username>abc</ns1:username>

How do i turn that on?

FYI, i've seen the log and the qname being passed into the engine (encoding
serializer) is ""  (empty). 


Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try
HDtDypao8Wcj9tAcJ> it now.

View raw message