19.09.2015 Views

Prentice.Hall.Introduction.to.Java.Programming,.Brief.Version.9th.(2014).[sharethefiles.com]

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Figure 45.9<br />

The client request and server response are described in XML.<br />

When invoking the findScore method, a SOAP request is sent <strong>to</strong> the<br />

server. The request contains the information about the method and<br />

the argument. As shown in Figure 45.9, the XML text<br />

<br />

Michael<br />

<br />

specifies that the method findScore is called with argument<br />

Michael.<br />

Upon receiving the SOAP request, the Web service parses it. After<br />

parsing it, the Web service invokes an appropriate method with<br />

10

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!