The moose likes Web Services and the fly likes xsd and wsdl for many methods with common element Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "xsd and wsdl for many methods with common element" Watch "xsd and wsdl for many methods with common element" New topic
Author

xsd and wsdl for many methods with common element

Cezary Rzewuski
Greenhorn

Joined: Jan 05, 2009
Posts: 3
Hi,
I'm trying to figure out how to prepare wsdl for couple of web service methods. The problem is that the soap body needs to be defined like this:


Depending on action value in Header, the parameter list differs. I'm trying to make <Body> element abstract and extend it, but then I need to declare many <head1> elements which obviously cannot have the same name (like <head1_A1>, <head1_A2 > etc). How such web service should be defined (I don't expect to get solution, just hints how should I approach it).

Thank you!
 
 
subject: xsd and wsdl for many methods with common element
 
Threads others viewed
Help DataTable !!
Please Help! recursive call
Please Help! Recursive call
Webservice Help!
response.addHeader question.
IntelliJ Java IDE