DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12873>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12873

Axis clients don’t set xsi:type attribute when marshalling arrays of java.lang.Objects.





------- Additional Comments From [EMAIL PROTECTED]  2002-09-23 15:00 -------
I just tried it with last night's build, and you’re right that it now sends the 
xsi:type information.  The .NET server is now perfectly happy with the 
request.  But the Axis client is not happy with the reply!  It throws the 
following exception trying to parse the reply.  Maybe the Axis client doesn’t 
like having xsi:type in the reply?

Should I log a new bug or just attach the tcpmon dump of the new request/reply?


- Exception:
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:896)
        at org.apache.axis.message.SAX2EventRecorder.replay
(SAX2EventRecorder.java:200)
        at org.apache.axis.message.MessageElement.publishToHandler
(MessageElement.java:678)
        at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:243)
        at org.apache.axis.message.RPCElement.getParams(RPCElement.java:267)
        at org.apache.axis.client.Call.invoke(Call.java:1863)
        at org.apache.axis.client.Call.invoke(Call.java:1769)
        at org.apache.axis.client.Call.invoke(Call.java:1307)
        at org.tempuri.Service1SoapStub.test(Service1SoapStub.java:166)
        at Client.doIt(Client.java:45)
        at Client.main(Client.java:12)
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:896)
        at org.apache.axis.message.SAX2EventRecorder.replay
(SAX2EventRecorder.java:200)
        at org.apache.axis.message.MessageElement.publishToHandler
(MessageElement.java:678)
        at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:243)
        at org.apache.axis.message.RPCElement.getParams(RPCElement.java:267)
        at org.apache.axis.client.Call.invoke(Call.java:1863)
        at org.apache.axis.client.Call.invoke(Call.java:1769)
        at org.apache.axis.client.Call.invoke(Call.java:1307)
        at org.tempuri.Service1SoapStub.test(Service1SoapStub.java:166)
        at Client.doIt(Client.java:45)
        at Client.main(Client.java:12)


org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which 
is NOT expected, in something it was trying to deserialize.
        at org.apache.axis.AxisFault.makeFault(AxisFault.java:120)
        at org.apache.axis.client.Call.invoke(Call.java:1866)
        at org.apache.axis.client.Call.invoke(Call.java:1769)
        at org.apache.axis.client.Call.invoke(Call.java:1307)
        at org.tempuri.Service1SoapStub.test(Service1SoapStub.java:166)
        at Client.doIt(Client.java:45)
        at Client.main(Client.java:12)
Caused by: 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:896)
        at org.apache.axis.message.SAX2EventRecorder.replay
(SAX2EventRecorder.java:200)
        at org.apache.axis.message.MessageElement.publishToHandler
(MessageElement.java:678)
        at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:243)
        at org.apache.axis.message.RPCElement.getParams(RPCElement.java:267)
        at org.apache.axis.client.Call.invoke(Call.java:1863)
        ... 5 more
Exception in thread "main"

Reply via email to