File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: xsd and wsdl for many methods with common element
 
Similar Threads
Please Help! recursive call
Webservice Help!
Help DataTable
Please Help! Recursive call
response.addHeader question.