JAXB and WCF Databinding Inteoperability
Since WSIT builds upon JAXB, you can use the existing JAXB 2.0 programming model (for most part) when developing JAX-WS web services and clients. Thus, for example, you can:
- Develop a Java web service starting from Java classes ( Java web service starting from Java ). And the classes used in designing the JAX-WS web service can be annotated using JAXB annotations . JAXB annotations customize the generated schema in the service WSDL generated from JAX-WS based web service. This service WSDL can then be used to create WCF clients.
- Generate Java client side artifacts from a WCF service WSDL. The generated classes contain the appropriate JAXB annotations.
We are working on adding more information related to databinding interoperablity in the next version of WSIT tutorial .
To try out JAXB in WSIT, download the WSIT binary ( WSIT Milestone 2 Released ) . The JAXB version in the WSIT binary includes fixes to issues/bugs uncovered by the databinding interoperability testing between WCF XML serialization mechanisms and JAXB.
Let us know your feedback at dev@wsit.dev.java.net or Web Services Interoperability Technology Forum .
- Login or register to post comments
- Printer-friendly version
- sekhar's blog
- 1399 reads





