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 "Ebert, Chris" <ch...@hp.com> on 2005/05/18 01:15:48 UTC

ArrayStoreException happens using Axis 1.2, not with Axis 1.2rc3 using an Axis 1.1 client

Hello,

I've encountered some behavior that doesn't make sense to me: I'm
wondering if it's a bug or something I'm doing wrong. I'm using Axis 1.2
on my server and 1.1 for the client: choices beyond my control at this
point. I'm building my wsdl from java files with Axis 1.2 and then
generating the client java stubs from the wsdl using Axis 1.1. When I
use 1.2rc3, it all works. When I switch to the 'release' version, it
stops working and gives me:

AxisFault
 faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode: 
 faultString: java.lang.ArrayStoreException:
org.apache.axis.encoding.ser.ArrayDeserializer$ArrayListExtension
 faultActor: 
 faultNode: 
 faultDetail: {http://xml.apache.org/axis/}hostname: chris-mob

(With a nice exception trace).

Using TCPMonitor from axis 1.2, I see differences in the XML coming in
-- see attached files WorkingSOAP.xml and BustedSOAP.xml. I've also
attached the two generated wsdl files, shareurl.wsdl and
bustedshareurl.wsdl. Is this actually broken, or am I trying to do
something that was never expected to work (by anyone but me?) Is there
some configuration or documentation I missed? 

Thanks,
Chris