This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 1168
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
 
Similar Threads
Axis issues
adding new operation in web service interface
on Tproblem while deploying web omcat + JWSDP 1.5
How to capture web service custom edefined exception??
Problem while deploying WebService on Tomcat + JWSDP 1.5