![]()
|
OpenSOAP Project The Middleware as Platform for IT Application Services | |||||
Menu |
OpenSOAP ArchitectureOpenSOAP Architecture OutlineThe architecture of OpenSOAP is illustrated by the following diagram. In general, OpenSOAP is made up of the following 3 components The Client API, in combination with the Client System, generates a SOAP request message(Envelope), calls a Service(Invoke) and interprets the SOAP response message. The called Service(Endpoint) can be any SOAP compatible Server. The OpenSOAP Server reads the method from the SOAP message received by the TransportInterface and passes it to the appropriate service program. Depending on the circumstances, it may be forwarded to another OpenSOAP Server, or spool a response message, and supports asynchronous connection with the Client. The Service API allows an existing service system to become a Web Service, by connecting to an OpenSOAP Server or by operating independently. The Service API receives a SOAP request message, interprets it, and supports the generation of a SOAP response message. Also, the OpenSOAP security features support access to Certification Authority (Public Key Acquisition, Registration), and make it possible to implement an independent Certification Authority. Client APIThe Client API is provided as a C Language library.
After the OpenSOAP package has been installed with the default settings, when compiling new service programs,
/usr/local/include has to be added to the include path and /usr/local/lib has to be added to the library path.
At compile time, the library -lOpenSOAPClient must be specified for the service programs. OpenSOAP ver1.0, using the Client API OpenSOAPTransport, can both send and receive messages conforming to the HTTP1.0 standard. Please refer to the Programming Guide for details on how to program with the OpenSOAP Client API. Service APIThe Service API is provided as a C Language library. It is an extension of the Client API, and also contains an API for service access and registration.
After the OpenSOAP package has been installed with default settings, when compiling new service programs,
/usr/local/include has to be added to the include path and /usr/local/lib has to be added to the library path.
At compile time, the libraries -lOpenSOAPService -lOpenSOAPClient must be specified for the service programs. The OpenSOAP Service API can operate in "StdIO mode" for communication with the OpenSOAP Server through standard input/output or through the inetd service, or in "cgi mode" through a CGI supported HTTP server such as Apache. Please refer to the Programming Guide for details on how to program with the OpenSOAP Service API. OpenSOAP Server
The OpenSOAP Server supports many practical Client/Service applications. OpenSOAP Server Transport Interface
The OpenSOAP Server has an independent transport interface. Service Registration
With OpenSOAP Server Ver1.0, it is possible, using standard I/O or through a socket, to connect to a service. Asynchronous Processing
In the OpenSOAP specification, once a request has been accepted, the Client session is disconnected while the service
processing is performed. When processing is completed, the processing result is spooled inside the Server until the
Client, through polling the Server, receives the response of the processing result. This is asychronous processing. Below is listed a request message header that illustrates this. The OpenSOAP Server reads this header and performs asynchronous processing.
The following illustrates an example of a message ID returned from the OpenSOAP Server.
Intra-Server Forwarding
The OpenSOAP specification realizes the concept of forwarding the message to the appropriate Server(Intra-Server forwarding). Below are listed some request message headers that illustrate these cases. The OpenSOAP Server reads these headers and performs the necessary forwarding. Specifying a limit to the number of forwardings allowed
Specifying a forward path
Copyright (C) 2001-2004 Webmasters of www.opensoap.jp. All
Rights Reserved.
|