Loading

Tag Archives: services

Passing configuration parameter to Axis2 services

One way to pass parameters to you Axis2 service: 1) write a <parameter> tag inside your services.xml   <?xml version="1.0" encoding="UTF-8"?> <!– This file was auto-generated from WSDL –> <!– by the Apache Axis2 version: 1.3 Built on : Aug 10, 2007 (04:45:47 LKT) –> <serviceGroup> <service name="xxxxxxx" class="MyServiceLifeCycleImpl">   …. <parameter name="jdbcConnectionString">jdbc:derby:c:/demoderby2b;create=true;user=a;password=b;</parameter> <parameter name="jdbcDriver">org.apache.derby.jdbc.EmbeddedDriver</parameter> [...]