Skip to main content

InterSystems IRIS Support for Web Services

InterSystems IRIS Support for Web Services

You can provide a SOAP-enabled front end for your production. To do so, you create an production web service, which is both a web service and a business service. Internally, your web methods generally receive SOAP request messages, use them to create and send request messages as needed within the production, receive the response messages, and use them to create SOAP response messages.

SOAP request from outside production goes to web service which sends it to other production components and then returns their

To enable you to create a production web service, InterSystems IRIS provides the base production web service class (EnsLib.SOAP.ServiceOpens in a new tab), as well as supporting classes in the %SOAP and %XML packages.

InterSystems IRIS provides powerful, built-in support for web services. The base production web service class does the following for you:

  • Validates incoming SOAP messages.

  • Unpacks SOAP messages, converts data to InterSystems IRIS representation, and invokes the corresponding method, which sends a request message to a destination inside the production.

  • Runs the method.

  • Receives a response message and then creates and returns a response message (a SOAP message) to the caller.

The SOAP specification does not include session support. However, it is often useful to maintain a session between a web client and the web service that it uses. You can do this with a production web service. If a web service uses sessions, it establishes a session ID and allows repeated calls on the service after one successfully authenticated call from a client.

The production web service class also provides the full functionality of any business service.

Note:

To create a production web service, you do not use a production adapter.

FeedbackOpens in a new tab