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 Davanum Srinivas <di...@yahoo.com> on 2003/07/23 15:45:47 UTC
RE: Problem with WSDL2Java with generation of unbounded sequences into Arrays
It's a schema parsing problem...check the test cases (specifically the WSDL's) in Axis's cvs as
they are guaranteed to work.
-- dims
--- santosh.joshi@bt.com wrote:
> Davanum,
>
> Thank you for the prompt reply and help. Could you please shed some light on
> why the array syntax has to be specified in that manner? I will really
> appreciate help on this issue.
>
> Thanks in advance.
>
> Regards,
>
> Santosh
>
> -----Original Message-----
> From: Davanum Srinivas [mailto:dims@yahoo.com]
> Sent: Wednesday, July 23, 2003 1:30 PM
> To: axis-user@ws.apache.org
> Subject: RE: Problem with WSDL2Java with generation of unbounded
> sequences into Arrays
>
>
> C:\junk>diff finder.orig.wsdl finder.wsdl
> 95,96c95,96
> < <xs:sequence maxOccurs="unbounded">
> < <xs:element name="List"
> type="finder:ServiceAccessDetails"
> nillable="false"/>
> ---
> > <xs:sequence >
> > <xs:element name="List" maxOccurs="unbounded"
> type="finder:ServiceAccessDetails" nillable="false"/>
>
>
>
> --- santosh.joshi@bt.com wrote:
> > Oops,
> >
> > Forgot to attach the WSDL for demonstrating the problem.
> >
> > Regards,
> >
> > Santosh
> >
> >
> >
> > -----Original Message-----
> > From: santosh.joshi@bt.com [mailto:santosh.joshi@bt.com]
> > Sent: Wednesday, July 23, 2003 12:36 PM
> > To: axis-user@ws.apache.org
> > Subject: Problem with WSDL2Java with generation of unbounded sequences
> > into Arrays
> > Importance: High
> >
> >
> > Experts,
> >
> > Probably you have seen this problem, but could someone suggest a way
> forward
> > please.
> >
> > I have attached the WSDL on which if I execute the WSDL2Java utility
> expect
> > to see an array of Objects in the ServiceAccessDetailsList class.
> >
> > But unfortunately it does not happen. Any hints to solution are obviously
> > most welcome (Do I need to tweak the WSDL? I wouldn't have thought so. The
> > WSDL is liked by XMLSPY and .NET Framework 1.1)
> >
> > Please help.
> >
> > Regards,
> >
> > Santosh
> >
> > Santosh Joshi
> >
> >
> >
>
> > ATTACHMENT part 2 application/octet-stream name=finder.wsdl
>
>
>
> =====
> Davanum Srinivas - http://webservices.apache.org/~dims/
>
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
>
=====
Davanum Srinivas - http://webservices.apache.org/~dims/
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com