5.23.3 OPEN

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

Syntax:

Command

Keyword

Value

Developer notes for Command/Keyword/Value

OPEN

SERVICE

value

Mandatory. Service name.

VALIDATE

*ALL

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

*OPTIONAL

Only validate if service properties are available.
Default.

*NONE

No validation.

*REQUEST

Validate SOAP request message.

*RESPONSE

Validate SOAP response message.

 

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.

Example

 

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

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

 

 

Example

 

OPEN SERVICE(SEARCH)