Service Operation

Service operation is the code and the metadata associated with a specific operation of a service.

In terms of WSDL, each wsdl:operation defined in the WSDL document for a given portType is a service operation.

<wsdl:definitions xmlns:soap="" 
xmlns:soapenc="" xmlns:tns="" 
xmlns:wsa="" xmlns:wsp="" 
xmlns:wsap="" xmlns:xsd="" 
xmlns:msc="" xmlns:wsaw="" 
xmlns:soap12="" xmlns:wsa10="" 
xmlns:wsx="" targetNamespace="" 
 <wsdl:portType name="ICalculator">
  <wsdl:operation name="Add">
   <wsdl:input wsaw:Action="" 
   message="tns:ICalculator_Add_InputMessage" />
   <wsdl:output wsaw:Action="" 
   message="tns:ICalculator_Add_OutputMessage" />

Each service operation within service model is given as a WS_OPERATION_DESCRIPTION. WS_OPERATION_DESCRIPTION is generated by wsutil.exe.

For each wsdl:operation the tool generates a separate WS_OPERATION_DESCRIPTION.

static WS_OPERATION_DESCRIPTION serviceOperationsICalculator[] =
        // Add Method

In terms of code each service operation has a function associated with it. The definition of this function is different for client and servers.

Service operations are classified into,

This classification is mainly based on the signature layout of the server and the client side implementations of service operations.

See also, WSDL support section.

The following enumerations are used with service operations:

The following structures are used with service operations:



Community Additions