You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Lingjia Yang <li...@gmail.com> on 2007/11/19 19:51:33 UTC

Axis2C: WSDL2C with xmlbeans databinding generates Java files

Hi,

I am trying to use WSDL2C (from axis2-1.3) to generate client stubs
with xmlbeans databinding.
I started with the simple wsdl in
<axis2c-src-1.1.0>\samples\codegen\databinding\Calculator.wsdl.

$ ~/tools/axis2/axis2-1.3/bin/axis2.sh org.apache.axis2.wsdl.WSDL2C -uri Calcul
ator.wsdl  -d xmlbeans

It created 2 directories: src and resources.

In the src directory, it only has 2 C files: axis2_stub_Calculator.c
axis2_stub_Calculator.h.

The axis2_stub_Calculator.h includes files that are not generated.

        #include "adb_localhost.axis.calculator.DivResponseDocument.h"

        #include "adb_localhost.axis.calculator.DivDocument.h"

        #include "adb_localhost.axis.calculator.MulResponseDocument.h"

        #include "adb_localhost.axis.calculator.MulDocument.h"

        #include "adb_localhost.axis.calculator.AddResponseDocument.h"

        #include "adb_localhost.axis.calculator.AddDocument.h"

        #include "adb_localhost.axis.calculator.SubResponseDocument.h"

        #include "adb_localhost.axis.calculator.SubDocument.h"


All the files under 'localhost' and 'org' directroies are java files.
I tried to specify the language using '-l c'  but it didn't help.

I have also tried with '-d adb -u' and the code  generator works fine.


Thanks in advance for the help!


Lingjia

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: Axis2C: WSDL2C with xmlbeans databinding generates Java files

Posted by Amila Suriarachchi <am...@gmail.com>.
there is no xmlbeans databinding available for c.
The only databindng available for c is ADB (default).
Please report this to http://ws.apache.org/axis2/c/

thanks,
Amila.

On Nov 20, 2007 12:21 AM, Lingjia Yang <li...@gmail.com> wrote:
> Hi,
>
> I am trying to use WSDL2C (from axis2-1.3) to generate client stubs
> with xmlbeans databinding.
> I started with the simple wsdl in
> <axis2c-src-1.1.0>\samples\codegen\databinding\Calculator.wsdl.
>
> $ ~/tools/axis2/axis2-1.3/bin/axis2.sh org.apache.axis2.wsdl.WSDL2C -uri Calcul
> ator.wsdl  -d xmlbeans
>
> It created 2 directories: src and resources.
>
> In the src directory, it only has 2 C files: axis2_stub_Calculator.c
> axis2_stub_Calculator.h.
>
> The axis2_stub_Calculator.h includes files that are not generated.
>
>         #include "adb_localhost.axis.calculator.DivResponseDocument.h"
>
>         #include "adb_localhost.axis.calculator.DivDocument.h"
>
>         #include "adb_localhost.axis.calculator.MulResponseDocument.h"
>
>         #include "adb_localhost.axis.calculator.MulDocument.h"
>
>         #include "adb_localhost.axis.calculator.AddResponseDocument.h"
>
>         #include "adb_localhost.axis.calculator.AddDocument.h"
>
>         #include "adb_localhost.axis.calculator.SubResponseDocument.h"
>
>         #include "adb_localhost.axis.calculator.SubDocument.h"
>
>
> All the files under 'localhost' and 'org' directroies are java files.
> I tried to specify the language using '-l c'  but it didn't help.
>
> I have also tried with '-d adb -u' and the code  generator works fine.
>
>
> Thanks in advance for the help!
>
>
> Lingjia
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>



-- 
Amila Suriarachchi,
WSO2 Inc.

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org