axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amila Rathnayake" <ami...@opensource.lk>
Subject RE: Supporting for Non-Wrapped WSDL's
Date Wed, 04 Aug 2004 09:44:18 GMT


Hi Damitha,

Here are some links to refer and you can have some rough idea on this.

http://www-106.ibm.com/developerworks/webservices/library/ws-whichwsdl/

http://www-106.ibm.com/developerworks/webservices/library/ws-whichwsdl/#
resources

Regards,
Amila.


> -----Original Message-----
> From: damitha kumarage [mailto:damitha@opensource.lk]
> Sent: Wednesday, August 04, 2004 2:25 PM
> To: Apache AXIS C Developers List
> Subject: RE: Supporting for Non-Wrapped WSDL's
> 
> Hi Amila,
> 
> I'm confused about this overloaded and nonwrapped stuff. Could someone
> point me towards more reading on this stuff
> 
> thanks
> damitha
> On Tue, 2004-08-03 at 17:40, Amila Rathnayake wrote:
> > Hi All,
> >
> > Right now Axis C++ is supporting for wrapped style WSDL files.
> > Non-wrapped style WSDL 's are not supported and currently all the
> > doc-lit WSDL's are considered as wrapped style by default and
generating
> > the Skeletons and Stubs accordingly by the WSDL2WS tool.
> >
> > I have implemented the support for non-wrapped style wsdl. But for
> > testing purposes I need several valid WSDL's of non-wrapped style.
> >
> > I've found a simple WSDL which is in non-wrapped style. But that
WSDL is
> > having more than one part in the message. Then this should be an
invalid
> > wsdl since in the doc-lit type we can have only one part in the
message.
> >
> >    <wsdl:message name="loadXMLDataRequest">
> >
> >       <wsdl:part name="in0" element="impl:in0"/>
> >
> >       <wsdl:part name="in1" element="impl:in1"/>
> >
> >    </wsdl:message>
> >
> > I have attached the relevant WSDL file here with.
> >
> > If you have any idea, please comment on this.
> >
> > Btw if you have come across any non-wrapped style wsdl file, please
send
> > that file.
> >
> > Thanks and Regards,
> > Amila Rathnayake.
> >
> >
> >
> >
> > > -----Original Message-----
> > > From: amilar@opensource.lk [mailto:amilar@opensource.lk]
> > > Sent: Wednesday, July 21, 2004 6:31 PM
> > > To: Apache AXIS C Developers List
> > > Subject: Supporting for Non-Wrapped WSDL's
> > >
> > > Hi All,
> > >
> > > At this moment Axis is assuming and supporting only for Wrapped
style
> > > WSDL's.
> > >
> > > In wrapped style WSDL's, all method parameters are wrapped inside
an
> > > element named as the same name as operation and of the type of
> > > xsd:complextype.
> > >
> > > Ex: Wrapped Style
> > > -----------------
> > >
> > > ...
> > > <types>
> > >     <xsd:schema targetNamespace="http://www.sample.org/" >
> > >         <xsd:element name="countWords">
> > >             <xsd:complexType>
> > >                 <xsd:sequence>
> > >                     <xsd:element name="words" type="xsd:string" />
> > >                 </xsd:sequence>
> > >             </xsd:complexType>
> > >         </xsd:element>
> > >     </xsd:schema>
> > > </types>
> > > <message name="countWordsInput">
> > >     <part name="iInputText" element="tns:countWords" />
> > > </message>
> > > ...
> > >
> > > non-wrapped style
> > > =================
> > > But in Non-Wrapped style type is declared in the element tag.
> > > If you have overloaded operations, you cannot use the
document/literal
> > > wrapped style.
> > > WSDL allows overloaded operations. But when you add the wrapped
> > pattern to
> > > WSDL you require an element to have the same name as the
operation,
> > and
> > > you cannot have two elements with the same name in XML. So you
must
> > use
> > > the document/literal, non-wrapped style or one of the RPC styles
> > >
> > > Eg: non-wrapped style
> > > ----------------------
> > >
> > > ...
> > > <types>
> > >     <xsd:schema targetNamespace="http://www.sample.org/" >
> > >         <xsd:element name="countWords" type="xsd:string" />
> > >     </xsd:schema>
> > > </types>
> > > <message name="countWordsInput">
> > >     <part name="iInputText" element="tns:countWords" />
> > > </message>
> > >  ...
> > >
> > > Currently I am working on this and implementing the support for
> > > non-wrapped style wsdl's.
> > >
> > > Regards,
> > > Amila Rathnayake.
> > >
> > >
> >
> 



Mime
View raw message