Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

axis2 and XSD2Java  RSS feed

Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, i'm using axis 2 to implement a WS.

the data i'm sending represents an object consisting of 3 strings, the object also has a parent class. does axis 2 (xsd2java) support inheritance ?. I've got an xsd file which i run xsd2java on it.

Presumably the client of the web service will call it like the below:

Customer cust = new Customer(<customer details here> ;
MyWebService service = new MyWebService();

presumable in the MyWebService class or a delegate i'll convert the cust object to XML - can this be an OMElement? i.e how do/should i convert my cust to customerRequest (if thats the schema description for a customer)?

any help appreciated..
Wink, wink, nudge, nudge, say no more, it's a tiny ad:
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!