WSDL2C Code generation tool ( C Implementation ) - questions

2006-10-17 Thread Dave Meier



1. Does this new tool currently only build on Linux or can I build 
it on Windows?

2. Does it generate the data structures in C? I'm using the 
java WSDL2Code and it generates my input/output data structures all in java when 
I use the "-d adb" option.

3. Is there remaining work to be done on the 
tool?

Thanks,

-Dave.

**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.




WSDL2C REST question

2006-10-17 Thread Dave Meier



To use 
REST with Axis2C, do I need to define my inputs and outputs as generic XML nodes 
or can I use specifically defined structures for these? I want to provide 
both a SOAP based interface and some REST based CRUD operations and hopefully 
share the same code where there is overlap.

Thanks,

-Dave.

**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.




Re: [Axis2] WSDL2C Code generation tool ( C Implementation ) - questions

2006-10-17 Thread Samisa Abeysinghe

Dave Meier wrote:
1.  Does this new tool currently only build on Linux or can I build it 
on Windows?

I have not tested on Windows, but I know that it runs on Linux.
 
2.  Does it generate the data structures in C?  I'm using the java 
WSDL2Code and it generates my input/output data structures all in java 
when I use the -d adb option.
With WSDL2Code, you can use -lc to generate C code. The C tool ofcourse 
generate C code. However I would suggest that you use Java tool to 
generate code as that is comparatively more tested.
 
3.  Is there remaining work to be done on the tool?

Yes! Lots :)

Samisa...


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: WSDL2C REST question

2006-10-17 Thread Samisa Abeysinghe

Dave Meier wrote:
To use REST with Axis2C, do I need to define my inputs and outputs as 
generic XML nodes or can I use specifically defined structures for these?
You have to work at XML level; it is an XML-in/XML-out model that we 
support.

There are no predefined structures for doing REST.
I want to provide both a SOAP based interface and some REST based CRUD 
operations and hopefully share the same code where there is overlap.
You can write a single service and achieve this. Say you write a service 
named foo, you can consume that both using SOAP and REST style calls 
with Axis2/C server.


Samisa...

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: WSDL2C Code generation tool ( C Implementation ) - questions

2006-10-17 Thread Dimuthu Chathuranga
Hi Dave,On 10/18/06, Dave Meier [EMAIL PROTECTED] wrote:







1. Does this new tool currently only build on Linux or can I build 
it on Windows?This compiles and works only on linux, There are no Makefiles available to build it on windows.
2. Does it generate the data structures in C?There are bugs in the c tool as it failed to parse some wsdls. And the
tool will generate schema code only for doc-lit type WSDLs. Anyway In my tests I experienced although it failed to parse wsdls(generate stub or skel) it still generate code for schema successfully. 
 I'm using the 
java WSDL2Code and it generates my input/output data structures all in java when 
I use the -d adb option.Currently I can't figure out where the problem is, as I m having problem in building the latest axis2/java source. But just going through code I can't figure out any new things which would affect this. 

3. Is there remaining work to be done on the 
tool?The C Implementation for the tool is result of my google summer of code project this year. There I was only able to do the starting works for the tool. There are more work to be done in tool itself and templates used in the code generation. 
RegardsDimuthu
Thanks,

-Dave.

**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.