Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

xsd and wsdl for many methods with common element

Cezary Rzewuski
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic