You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Anto Paul <an...@gmail.com> on 2010/05/26 18:27:11 UTC

How people write web service implementations

Hi,

    What is the popular way to write JAX-WS SOA web services? Use wsdl2java
and use the default JAXB binding or any other way? I have seen the JAX-WS
Provider mechanism but couldn't find much resources on how to deploy such a
service. From this I guess it is not popular with CXF community.

Regards,
Anto

Re: How people write web service implementations

Posted by Glen Mazza <gl...@gmail.com>.
Go to town: http://www.jroller.com/gmazza/entry/web_service_tutorial

Glen


Anto P wrote:
> 
> Hi,
> 
>     What is the popular way to write JAX-WS SOA web services? Use
> wsdl2java
> and use the default JAXB binding or any other way? I have seen the JAX-WS
> Provider mechanism but couldn't find much resources on how to deploy such
> a
> service. From this I guess it is not popular with CXF community.
> 
> Regards,
> Anto
> 
> 

-- 
View this message in context: http://old.nabble.com/How-people-write-web-service-implementations-tp28683099p28683444.html
Sent from the cxf-user mailing list archive at Nabble.com.


Re: How people write web service implementations

Posted by Christian Schneider <ch...@die-schneider.net>.
Hi Anto,

I normally use wsdl2java with a binding file to at least replace 
XmlGregorianCalendar by Date.
Often I also use jaxb extensions. See last chapter of: 
http://cxf.apache.org/docs/maven-cxf-codegen-plugin-wsdl-to-java.html

Greetings

Christian


Am 26.05.2010 18:27, schrieb Anto Paul:
> Hi,
>
>      What is the popular way to write JAX-WS SOA web services? Use wsdl2java
> and use the default JAXB binding or any other way? I have seen the JAX-WS
> Provider mechanism but couldn't find much resources on how to deploy such a
> service. From this I guess it is not popular with CXF community.
>
> Regards,
> Anto
>
>    

-- 
----
http://www.liquid-reality.de


Re: How people write web service implementations

Posted by Daniel Kulp <dk...@apache.org>.
On Wednesday 26 May 2010 12:27:11 pm Anto Paul wrote:
> Hi,
> 
>     What is the popular way to write JAX-WS SOA web services? Use wsdl2java
> and use the default JAXB binding or any other way? I have seen the JAX-WS
> Provider mechanism but couldn't find much resources on how to deploy such a
> service. From this I guess it is not popular with CXF community. 

Well, I guess it kind of depends on what technology you are putting behind 
your service.   In most cases, doing the wsdl2java and using the JAXB beans 
works quite well and thus that is a very good direction to go.    However, in 
some cases, the back ends behind the service require the actual XML and not 
JAXB beans.   In those cases, the Provider route usually would work better as 
we can avoid the bouncing between xml and jaxb beans.   


-- 
Daniel Kulp
dkulp@apache.org
http://dankulp.com/blog