You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Jian Zhang <jz...@symcor.com> on 2002/09/30 16:21:26 UTC

org.xml.sax.SAXException: No deserializer, problem

I have a soap service that has a method of signature like:

    public Folder[] logon (String configDir, String appName, String
serverName, String loginName, String passwd)  
Where Folder is a Java bean representing a file directory.


This same interface works with SoapImplementation, but when I port it to
Axis, the XML message goes from client
to server well, but then on the client side, it reports the following error
message. What have I do wrong
Please help. Thanks.



org.xml.sax.SAXException: No deserializer for
{http://www.w3.org/2001/XMLSchema}
anyType
        at
org.apache.axis.encoding.DeserializerImpl.onStartElement(Deserializer
Impl.java:446)
        at
org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerIm
pl.java:393)
        at
org.apache.axis.encoding.DeserializationContextImpl.startElement(Dese
rializationContextImpl.java:896)
        at
org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.ja
va:158)
        at
org.apache.axis.message.MessageElement.publishToHandler(MessageElemen
t.java:681)
        at
org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerIm
pl.java:369)
        at
org.apache.axis.encoding.DeserializationContextImpl.startElement(Dese
rializationContextImpl.java:896)
        at
org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.ja
va:158)
        at
org.apache.axis.message.MessageElement.publishToHandler(MessageElemen
t.java:681)
        at
org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerIm
pl.java:369)
        at
org.apache.axis.encoding.DeserializationContextImpl.startElement(Dese
rializationContextImpl.java:896)
        at
org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.ja
va:158)
        at
org.apache.axis.message.MessageElement.publishToHandler(MessageElemen
t.java:681)
        at
org.apache.axis.message.RPCElement.deserialize(RPCElement.java:244)
        at org.apache.axis.message.RPCElement.getParams(RPCElement.java:268)
        at org.apache.axis.client.Call.invoke(Call.java:1862)
        at org.apache.axis.client.Call.invoke(Call.java:1768)
        at org.apache.axis.client.Call.invoke(Call.java:1306)
        at com.symcor.od.client.soap.AxisClient.logon(AxisClient.java:52)