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 Tue, 10 Aug 2004 11:25:35 GMT
Hi All,

This is the second sample test for non-wrapped support. Attached file
contains compressed source files and VC++ project files.

Thanks,
Amila.

> -----Original Message-----
> From: Amila Rathnayake [mailto:amilar@opensource.lk]
> Sent: Monday, August 09, 2004 7:17 PM
> To: axis-c-dev@ws.apache.org
> Subject: RE: Supporting for Non-Wrapped WSDL's
> 
> 
> 
> Hi,
> 
> Here I am sending the implemented client and server sample application
> for testing the non-wrapped style code generation. I have attached the
> relevant wsdl file called GatewayWebService.wsdl as well.
> 
> I have zipped all the source files for client and server and the VC++
> project files and also the *.dsw.
> 
> Thanks and Regards,
> Amila Rathnayake.
> 
> 
> 
> 
> > -----Original Message-----
> > From: Amila Rathnayake [mailto:amilar@opensource.lk]
> > Sent: Friday, August 06, 2004 6:16 PM
> > To: 'Apache AXIS C User List'
> > Subject: RE: Supporting for Non-Wrapped WSDL's
> >
> >
> >
> > Hi Samisa,
> >
> > I found one simple wsdl from the links given. Thank you for sending
> them
> > and I will be sending the VC++ sample test projects for this
> non-wrapped
> > support. The wsdl given in the other links are not that simple
wsdl's
> > and therefore having lots of other complexities in them.
> >
> > I've generated server and client for both simpleWS.wsdl and
> > GatewayWebService.wsdl that I have sent you earlier. The generated
> code
> > got compiled without any problems.
> >
> > Thanks and Regards,
> > Amila Rathnayake.
> >
> >
> >
> > > -----Original Message-----
> > > From: Samisa Abeysinghe [mailto:samisa_abeysinghe@yahoo.com]
> > > Sent: Thursday, August 05, 2004 4:15 PM
> > > To: Apache AXIS C User List; 'Apache AXIS C Developers List'
> > > Subject: RE: Supporting for Non-Wrapped WSDL's
> > >
> > > Hi Amila,
> > >     Few places where I thik you can get the type of WSDLs you are
> > looking
> > > for.
> > > http://paracite.eprints.org/paracite.wsdl
> > > http://www.mail-archive.com/wsif-user@ws.apache.org/msg00420.html
> > > http://heasarc.gsfc.nasa.gov/itwg/wsdl_all.html
> > > http://www.freewebs.com/reude/simpleWS.wsdl
> > > http://www.mcdowall.com/wsdl/post-xmlstore.wsdl
> > > http://archives.us-vo.org/metadata/msg00378.html
> > > http://www.srdc.metu.edu.tr/~yavuz/MyAdmitVisit.wsdl
> > > http://www.srdc.metu.edu.tr/~yavuz/MyOrderEntry.wsdl
> > > http://www.intertwingly.net/stories/2002/03/05/weblogswsdl.html
> > > http://www.xmltoday.com/stock.wsdl
> > >
> > >     Hope this helps.
> > > Thanks,
> > > Samisa...
> > >
> > >
> > >
> > > --- Amila Rathnayake <amilar@opensource.lk> 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.
> > > > >
> > > > >
> > > >
> > > >
> > >
> > > > ATTACHMENT part 2 application/octet-stream
> > name=GatewayWebService.wsdl
> > >
> > >
> > >
> > >
> > >
> > >
> > > __________________________________
> > > Do you Yahoo!?
> > > New and Improved Yahoo! Mail - 100MB free storage!
> > > http://promotions.yahoo.com/new_mail


Mime
View raw message