You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sanjayasing <sa...@opensource.lk> on 2003/07/10 14:04:53 UTC

wrapper class generation?

currently axis c++ is supposed to generate a wrapper class for each web 
service class deployed, using information in the WSDD and the interface file 
(C++ header file)of the web service class.

what would be the feasiblity of giving those information in the header file 
itself in form of comments or compiler directives and generate WSDD from that 
information ?

---------------
Lanka Software Foundation  (http://www.opensource.lk)
Promoting Open-Source Development in Sri Lanka.
---------------

Re: wrapper class generation?

Posted by Davanum Srinivas <di...@yahoo.com>.
Susantha,

Take a look at gSOAP (http://www.cs.fsu.edu/~engelen/soap.html) examples.

-- dims

--- susantha <su...@opensource.lk> wrote:
> > currently axis c++ is supposed to generate a wrapper class for each 
> > web service class deployed, using information in the WSDD and the 
> > interface file 
> > (C++ header file)of the web service class.
> > 
> 
> finally the wrapper class generator will be a deployment tool on the server
> which takes users webservice header file and other header files (which
> describles custom types) and the wsdd that is similar to the one we use to
> deploy a web service with Axis Java.
> 
> But the wrapper class generator will be interested in only the following infor
> mation in the input wsdd.
> 1. Typemapping information like namespace and type name for all custom types
> that are in header files
> 2. Information related to the web service class
> 
> those information taken from the wsdd will be hard coded in the generated
> wrapper class.
> 
> > what would be the feasiblity of giving those information in the 
> > header file itself in form of comments or compiler directives and 
> > generate WSDD from that information ?
> > 
> 
> Its true that we can easily use set of compiler directives that only the
> wrapper class generator understands to do this. But I dont think this is
> feasible due to following reasons,
> 1. We cannot ask the web service writer to include all the information in the
> include file anyway. ie .we need wsdd anyway
> 2. In order to change the namespace of the service the header file has to be
> changed which is not good.
> 
> thanks,
> 
> Susantha
> 
> ---------------
> Lanka Software Foundation  (http://www.opensource.lk.)
> Promoting Open-Source Development in Sri Lanka.
> ---------------
> 
> ---------- Original Message -----------
> From: "sanjayasing" <sa...@opensource.lk>
> To: axis-dev@ws.apache.org
> Sent: Thu, 10 Jul 2003 08:04:53 -0400
> Subject: wrapper class generation?
> 
> > ---------------
> > Lanka Software Foundation  (http://www.opensource.lk)
> > Promoting Open-Source Development in Sri Lanka.
> > ---------------
> ------- End of Original Message -------
> 


=====
Davanum Srinivas - http://webservices.apache.org/~dims/

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

Re: wrapper class generation?

Posted by susantha <su...@opensource.lk>.
> currently axis c++ is supposed to generate a wrapper class for each 
> web service class deployed, using information in the WSDD and the 
> interface file 
> (C++ header file)of the web service class.
> 

finally the wrapper class generator will be a deployment tool on the server
which takes users webservice header file and other header files (which
describles custom types) and the wsdd that is similar to the one we use to
deploy a web service with Axis Java.

But the wrapper class generator will be interested in only the following infor
mation in the input wsdd.
1. Typemapping information like namespace and type name for all custom types
that are in header files
2. Information related to the web service class

those information taken from the wsdd will be hard coded in the generated
wrapper class.

> what would be the feasiblity of giving those information in the 
> header file itself in form of comments or compiler directives and 
> generate WSDD from that information ?
> 

Its true that we can easily use set of compiler directives that only the
wrapper class generator understands to do this. But I dont think this is
feasible due to following reasons,
1. We cannot ask the web service writer to include all the information in the
include file anyway. ie .we need wsdd anyway
2. In order to change the namespace of the service the header file has to be
changed which is not good.

thanks,

Susantha

---------------
Lanka Software Foundation  (http://www.opensource.lk.)
Promoting Open-Source Development in Sri Lanka.
---------------

---------- Original Message -----------
From: "sanjayasing" <sa...@opensource.lk>
To: axis-dev@ws.apache.org
Sent: Thu, 10 Jul 2003 08:04:53 -0400
Subject: wrapper class generation?

> ---------------
> Lanka Software Foundation  (http://www.opensource.lk)
> Promoting Open-Source Development in Sri Lanka.
> ---------------
------- End of Original Message -------


Re: wrapper class generation?

Posted by Davanum Srinivas <di...@yahoo.com>.
Sanjaya,

Do you want to do some competitive analysis? take a look at WASP C++. Sorry am not able to answer
your question directly.

-- dims

--- sanjayasing <sa...@opensource.lk> wrote:
> currently axis c++ is supposed to generate a wrapper class for each web 
> service class deployed, using information in the WSDD and the interface file 
> (C++ header file)of the web service class.
> 
> what would be the feasiblity of giving those information in the header file 
> itself in form of comments or compiler directives and generate WSDD from that 
> information ?
> 
> ---------------
> Lanka Software Foundation  (http://www.opensource.lk)
> Promoting Open-Source Development in Sri Lanka.
> ---------------


=====
Davanum Srinivas - http://webservices.apache.org/~dims/

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com