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]



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.