Hi all,
I've been trying to use the DynamicInvoker example from Axis 1.2beta on the following WSDL file :
http://www28.brinkster.com/hegdes/NumberToWords.asmx?WSDL
I end up with that error :
Exception in thread "main" AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: org.xml.sax.SAXParseException: The content of elements must consist of well-formed character data or markup.
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXParseException:
The content of elements must consist of well-formed character data or markup.
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:218)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:568)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:427)
at org.apache.axis.Message.getContentType(Message.java:484)
at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:307)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:87)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:144)
at org.apache.axis.client.Call.invokeEngine(Call.java:2688)
at org.apache.axis.client.Call.invoke(Call.java:2671)
at org.apache.axis.client.Call.invoke(Call.java:2357)
at org.apache.axis.client.Call.invoke(Call.java:2280)
at org.apache.axis.client.Call.invoke(Call.java:1741)
at samples.client.DynamicInvoker.invokeMethod(DynamicInvoker.java:273)
at samples.client.DynamicInvoker.main(DynamicInvoker.java:148)
It seems to happen with any .NET service i try to access (using wrapped document literal style). On the other hand I doesn't experience the problem when using axis 1.1... Does anyone has a solution for that ? Is it a bug ?
Thanks !