Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Standard view
Full view
of .
Look up keyword or section
Like this
0 of .
Results for:
No results containing your search query
P. 1




|Views: 1,821|Likes:
Published by Suresh
SOAP basics.
SOAP basics.

More info:

Published by: Suresh on Aug 25, 2008
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less





Part II
t the heart of Web services today are SOAP and WSDL, so it’s important thatyou have a good understanding of them and how they’re used. That said,memorizing the details of SOAP and WSDL is not critical. While these technolo-gies are central to Web services, in many cases you may not deal with them direct-ly, as they will be hidden in the communication and deployment layer of the J2EEWeb Services platform.This part of the book covers SOAP 1.1 and WSDL 1.1. Although support forSOAP 1.1 and WSDL 1.1 is required by the WS-I Basic Profile 1.0, support for
30166 04 pp079-126 r2jm.ps 10/2/03 3:56 PM Page 79
SOAP Messages with Attachments is not. SwA is a significant feature of Web ser-vices practice today, however, and it’s supported by J2EE Web Services, as well asa future version of the BP, version 1.1, so it’s covered in Appendix E.Once you have read Part II, you should have a pretty decent understanding of SOAP 1.1 and WSDL 1.1. If you desire more detailed knowledge, I suggest youread the Notes describing these technologies, published by the World Wide WebConsortium. You must complement that reading with study of the Basic Profile,however, because the BP imposes lots of restrictions and provides many clarifica-tions that make SOAP 1.1 more interoperable and WSDL 1.1 more portable. Still,for most developers the level of coverage in this part of the book will be morethan sufficient.
In This Part
Chapter 4: SOAP81Chapter 5: WSDL127
Related Appendices
Appendix C: Base64 Encoding751Appendix D: SOAP RPC/Encoded755Appendix E: SOAP Messages with Attachments771
30166 04 pp079-126 r2jm.ps 10/2/03 3:56 PM Page 80
Chapter 4
was originally an acronym for Simple Object Access Protocol. (Now it’s justa name.) SOAP 1.1 is the standard messaging protocol used by J2EE Web Services,and is the de facto standard for Web services in general. SOAP’s primary applicationis Application-to-Application (A2A) communication. Specifically, it’s used in Busi-ness-to-Business (B2B) and Enterprise Application Integration (EAI), which are twosides of the same coin: Both focus on integrating software applications and sharingdata. To be truly effective in B2B and EAI, a protocol must be platform-independent,flexible, and based on standard, ubiquitous technologies. Unlike earlier B2B and EAItechnologies, such as CORBA and EDI, SOAP meets these requirements, enjoyswidespread use, and has been endorsed by most enterprise software vendors andmajor standards organizations (W3C, WS-I, OASIS, etc.).Despite all the hoopla, however, SOAP is just another XML markup languageaccompanied by rules that dictate its use. SOAP has a clear purpose: exchangingdata over networks. Specifically, it concerns itself with encapsulating and encodingXML data and defining the rules for transmitting and receiving that data. In anutshell, SOAP is a network application protocol.A SOAP XML document instance, which is called a
SOAP message,
is usuallycarried as the payload of some other network protocol. For example, the mostcommon way to exchange SOAP messages is via HTTP (HyperText Transfer Proto-col), used by Web browsers to access HTML Web pages. The big difference is thatyou don’t view SOAP messages with a browser as you do HTML. SOAP messagesare exchanged between applications on a network and are not meant for human
The SOAP XML document is also called the
SOAP envelope
30166 04 pp079-126 r2jm.ps 10/2/03 3:56 PM Page 81

Activity (12)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
TEJASKO liked this
ejazkhan7382 liked this
Satish Marri liked this
mateer6 liked this
mateer6 liked this
frederic bevia liked this
mpatel23 liked this
jyhongchen7182 liked this

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->