axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Platta <cpla...@upb.de>
Subject setEncoding question
Date Fri, 01 Sep 2006 18:45:31 GMT
Hi,
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:// 
schemas.xmlsoap.org/soap/encoding/)

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?

Regards

Christian

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message