Well, I've got my custom classes working after a fashion (with some namespace issues
that may not be resolvable). See posting: Custom class with Jboss.net
Now, I would like to make an extension of these methods that return arrays of the
custom objects. When I run the methods, the Axis engine creates the Soap envelope
just fine, but on the client side, I get the error listed below. It seems a little
odd to me that client would need a deserializer for the array as well as the complex
type, since the complex type already has a serializer, but I am new to this game, and
still learning the ropes
Any suggestions?
{http://xml.apache.org/axis/}stackTrace: org.xml.sax.SAXException: No
deserializer defined f
| or array type {http://cvs.east.frontiercorp.com/cert}NpaNxxTest
| at
org.apache.axis.encoding.ser.ArrayDeserializer.onStartElement(ArrayDeserializer.java:304)
|
| at
org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:428)
| at
org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextIm
| pl.java:976)
| at
org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:198)
| at
org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:722)
| at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:233)
| at org.apache.axis.message.RPCElement.getParams(RPCElement.java:347)
| at org.apache.axis.client.Call.invoke(Call.java:2272)
| at org.apache.axis.client.Call.invoke(Call.java:2171)
| at testNpaNxxObject.main(testNpaNxxObject.java:50)
|
|
| org.xml.sax.SAXException: No deserializer defined for array type
{http://cvs.east.frontiercorp.com/c
| ert}NpaNxxTest
| at org.apache.axis.AxisFault.makeFault(AxisFault.java:129)
| at org.apache.axis.client.Call.invoke(Call.java:2275)
| at org.apache.axis.client.Call.invoke(Call.java:2171)
| at testNpaNxxObject.main(testNpaNxxObject.java:50)
| Caused by: org.xml.sax.SAXException: No deserializer defined for array type
{http://cvs.east.frontie
| rcorp.com/cert}NpaNxxTest
| at
org.apache.axis.encoding.ser.ArrayDeserializer.onStartElement(ArrayDeserializer.java:304)
|
| at
org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:428)
| at
org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextIm
| pl.java:976)
| at
org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:198)
| at
org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:722)
| at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:233)
| at org.apache.axis.message.RPCElement.getParams(RPCElement.java:347)
| at org.apache.axis.client.Call.invoke(Call.java:2272)
| ... 2 more
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823352#3823352
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823352
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development