Class WSDLOperationFinder


  • 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.
    Author:
    Rama Pulavarthi
    See Also:
    OperationDispatcher
    • Field Detail

      • wsdlModel

        protected final WSDLPort wsdlModel
      • seiModel

        protected final SEIModel seiModel
    • Constructor Detail

      • WSDLOperationFinder

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

      • getWSDLOperationQName

        public QName getWSDLOperationQName​(Packet request)
                                    throws DispatchException
        Deprecated.
        use getWSDLOperationMapping(Packet request)
        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