com.sun.xml.ws.wsdl
Class WSDLOperationFinder

java.lang.Object
  extended by com.sun.xml.ws.wsdl.WSDLOperationFinder
Direct Known Subclasses:
ActionBasedOperationFinder, PayloadQNameBasedOperationFinder, SOAPActionBasedOperationFinder

public abstract class WSDLOperationFinder
extends Object

Extensions if this class will be used for dispatching the request message to the correct endpoint method by identifying the wsdl operation associated with the request.


Field Summary
protected  WSBinding binding
           
protected  SEIModel seiModel
           
protected  WSDLPort wsdlModel
           
 
Constructor Summary
WSDLOperationFinder(WSDLPort wsdlModel, WSBinding binding, SEIModel seiModel)
           
 
Method Summary
abstract  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
 

Field Detail

wsdlModel

protected final WSDLPort wsdlModel

binding

protected final WSBinding binding

seiModel

protected final SEIModel seiModel
Constructor Detail

WSDLOperationFinder

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

getWSDLOperationQName

public abstract QName getWSDLOperationQName(Packet request)
                                     throws DispatchException
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.

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.
Throws:
DispatchException - When the information in the Packet is invalid


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