axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Susantha Kumara" <susan...@opensource.lk>
Subject Re: Does WSDL2Java support all of types of indicators in wsdl schema?
Date Fri, 19 Sep 2003 04:03:56 GMT
But in SOAP message those Qnames can be tns:arg1 and tns:arg2. and they can
come on the wire in any order. How do we know which one is for i1 and which
is for i2 ?.

Susantha.

----- Original Message -----
From: "Tom Jordahl" <tomj@macromedia.com>
To: <axis-dev@ws.apache.org>
Sent: Thursday, September 18, 2003 6:40 PM
Subject: RE: Does WSDL2Java support all of types of indicators in wsdl
schema?


> I believe Axis looks at the QName of the element (tns:i1 or tns:i2) and
maps that to the correct item in the complex type.
>
> --
> Tom Jordahl
> Macromedia Server Development
>
> -----Original Message-----
> From: susantha@opensource.lk [mailto:susantha@opensource.lk]
> Sent: Thursday, September 18, 2003 4:01 AM
> To: axis-dev@ws.apache.org
> Subject: Does WSDL2Java support all of types of indicators in wsdl schema?
>
> Hi all
>
> Does WSDL2Java generate Java code differently when there are different
> indicators (sequence, all, choice) in a complex type's schema ?.
>
> We are planning to support only "sequence" and "all" indicators in Axis
> C++ initially. Still when supporting "all" we have problem where there are
> 2 variable of same type.
>
> when we generate wrappers for complex types,
>
> following is OK and can be supported perfectly since there is only one
> item of each type.
>
> <complexType name="Input">
>  <all>
>   <element name="p" type="lsf:Point"/>
>   <element name="s" type="xsd:string"/>
>   <element name="i" type="xsd:int"/>
>   <element name="sq" type="lsf:Square">
>  <all>
> </complexType>
>
> but generating wrappers for following is difficult since there is no
> guarentee that the items names ("i1" and "i2") in soap be exactly that in
> the wsdl.
>
> <complexType name="Input">
>  <all>
>   <element name="i1" type="xsd:int"/>
>   <element name="i2" type="xsd:int"/>
>  <all>
> </complexType>
>
> How does Axis Java handle this situation ?.
>
> Thanks,
>
> Susantha.
>
>


Mime
View raw message