• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WSDL - Message parts

 
Dhanasekaran Krishnasamy
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
What is the use/need/advantage of having message parts in WSDL?
i mean,
<message ...>
<part name=.../> <!-- what is this for? -->
</message>
 
Yaron Naveh
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can have a message with a few parts where some of them will appear in the SOAP body and some in the SOAP header. So logically you want them to be considered as one message but on-the-wire they will be different. However I agree that this can be achieved in other manners and that best practice (in doc/lit/wrapped wsdl) is to have only one part.
 
Dan Drillich
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dhanasekaran,

What exactly are you asking?

Is it about the overhead of the part elements? One central topic with XML is whether to use elements or attributes.

Regards,
Dan
 
Dhanasekaran Krishnasamy
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Simply, what is part in message, is it going to change the way SOAP will look like, etc
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic