5.29.3 OPEN

The OPEN command loads the service and provider classes to handle the SOAP transaction.

Syntax:

Command

Keyword

Value

Developer notes

OPEN

SERVICE

value

Required. Service name.

VALIDATE

*ALL

Optional. Validate SOAP request and response messages using an XML Schema.

*NONE

No validation.

*OPTIONAL

Only validate if service properties are available.
Default.

*REQUEST

Validate SOAP request message.

*RESPONSE

Validate SOAP response message.

 

Example

OPEN SERVICE(SEARCH)

 

The SERVICE keyword is a symbolic name for the service and provider classes created by the SOAP Wizard. This example uses a service class named com.acme.SearchService a and a provider class com.acme.SearchProvider for a SERVICE value of SEARCH:

 

service.search=com.acme.SearchService

provider.search=com.acme.SearchProvider

 

The optional VALIDATE keyword controls whether XML Schema validation is done on the SOAP XML request and response messages. The external XML Schema files used to validate the SOAP messages is specified in the service properties file. The service and operation names are used in the service property to qualify each entry. For example:

 

# service.validate.request.service.operation=soap-server-schemas/soap-envelope.xsd

# service.validate.response.service.operation=soap-server-schemas/soap-envelope.xsd