axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Milinda Pathirage" <>
Subject Re: WSDL2Java C code generation
Date Fri, 20 Jul 2007 04:08:10 GMT
Now there is a tool called WSDL2C in Axis2 Code generation project. Please
use that tool. You can use attached scripts to generate  c code with
following options:

To generate server side code without data binding
WSDL2C –uri <WSDL> –ss –sd –d none –u –f –o <out put folder>

with data binding:
WSDL2C –uri <WSDL> –ss –sd –d adb –u –f –o <out put folder>

To generate client side code
with data binding:
WSDL2C –uri <WSDL> -g –d none –u –f –o <out put folder>

without data binding:
WSDL2C –uri <WSDL> -g –d adb –u –f –o <out put folder>

When using those scripts you have to change the AXIS2_HOME to point your
Axis2 home directory.


On 7/20/07, Michael Mole <> wrote:
> I'm using the WSDL2Java tool and specifying the C language option to
> generate client stubs from the sample Axis2SampleDocLit.wsdl.  It creates
> axis2_stub_Axis2SampleDocLitService.c and
> axis2_stub_Axis2SampleDocLitService.h.  The
> axis2_stub_Axis2SampleDocLitService.h includes several other header files
> such as adb_EchoStringReturn.h.  However, I cannot find these additional
> header files.  I'm wondering why they aren't being generated.
> Furthermore, when I specify the -u option, it also generates some java
> files such as  Is this a bug with the tool or am I
> doing something wrong?  Does anyone know how to generate client side stubs
> from a wsdl using the WSDL2Java tool?
> Thanks,
> Mike
> Michael J Molé
> Software Engineer
> IBM Software Group - Rational
> (781)676-2710

WSO2, Inc: "Oxygenating the Web Service Platform"

View raw message