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 Max Reider <th...@hotmail.com> on 2002/12/01 01:23:11 UTC
Re: mixing soap encoded and literal parameters?
Anyone solve the problem described in this message posted to the list?
I'm finding myself in a spot similar to what's described below, needing to
create/adapt a deserializer for a type that contains child elements. In my
case, the nesting goes one-deep, and the type and its child type are
JavaBeans.
--------------------------------------------------------------
From: Heiko Braun
Subject: SimpleDeserializer fails
Date: Fri, 11 Oct 2002 07:21:28 -0700
Hi i am trying to desieralize a complex type on the client side. All files
generated from wsdl. Although the responding soap env looks alright, i get
the following exception.
AxisFault
faultCode: {http://xml.apache.org/axis/}Server.userException
faultString: org.xml.sax.SAXException: SimpleDeserializer encountered a
child element, which is NOT expected, in something it was trying to
deserialize.
faultActor: null
faultDetail:
stackTrace: org.xml.sax.SAXException: SimpleDeserializer encountered
a child element, which is NOT expected, in something it was trying to
deserialize.
at
org.apache.axis.encoding.ser.SimpleDeserializer.onStartChild(SimpleDeserializer.java:188)
at
org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:893)
at
org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:200)
at
org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:684)
at
org.apache.axis.message.RPCElement.deserialize(RPCElement.java:241)
at org.apache.axis.message.RPCElement.getParams(RPCElement.java:265)
at org.apache.axis.client.Call.invoke(Call.java:1871)
Has someone encountered similiar problems?
Any thoughts or suggestions appreciated,
Heiko
_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail