Hi,
 
We have been testing using the Sun saaj 1.2.2 client and Axis 1.3 saaj client (from jwsdp-1.6) without using the wsdl file.
The Sun saaj client version behaves correctly -- in that it does not produce the xmlns="" in the xml send request.
However, the Axis saaj client version, does produce the xmlns="" in the xml send request.
 
The Webserver complains about the xmlns="" in the soap send requests.
 
I understand we should have created the wsdl file, but we are not in a position to go back.
 
We prefer the Axis 1.3 client over the Sun saaj 1.2.2 client, because Sun saaj client does not have the timeout feature implemented.  However, the Axis 1.3 client does timeout beautifully and there are no issues except for the xmlns="".
 
I also have noted from the axis-user forums that to fix the problem, add elementFormDefault="qualified" to
your schema.  But we don't have the wsdl file
.

 
note:  we have got it work by changing the org.apache.axis.encoding.SerializationContext class, method startElement to check for the length of  (map.getNamespaceURI().length() > 0) before writing out the xmlns. 
see link below for additional information. 
 
 
Obviously this is not our preferred option.  Can someone please help.
 
Regards,
Mark
 
 
 
 
 
 

Reply via email to