Hi, I would like hear if it some how is possible to configure Axis2 dynamic as the following in my service descriptor.
<serviceGroup> <service name="MyService"> <parameter name="ServiceObjectSupplier"> org.apache.axis2.extensions.spring.receivers.SpringAppContextAwareObjectSupplier </parameter> <parameter name="SpringBeanName">myService</parameter> <operation name="getJob"> <messageReceiver class= "org.apache.axis2.rpc.receivers.RPCMessageReceiver" /> </operation> <operation name="setStatus"> <messageReceiver class= "org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver" /> </operation> </service> </serviceGroup> I now it is possible configure Axis2 dynamic with ordinary services using AxisService.createService(...), but how do I do it with Spring enabled services? //Configure Axis2 dynamic without spring support. Map<String, MessageReceiver> mep = new HashMap<String, MessageReceiver>(); mep.put("http://www.w3.org/2004/08/wsdl/in-only", RPCInOnlyMessageReceiver. class.newInstance()); mep.put("http://www.w3.org/2004/08/wsdl/in-out", RPCMessageReceiver.class .newInstance()); ConfigurationContext config = ConfigurationContextFactory. createConfigurationContextFromFileSystem(null,null); AxisService service = AxisService.createService("MyService.class", config.getAxisConfiguration(), mep, null, null, BufferFactory.class .getClassLoader()); config.getAxisConfiguration().addService(service); Regards Multi-Support A/S Torben Riis -------------------------------------------------------------------- Phone +45 96 600 600, Fax +45 96 600 601 E-mail: [EMAIL PROTECTED] http://www.multi-support.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]