soap

Declares that the operation can be activated by a SOAP request.

public soap

Use

Use in the declaration of the component-level operation or exec operation of a Service component, Dynamic Server Page, or Static Server Page.

Description

The public soap declaration can be used to make an operation accessible to the SOAP client. If a SOAP client attempts to activate an operation that does not contain the public soap declaration, a SoapFault is returned with the message Access denied.

Making Operations Accessible to SOAP Clients

operation SOAP_UPDATE
public soap ;- declare accessible via SOAP channel
  params
  endparams
  <... do something ...>
end

Making a DSP Operation Accessible to Both Web and SOAP Clients

It is possible to use both the public soap and public web declarations in a DSP operation or trigger.

 
operation doSomething 
  public soap
  public web
  scope       
    input
    output
  endscope
  < ... do something ...>
end
History
Version Change
9.7.04 G402 Introduced

Related Topics