Class BasicProvider

  • All Implemented Interfaces:
    java.io.Serializable, Handler
    Direct Known Subclasses:
    BSFProvider, ComProvider, JavaProvider

    public abstract class BasicProvider
    extends BasicHandler
    This class has one way of keeping track of the operations declared for a particular service provider. I'm not exactly married to this though.
    See Also:
    Serialized Form
    • Field Detail

      • OPTION_WSDL_PORTTYPE

        public static final java.lang.String OPTION_WSDL_PORTTYPE
        See Also:
        Constant Field Values
      • OPTION_WSDL_SERVICEELEMENT

        public static final java.lang.String OPTION_WSDL_SERVICEELEMENT
        See Also:
        Constant Field Values
      • OPTION_WSDL_SERVICEPORT

        public static final java.lang.String OPTION_WSDL_SERVICEPORT
        See Also:
        Constant Field Values
      • OPTION_WSDL_TARGETNAMESPACE

        public static final java.lang.String OPTION_WSDL_TARGETNAMESPACE
        See Also:
        Constant Field Values
      • OPTION_WSDL_INPUTSCHEMA

        public static final java.lang.String OPTION_WSDL_INPUTSCHEMA
        See Also:
        Constant Field Values
      • OPTION_WSDL_SOAPACTION_MODE

        public static final java.lang.String OPTION_WSDL_SOAPACTION_MODE
        See Also:
        Constant Field Values
      • OPTION_EXTRACLASSES

        public static final java.lang.String OPTION_EXTRACLASSES
        See Also:
        Constant Field Values
      • log

        protected static org.apache.commons.logging.Log log
      • entLog

        protected static org.apache.commons.logging.Log entLog
    • Constructor Detail

      • BasicProvider

        public BasicProvider()
    • Method Detail

      • initServiceDesc

        public abstract void initServiceDesc​(SOAPService service,
                                             MessageContext msgContext)
                                      throws AxisFault
        This method returns a ServiceDesc that contains the correct implimentation class.
        Throws:
        AxisFault
      • addOperation

        public void addOperation​(java.lang.String name,
                                 QName qname)
      • getOperationName

        public java.lang.String getOperationName​(QName qname)
      • getOperationQNames

        public QName[] getOperationQNames()
      • getOperationNames

        public java.lang.String[] getOperationNames()
      • generateWSDL

        public void generateWSDL​(MessageContext msgContext)
                          throws AxisFault
        Generate the WSDL for this service. Put in the "WSDL" property of the message context as a org.w3c.dom.Document
        Specified by:
        generateWSDL in interface Handler
        Overrides:
        generateWSDL in class BasicHandler
        Parameters:
        msgContext - the MessageContext to generate the WSDL to
        Throws:
        AxisFault - if there was a problem generating the WSDL