axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Platta <>
Subject setEncoding question
Date Fri, 01 Sep 2006 18:45:31 GMT
I have the following:
Axis 1.3
A document literal (wrapped) service that I want to use
A client generated with WSDL2Java

My problem:

When I try to deserialize a response I get an exception that says  
that no deserializer is found for string (namepsace http://

This problem is caused by the setEncoding(null) method that is  
automatically generated by the WSDL2Java utility.
When I change it to call setEncoding 
(org.apache.axis.Constants.URI_SOAP11_ENC) on the Call object,  
everything works fine.

My question is now:
Can I generate a stub that contains setEncoding 
(org.apache.axis.Constants.URI_SOAP11_ENC) automatically?
Can it be that this is an error of the web service? Why do I need a  
SOAP encoding attribute for a document/literal service?



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message