Library Link To Toggle Frames Print Feedback

Standalone Demonstration

The standalone demonstration is a simple client/server application, where operation invocations are transmitted over the SOAP/HTTP protocol.

Demonstration location

The CXF standalone demonstration is located in the following directory:

CeltixInstallDir/samples/service_creation/hello_world

Demonstration overview

Figure 2.1, “Overview of the Standalone Demonstration” shows the main components of the standalone demonstration. This is a straightforward client/server Web service application.

Figure 2.1. Overview of the Standalone Demonstration

Overview of the Standalone Demonstration

Standalone server

The server program is a Web service that accepts requests through the SOAP/HTTP protocol. The server’s WSDL contract is defined in Greeter Service WSDL . Because the server is implemented in standalone mode, you need to program Celtix ASE to create an instance of the service explicitly, as discussed in Main Function for a Standalone Service .

Client

The client program is a standalone Web client, implemented using Celtix ASE. The client implementation invokes each of the Greeter interface’s operations in sequence: sayHi, greetMe, greetMeOneWay, and pingMe.

SOAP binding

The SOAP binding for the Greeter service is defined in the WSDL contract, as shown in SOAP binding for Greeter .

HTTP transport

The HTTP transport for the Greeter service is defined in the WSDL contract, as shown in HTTP port for Greeter .