Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

axis2 and XSD2Java  RSS feed

 
Ro Dowd
Greenhorn
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();
service.addNewCustomer(cust);

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..
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!