Hi Michele,

I'm ServiceLifeCycle.startUp() in the spring tutorial, and as of svn
two days ago it was working fine. Here's my sevices.xml:

<serviceGroup>
 <!-- Invoke SpringInit on server startup and shutdown -->
 <service name="SpringAwareService" class="spring.SpringInit">
   <description>
        simple spring example - inside the AAR
   </description>
   <!-- need the TCCL param when using spring inside the AAR -->
   <parameter name="ServiceTCCL" locked="false">composite</parameter>
   <parameter name="ServiceObjectSupplier"
locked="false">org.apache.axis2.extensions.spring.receivers.SpringAppContextAwareObjectSupplier</parameter>
   <parameter name="SpringBeanName"
locked="false">springAwareService</parameter>
   <operation name="getValue">
       <messageReceiver
class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
   </operation>
 </service>
</serviceGroup>

You can find the whole tutorial here, in your case the 'Spring Inside
an AAR' section.

http://svn.apache.org/repos/asf/webservices/axis2/branches/java/1_1/xdocs/1_1/spring.html

Robert

On 10/27/06, Michele Mazzucco <[EMAIL PROTECTED]> wrote:
Hi all,

I'm using the axis2 1.1 of 2 days ago (Wednesday) and I've noticed the
startUp() method of my service is not invoked at system startup. Does it
need any particular configuration?. My service.xml looks like:


<?xml version="1.0" encoding="UTF-8"?>

<service name="RoutingService" scope="application">

          <parameter name="ServiceClass" locked="xsd:false">
                ncl.qosp.controller.RoutingService
          </parameter>

          <parameter name="load-on-startup" locked="false">true</parameter>

          <operation name="addService">
                <messageReceiver
class="org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver"/>
                <actionMapping>urn:addService</actionMapping>
          </operation>

          <operation name="addNode">
                <messageReceiver
class="org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver"/>
                <actionMapping>urn:addNode</actionMapping>
          </operation>

          <operation name="forward">
                <messageReceiver
class="org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver"/>
                <actionMapping>urn:forward</actionMapping>
          </operation>

          <operation name="result">
                <messageReceiver
class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
                <actionMapping>urn:result</actionMapping>
          </operation>
</service>



Thanks in advance,
Michele

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to