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).