/** * 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 * * @param synCfg Synapse configuration * @param axisCfg Axis2 configuration * @param wsAddrOn whether addressing is on or not * @param wsSecOn whether security is on or not * @return An Axis service for the requested QoS */ public static AxisService getAnonymousService(SynapseConfiguration synCfg, AxisConfiguration axisCfg, boolean wsAddrOn, boolean wsSecOn) { return getAnonymousService(synCfg, axisCfg, wsAddrOn, wsSecOn, true); }
/** * 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 * @param synCfg Synapse configuration * @param axisCfg Axis2 configuration * @param wsAddrOn whether addressing is on or not * @param wsRMOn whether RM is on ot not * @param wsSecOn whether security is on or not * @return An Axis service for the requested QoS */ public static AxisService getAnonymousService(SynapseConfiguration synCfg, AxisConfiguration axisCfg, boolean wsAddrOn, boolean wsRMOn, boolean wsSecOn) { return getAnonymousService(synCfg, axisCfg, wsAddrOn, wsRMOn, wsSecOn, true); }
configurationContext = axisInMsgCtx.getConfigurationContext(); anonymousService = AnonymousServiceFactory.getAnonymousService( configurationContext.getAxisConfiguration(), LOCAL_ANON_SERVICE); } else { anonymousService = AnonymousServiceFactory.getAnonymousService( null, configurationContext.getAxisConfiguration(),
AxisService anonymousService = AnonymousServiceFactory.getAnonymousService(null, configurationContext.getAxisConfiguration(), endpointDefinition.isAddressingOn(), endpointDefinition.isSecurityOn(), false);
AnonymousServiceFactory.getAnonymousService(synapseOutMessageContext.getConfiguration(), axisCfg, wsAddressingEnabled, wsRMEnabled, wsSecurityEnabled);
AnonymousServiceFactory.getAnonymousService(synapseOutMessageContext.getConfiguration(), axisCfg, wsAddressingEnabled, wsSecurityEnabled);
configurationContext = axisInMsgCtx.getConfigurationContext(); anonymousService = AnonymousServiceFactory.getAnonymousService( configurationContext.getAxisConfiguration(), LOCAL_ANON_SERVICE); } else { anonymousService = AnonymousServiceFactory.getAnonymousService( null, configurationContext.getAxisConfiguration(),