Java Reference
In-Depth Information
DAY 20:
XML Web Services
Over the years, there have been numerous attempts to create a standard
protocol for remote procedure calls (RPC), a way for one computer pro-
gram to call a procedure in another program over a network such as the
Internet.
Often these protocols are completely language agnostic, enabling a client
program written in a language such as C++ to call a remote database
server written in Java or something else without either side knowing or
caring about the implementation language of its partner.
RPC efforts are being driven at breakneck speed by web services, net-
working programs that use the Web to offer data in a form easily
digested by other software. Web services are being employed to share
password authentication information between sites, facilitate e-commerce
transactions between stores, provide business-to-business information
exchange, and other innovative offerings.
One of the most popular technologies in this area is XML-RPC, a protocol
for using Hypertext Transfer Protocol (HTTP) and Extensible Markup
Language (XML) for remote procedure calls. Today, you'll learn how to
implement it in Java as the following topics are covered:
How XML-RPC was developed
n
How to communicate with another computer using XML-RPC
n
How to structure an XML-RPC request and an XML-RPC response
n
How to use XML-RPC in Java programs
n
How to send an XML-RPC request
n
How to receive an XML-RPC response
n
 
Search WWH ::




Custom Search