First, I am using Jboss 4.0.2 and rpc literal web services (soon to be document literal)
I am trying to return a two dimensional array within a complex bean and getting the following exception: 13:18:34,136 ERROR [BeanPropertyTarget] Could not convert [B to bean field 'byte ArrayArray', type [[B 13:18:34,136 ERROR [RPCInvocation] java.lang.ArrayStoreException java.lang.ArrayStoreException at org.jboss.axis.encoding.ser.BeanPropertyTarget.set(BeanPropertyTarget.java:243) at org.jboss.axis.encoding.DeserializerImpl.valueComplete(DeserializerImpl.java:305) at org.jboss.axis.encoding.DeserializerImpl.endElement(DeserializerImpl.java:590) at org.jboss.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl.java:1249) at org.jboss.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:252) at org.jboss.axis.message.SOAPElementAxisImpl.publishToHandler(SOAPElementAxisImpl.java:1390) at org.jboss.axis.message.RPCElement.deserialize(RPCElement.java:262) at org.jboss.axis.message.RPCElement.getParams(RPCElement.java:396) at org.jboss.axis.providers.java.RPCInvocation.prepareFromRequestEnvelope(RPCInvocation.java:234) at org.jboss.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:103) at org.jboss.axis.providers.java.JavaProvider.invoke(JavaProvider.java:358) at org.jboss.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:73) at org.jboss.axis.SimpleChain.doVisiting(SimpleChain.java:160) at org.jboss.axis.SimpleChain.invoke(SimpleChain.java:123) at org.jboss.axis.handlers.soap.SOAPService.invoke(SOAPService.java:560) The Complex bean contains only one element (the two dimensional array) with the appropriate gettes and setters. Are multi-dimensional arrays supported within a complex bean? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3881823#3881823 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3881823 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user