Skip to main content

Defining a One-Way Web Method

Normally, when a web client calls a web service, a SOAP message is returned, even if the method has no return type and returns nothing when executed in InterSystems IRIS® data platform.

In rare cases, you might need to define a web method as being one-way. Such a method must return no value, and no SOAP response is expected to the message.


One-way methods should normally not be used. A request-response pair is much more common, supported, and expected — even for a method that has no return type.

To define a one-way web method, define the return type of the method as %SOAP.OneWayOpens in a new tab. The WSDL does not define output defined for this web method, and the web service does not return a SOAP message.

FeedbackOpens in a new tab