Robert,

please see my comments inline.

robert lazarski wrote:
> Hmm, not enough to go on here I don't think - I can't find that message
> anywhere in the axis2 source. You'll need to turn on logging then - put
> the server in debug mode via WEB-INF/classes/log4j.properties . Post the
> relevant logs and maybe we can help.


I'm using Axis2 1.0 RC2. Try do deploy the MyServiceWithModule.aar file
(you can find it in $AXIS2_HOME/samples/userguide): you'll get the same
error.
> 
> Also, try reading this article - it might help you on the format of
> services.xml .
> 
> http://www.developer.com/open/article.php/3589126
> 
> In particular, I'd make sure that 'parameter name' is legal outside of
> <service></service> - I can't find any examples that do it that way.

Please have a look here http://ws.apache.org/axis2/0_95/userguide2.html
(step 2).

> 
> HTH,
> Robert
> http://www.braziloutsource.com/
> 
> On 4/26/06, * Michele Mazzucco* < [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
> 
>     Robert,
> 
>     it just says "Requested resource not found!", but the jar file is
>     complete of all necessary files (services.xml in META-INF and class
>     files in stock/service).
> 
>     Michele
> 
> 
>     robert lazarski wrote:
>     > Try clicking on the faulty service and posting the stack trace, maybe
>     > that'll help us track down the problem.
>     >
>     > Robert
>     > http://www.braziloutsource.com/ <http://www.braziloutsource.com/>
>     >
>     > On 4/26/06, *Michele Mazzucco* < [EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>
>     > <mailto:[EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>>> wrote:
>     >
>     >     Hi all,
>     >
>     >     I'm using Axis2 1.0 RC2 and I'm having troubles with
>     services.xml when I
>     >     include more that one service.
>     >
>     >     In particular, the services.xml below doesn't work (the .aar
>     file is
>     >     shown as "faulty service")
>     >
>     >     <?xml version=" 1.0" encoding="UTF-8"?>
>     >
>     >     <serviceGroup>
>     >             <service>
>     >                     <description>
>     >                     First
>     >                 </description>
>     >               <parameter name="serviceClass"
>     >     locked="xsd:false"> stock.service.StockQuoteService</parameter>
>     >
>     >               <operation name="getQuote">
>     >                 <messageReceiver
>     >     class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
>     >               </operation>
>     >
>     >               <operation name="subscribe">
>     >                 <messageReceiver
>     >     class="org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver"/>
>     >               </operation>
>     >             </service>
>     >
>     >             <service>
>     >                     <description>Second</description>
>     >                     <parameter name="serviceClass"
>     >     locked="xsd:false">stock.service.SchemaQuoteService</parameter>
>     >
>     >                     <operation name="getQuote1">
>     >                             <messageReceiver
>     >     class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
>     >                     </operation>
>     >
>     >                     <operation name="subscribe1">
>     >                             <messageReceiver
>     >     class="org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver"/>
>     >                     </operation>
>     >             </service>
>     >
>     >
>     >             <!-- <module ref="ModuleName" /> -->
>     >             <parameter name="serviceGroupParam1" locked="false">value
>     >     1</parameter>
>     >     </serviceGroup>
>     >
>     >     Any idea?
>     >
>     >     Thanks in advance,
>     >     Michele
>     >
>     >
> 
> 

Reply via email to