Class AnonymousServiceFactory


  • public class AnonymousServiceFactory
    extends Object
    Returns an anonymous service for the given QoS. If an instance does not already exist, create one and set it to the Axis configuration
    • Constructor Detail

      • AnonymousServiceFactory

        public AnonymousServiceFactory()
    • Method Detail

      • getAnonymousService

        public static org.apache.axis2.description.AxisService getAnonymousService​(SynapseConfiguration synCfg,
                                                                                   org.apache.axis2.engine.AxisConfiguration axisCfg,
                                                                                   boolean wsAddrOn,
                                                                                   boolean wsRMOn,
                                                                                   boolean wsSecOn)
        Creates an AxisService for the requested QoS for sending out messages Callers must guarantee that if wsRMon or wsSecOn is required, that wsAddrOn is also set
        Parameters:
        synCfg - Synapse configuration
        axisCfg - Axis2 configuration
        wsAddrOn - whether addressing is on or not
        wsRMOn - whether RM is on ot not
        wsSecOn - whether security is on or not
        Returns:
        An Axis service for the requested QoS
      • getAnonymousService

        public static org.apache.axis2.description.AxisService getAnonymousService​(SynapseConfiguration synCfg,
                                                                                   org.apache.axis2.engine.AxisConfiguration axisCfg,
                                                                                   boolean wsAddrOn,
                                                                                   boolean wsRMOn,
                                                                                   boolean wsSecOn,
                                                                                   boolean setCallback)
        Creates an AxisService for the requested QoS for sending out messages Callers must guarantee that if wsRMon or wsSecOn is required, that wsAddrOn is also set
        Parameters:
        synCfg - Synapse configuration
        axisCfg - Axis2 configuration
        wsAddrOn - whether addressing is on or not
        wsRMOn - whether RM is on ot not
        wsSecOn - whether security is on or not
        setCallback - whether to register a synapse callback receiver or not
        Returns:
        An Axis service for the requested QoS
      • getAnonymousService

        public static org.apache.axis2.description.AxisService getAnonymousService​(org.apache.axis2.engine.AxisConfiguration axisCfg,
                                                                                   String serviceKey)
                                                                            throws org.apache.axis2.AxisFault
        Throws:
        org.apache.axis2.AxisFault