Hi

On Thu, Jan 20, 2011 at 2:16 PM, myerscb <[email protected]> wrote:

>
> Hi,
>
> Thanks for your reply.
>
> I am using the Http Binding because we would like to have SOAP and REST
> with
> JSON.  As far as I can tell that is the only way to achieve that.  If that
> is not the case I will be happy to change it.
>
>
It is one of the ways, but not the only one. In the java-first case,
combining JAX-WS and JAX-RS is trivial, in the WSDL-first case it's a bit
more involved, but is still simple enough, and I will do some enhancements
to do it even simpler. Have a look please at

http://cxf.apache.org/docs/jax-rs-and-jax-ws.html

The only thing where the CXF HttpBinding will do better is when you have
methods having multiple input parameters representing a given request
type/element, with the JAX-WS runtime doing the unwrapping. This is not
supported by JAX-RS


> I am new to java web services.  I have been mainly writing java stand alone
> and web applications so i am still feeling my way around.
>
> Any direction and help is greatly appreciated.
>
>
I'm biased toward JAX-RS, hope you end up migrating to it :-)

By the way, can you give me a favor and send me the generated WSDL fragment
? Just would like to see how the REST/JSON binding is represented

thanks, Sergey

> Thanks,
>
> Chris
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/IllegalAnnotationExceptions-when-running-Restful-Http-Binding-Demo-tp3349642p3349654.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>

Reply via email to