axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glen Daniels <g...@thoughtcraft.com>
Subject RE: [jira] Commented: (AXIS-1838) Array deserialization
Date Fri, 15 Apr 2005 15:20:44 GMT

Hi Guillaume:

So the first weird thing I notice about your test is that you're combining literal arrays
and SOAP arrays - do you need to be doing
that?  That's going to be somewhat challenging to account for because right now we trigger
some stuff (SOAP array serialization)
based on RPC mode....

Second, you're using a createCall() syntax that isn't currently implemented (createCall(QName,
QName)) in your test - I switched the
test case to just use the stub as usual for now.

I'm getting all the tests passing in test.wsdl.echo2 after the above change, but in looking
at the XML I notice it's wrong (i.e.
SOAP array instead of maxOccurs="unbounded" array for echoArrayOfString_MaxOccursUnbounded()).
 I'll see about fixing that.

I don't see a "BooleanArrayTest" in your test case, so I'm not sure what you're talking about
there....

--G 

> -----Original Message-----
> From: Guillaume Sauthier (JIRA) [mailto:axis-dev@ws.apache.org] 
> Sent: Friday, April 15, 2005 4:59 AM
> To: axis-dev@ws.apache.org
> Subject: [jira] Commented: (AXIS-1838) Array deserialization
> 
>      [ 
> http://issues.apache.org/jira/browse/AXIS-1838?page=comments#a
> ction_62884 ]
>      
> Guillaume Sauthier commented on AXIS-1838:
> ------------------------------------------
> 
> Hmmm switching from --unwrapArrays to --wrapArrays cause many 
> problems!
> 
> If I use an Axis with Glen first commits (--unwrapArrays), I 
> still have array deser problem. But if I use latest Axis 
> (--wrapArrays), everything explode :
> I got "No serializer found for type BooleanArrayTest", when I 
> look into the Stub, I saw that my xml type QName is mapped to 
> a java array, when I need a Bean containing an array (I tried 
> to set the wrapArray to true, but that change nothing :'( )! 
> And Helper classes for array bean are not generated at all 
> (with the option set or not).
> 
> 
> 
> > Array deserialization
> > ---------------------
> >
> >          Key: AXIS-1838
> >          URL: http://issues.apache.org/jira/browse/AXIS-1838
> >      Project: Axis
> >         Type: Bug
> >   Components: Serialization/Deserialization
> >     Versions: 1.2RC3
> >  Environment: JOnAS 4.3.3
> >     Reporter: Guillaume Sauthier
> >     Assignee: Glen Daniels
> >     Priority: Blocker
> >  Attachments: axis-array-deser-error-patch.txt, 
> axis-array-patch-update.txt, axis-array-patch-update.txt, 
> diff.patch, echo2.zip
> >
> > When running TCK for JOnAS, sometimes, I fall on array 
> deserialization issue :
> > The SOAP Message contains 3 elements of the array, but the 
> constructed array only has the last element. So its size is 
> 1, instead of 3!
> > The problem only occurs when using Array with Helper :
> > ArrayofBook
> > -> Book[] arrayOfBook
> > +
> > ArrayOfBook_Helper
> > I'll attach a patch for test.holders that reproduce this problem.
> > failures will appear for testInOutBookArray
> 
> -- 
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the 
> administrators:
>    http://issues.apache.org/jira/secure/Administrators.jspa
> -
> If you want more information on JIRA, or have a bug to report see:
>    http://www.atlassian.com/software/jira
> 
> 

Mime
View raw message