# Operation Determination

When using a Dispatch client with a WSDL file, the operation name will be set under one of the following cases.

* The javax.xml.ws.handler.MessageContext.WSDL\_OPERATION property of the request context is set with the operation QName.

* The addressing feature is enabled (in the bus or at the endpoint) and there is a matching operation to the payload element.

* The "find.dispatch.operation" property of the request context is set to Boolean.TRUE and there is a matching operation to the payload element. This property is not set by default. Determining the correct operation will affect the processing such as setting the correct SOAPAction or WS-Addressing's Action.