Using Web Methods to Invoke RPC

This section provides some examples of using Web methods to invoke RPC.

Since SOAP RPC Representation specification encourages users to use Web methods for RPC invocation whenever possible, let's look at some examples.

Example 1 - A user needs to invoke the following RPC on a target system called "inventory":

   getQuantityInStock(PartNumber="123")

Obviously, this invocation can be done as a Web method of "GET" type with a target SOAP node URI like:

   http://inventory/quantityInStock?PartNumber=123

Example 2 - Another user needs to invoke the following RPC on a target system called "inventory":

   updateQuantityInStock(PartNumber="123", NewQuantity="200")

This invocation can still be done as a Web method of "GET" type with a target SOAP node URI like:

   http://inventory/updateQuantityInStock?PartNumber=123&NewQuantity=200

It can also be invoked as a Web method of "POST" type with a target SOAP node URI like:

   http://inventory/updateQuantityInStock

and transmit input parameters: PartNumber="123", NewQuantity="200", in the HTTP request body.

Table of Contents

 About This Book

 Introduction to Web Service

 Introduction to SOAP (Simple Object Access Protocol)

 SOAP Message Structure

 SOAP Message Transmission and Processing

 SOAP Data Model

 SOAP Encoding

SOAP RPC Presentation

 What Is SOAP RPC Presentation

Using Web Methods to Invoke RPC

 Using SOAP Messages to Invoke RPC

 RPC Response Messages

 SOAP Properties Model

 SOAP MEP (Message Exchange Patterns)

 SOAP HTTP Binding

 SOAP PHP Implementations

 PHP SOAP Extension Client Programs

 PHP SOAP Extension Server Programs

 PHP SOAP Web Service Example - getTemp

 SOAP Perl Implementations

 Perl SOAP::Lite - SOAP Server-Client Communication Module

 Perl Socket Test Program for HTTP and SOAP

 Perl SOAP::Lite for NumberToWords SOAP 1.1 Web Service

 Perl SOAP::Lite for SOAP 1.2 Web Services

 Perl SOAP::Lite for WSDL

 Python SOAP Client: Zeep

 SOAP Java Implementations

 Java Socket and HttpURLConnection for SOAP

 SAAJ - SOAP with Attachments API for Java

 SoapUI - SOAP Web Service Testing Tool

 WS-Security - SOAP Message Security Extension

 WS-Security X.509 Certificate Token

 Perl SOAP::Lite for GetSpeech SOAP 1.1 Web Service

 Perl SOAP::Lite 0.710 for SOAP 1.2 Web Services

 Perl SOAP::Lite 0.710 for WSDL

 Web Services and SOAP Terminology

 Archived Tutorials

 References

 Full Version in PDF/EPUB