aspose file tools*
The moose likes Web Services and the fly likes WSDL - Message parts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "WSDL - Message parts" Watch "WSDL - Message parts" New topic
Author

WSDL - Message parts

Dhanasekaran Krishnasamy
Greenhorn

Joined: Jun 30, 2008
Posts: 9
Hi,
What is the use/need/advantage of having message parts in WSDL?
i mean,
<message ...>
<part name=.../> <!-- what is this for? -->
</message>


Dhanasekaran<br />SCJP 5.0
Yaron Naveh
Greenhorn

Joined: Oct 26, 2008
Posts: 24
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.


[url]http://webservices20.blogspot.com/[/url]
Web Services Performance, Interoperability And Testing Blog
Dan Drillich
Ranch Hand

Joined: Jul 09, 2001
Posts: 1180
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


William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
Dhanasekaran Krishnasamy
Greenhorn

Joined: Jun 30, 2008
Posts: 9
Simply, what is part in message, is it going to change the way SOAP will look like, etc
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WSDL - Message parts