This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes Language issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "Language issue" Watch "Language issue" New topic

Language issue

Deepika Joshi
Ranch Hand

Joined: Feb 24, 2009
Posts: 268

I have just started basics of SOAP 1.1 from RMH,

it says that soap <Body> contains application data being exchange between applications and delimits application-specific data .

Does it mean that application data is delimit (defined) in body & data contain in body is exchanged between applications.

Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
Think of a SOAP message like an envelope. Inside the envelope, you can put a letter.
- The letter is the application data.
- The SOAP message, the envelope, is what wrapps the letter while it travels from the sender to the receiver.

Actually, a SOAP message is slightly more complex than an envelope , so you put the letter in the body of a SOAP message.
The reason for having a SOAP message is very similar to the reason for having envelopes. The postman knows where on the envelope to look for the address to deliver the letter to, where a stamp should be placed and where to look for the return address, if needed. In a similar fashion, web service servers, clients and intermediary nodes knows how to handle a SOAP message. Like the postman, they do not need to know, or care about, what is inside the letter.
There are also SOAP headers, but let's ignore them for now, in order not to confuse you.
Best wishes!
Deepika Joshi
Ranch Hand

Joined: Feb 24, 2009
Posts: 268
Thanks a lot.
Dan Drillich
Ranch Hand

Joined: Jul 09, 2001
Posts: 1183

As Ivan said, the SOAP header is a very important aspect of it as numerous header extensions were (and are) being developed for message level security, such as
authentication. The SOAP Fault element is important and the mysterious actor attribute is present as well .

Please keep in mind that since SOAP is so generic, multiple profiles were developed to restrict its usage. The WS-I Basic Profile is probably the most known one.


William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
I agree. Here's the link:
subject: Language issue
It's not a secret anymore!