Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Axis 2 -> WSDL2Java - JAXB classes creation ?

 
kri shan
Ranch Hand
Posts: 1467
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My WSDL file import xsd using import. I am following to-down approach for creating classes from the WSDL using Axis 2 WSDL2Java. Whether WSDL2Java creates only service/interface classes or service/interface classes with Java JAXB classes from the XSD ?
 
kri shan
Ranch Hand
Posts: 1467
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any reply ?
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
The default databinding for Axis2's wsdl2java is ADB. I am not entirely sure you can use JAXB in Axis2 when using wsdl2java to generate artifacts.
Take a look at this article, it may help you: http://www.ibm.com/developerworks/java/library/j-jws8.html
Best wishes!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic