com.sun.xml.ws.wsdl
Class SOAPActionBasedOperationFinder

java.lang.Object
  extended by com.sun.xml.ws.wsdl.WSDLOperationFinder
      extended by com.sun.xml.ws.wsdl.SOAPActionBasedOperationFinder

final class SOAPActionBasedOperationFinder
extends WSDLOperationFinder

An WSDLOperationFinder that uses SOAPAction as the key for dispatching.

A map of all SOAPAction on the port and the corresponding WSDL operation QName is initialized in the constructor. The SOAPAction from the request Packet is used as the key to identify the associated wsdl operation.


Field Summary
 
Fields inherited from class com.sun.xml.ws.wsdl.WSDLOperationFinder
binding, seiModel, wsdlModel
 
Constructor Summary
SOAPActionBasedOperationFinder(WSDLPort wsdlModel, WSBinding binding, SEIModel seiModel)
           
 
Method Summary
 QName getWSDLOperationQName(Packet request)
          This methods returns the QName of the WSDL operation correponding to a request Packet.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SOAPActionBasedOperationFinder

public SOAPActionBasedOperationFinder(WSDLPort wsdlModel,
                                      WSBinding binding,
                                      @Nullable
                                      SEIModel seiModel)
Method Detail

getWSDLOperationQName

public QName getWSDLOperationQName(Packet request)
Description copied from class: WSDLOperationFinder
This methods returns the QName of the WSDL operation correponding to a request Packet. An implementation should return null when it cannot dispatch to a unique method based on the information it processes. In such case, other OperationFinders are queried to resolve a WSDL operation. It should throw an instance of DispatchException if it finds incorrect information in the packet.

Specified by:
getWSDLOperationQName in class WSDLOperationFinder
Parameters:
request - Request Packet that is used to find the associated WSDLOperation
Returns:
QName of the WSDL Operation that this request correponds to. null when it cannot find a unique operation to dispatch to.


Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.