XML-RPC and SOAP Programming Guide
XML-RPC and SOAP Programming Guide describes how to use Apple Script and the Apple Event Manager in Mac OS X to make remote procedure calls using the XML-RPC and SOAP (Simple Object Access Protocol) protocols. XML-RPC is a protocol for using XML and HTTP to make remote procedure calls over the Internet. SOAP (Simple Object Access Protocol) is a remote procedure call protocol designed for exchanging information in a distributed environment, where a server may consist of a hierarchy of objects. This book describes only how to send XML-RPC and SOAP requests, not how to serve them.
…
A remote procedure call is a request to a server application at another location to performoperations and return information. XML-RPC is a simple protocol that allows software running in different environments to make remote procedure calls over the Internet.XML-RPC uses two industry standards: XML (extensible markup language) for encoding messages, and HTTP (hypertext transfer protocol) for transporting them. A properly formatted XML-RPC message is an HTTP POST request whose body is in XML. The specified remote server executes the requested call and returns any requested data in XML format.
XML-RPC recognizes procedure parameters by position. Parameters and return values can be simple types such as numbers, strings, and dates, or more complex types such as structures and arrays. To learn more about XML-RPC messages, see the XML-RPC specification at http://www.xmlrpc. com/spec.
SOAP (Simple Object Access Protocol) is an RPC protocol designed for a distributed environment, where a server may consist of a hierarchy of objects whose methods can be called over the Internet. A goal of SOAP is to establish a standard protocol that will serve both web service providers and service users. As with other remote procedure call protocols, SOAP uses XML to encode messages and HTTP to transport them. A SOAP request contains a header and an envelope; the envelope in turn contains the body of the request.
One key difference between the SOAP and XML-RPC protocols is that with SOAP, parameters are notational (a request must encode the method parameter names within its XML), rather than positional (recognized by position). To learn more about SOAP messages, see the SOAP specification at http://www.w3.org/TR/.
Remote procedure calls provide a powerful tool for accessing services over the Internet. For example, there are already a variety of web-based servers that can check spelling, translate text between languages, provide stock prices, supply weather and traffic information, and more. You can find available services at sites such as XMethods at http://www.xmethods.net/. There you can also find information you’ll need to make remote procedure calls to these services.
…
Website: developer.apple.com | Filesize: 518kb
No of Page(s): 42
Click here to download XML-RPC and SOAP Programming Guide.
Related Tutorial
Tags: SOAP, Web Services, WSDL, XML Schema, XML-RPC, XPath, XQuery, XSLT
Comments
Leave a Reply