com.sun.xml.ws.wsdl
Class ActionBasedOperationFinder

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

final class ActionBasedOperationFinder
extends WSDLOperationFinder

An WSDLOperationFinder implementation that uses WS-Addressing Action Message Addressing Property, wsa:Action and SOAP Payload QName, as the key for dispatching.

This should be used only when AddressingFeature is enabled. A map of all ActionBasedOperationSignatures in the port and the corresponding and the WSDL Operation QNames is maintained.


Field Summary
 
Fields inherited from class com.sun.xml.ws.wsdl.WSDLOperationFinder
binding, seiModel, wsdlModel
 
Constructor Summary
ActionBasedOperationFinder(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

ActionBasedOperationFinder

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

getWSDLOperationQName

public QName getWSDLOperationQName(Packet request)
                            throws DispatchException
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:
WSDL operation Qname. return null if WS-Addressing is not engaged.
Throws:
DispatchException - with WSA defined fault message when it cannot find an associated WSDL operation.


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