Issue Details (XML | Word | Printable)

Key: AXIS2-660
Type: New Feature New Feature
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Kenneth Tam
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Axis 2.0 (Axis2)

Support JAX-B RI databinding for WSDL2Java

Created: 04/May/06 12:57 AM   Updated: 05/May/06 11:37 AM
Return to search
Component/s: databinding
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments:
  Size
Java Archive File Licensed for inclusion in ASF works jaxb_ri.jar 2006-05-04 02:19 AM Kenneth Tam 9 kB
Text File Licensed for inclusion in ASF works jaxb_ri.patch 2006-05-04 02:13 AM Kenneth Tam 7 kB

Resolution Date: 05/May/06 11:37 AM


 Description  « Hide
I've added support for using the JAX-B RI with WSDL2Java. This patch just includes the initial support to get the appropriate databinding extension registered, and calling the RI's XJC compiler. Code gen is working for basic cases -- I have not yet started on runtime support.

I've followed the reflection-based pattern for loading the RI, per the recent changes in the XMLBeans and JiBX binding extensions. Compile-time deps on the RI are limited to the new jaxbri module, and at runtime if the JAX-B RI JARs are not available on the classpath, WSDL2Java will throw an appropriate exception & msg.

A sample command line:

wsdl2java -uri foo.wsdl -d jaxbri



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Kenneth Tam added a comment - 04/May/06 02:13 AM
patch to existing files

Kenneth Tam added a comment - 04/May/06 02:19 AM
new files (extract in trunk\java)

Deepal Jayasinghe added a comment - 04/May/06 10:41 AM
Lets apply this patch after 1.0

Davanum Srinivas added a comment - 05/May/06 11:37 AM
Applied.

thanks,
dims