You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Alistair Young <al...@smo.uhi.ac.uk> on 2006/08/08 17:03:06 UTC
services.xml - where?
I have services.xml in:
org/test/META-INF/services.xml
but axis2 says it can't find services.xml for the service. The
website says to put META-INF/services.xml in the same directory as
the class file. So I looked at the version.aar that comes with axis2
and it has two:
META-INF/services.xml
sample/axisversion/META-INF/services.xml
which is the correct location?
thanks,
Alistair
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: services.xml - where?
Posted by Alistair Young <al...@smo.uhi.ac.uk>.
oh dear, it's time to go home! It should be:
org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver
--
Alistair Young
Senior Software Engineer
UHI@Sabhal Mòr Ostaig
Isle of Skye
Scotland
> thanks, putting META-INF at the same level as src works but the
> website image has META-INF inside the package structure.
>
> Now I get the error:
>
> ClassNotFoundException Error in loading message receivers
> org.apache.axis2.receivers.RPCInOutAsyncMessageReceiver
>
> Alistair
>
> On 8 Aug 2006, at 16:15, Nirmit Desai wrote:
>
>> You should have your services.xml in the same directory as your
>> classes
>> (not inside packages). So,
>>
>> --org
>> --test
>> --MyTest.class
>> --META-INF
>> --services.xml
>> --myService.wsdl(optional)
>>
>> -Nirmit
>>
>>
>>
>>
>> Alistair Young
>> <alistair@smo.uhi
>> .ac.uk>
>> To
>> axis-user@ws.apache.org
>> 08/08/2006
>> 11:03 cc
>> AM
>>
>> Subject
>> services.xml - where?
>> Please respond to
>> axis-user@ws.apac
>> he.org
>>
>>
>>
>>
>>
>>
>>
>> I have services.xml in:
>> org/test/META-INF/services.xml
>> but axis2 says it can't find services.xml for the service. The
>> website says to put META-INF/services.xml in the same directory as
>> the class file. So I looked at the version.aar that comes with axis2
>> and it has two:
>>
>> META-INF/services.xml
>> sample/axisversion/META-INF/services.xml
>>
>> which is the correct location?
>>
>> thanks,
>>
>> Alistair
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: services.xml - where?
Posted by Alistair Young <al...@smo.uhi.ac.uk>.
thanks, putting META-INF at the same level as src works but the
website image has META-INF inside the package structure.
Now I get the error:
ClassNotFoundException Error in loading message receivers
org.apache.axis2.receivers.RPCInOutAsyncMessageReceiver
Alistair
On 8 Aug 2006, at 16:15, Nirmit Desai wrote:
> You should have your services.xml in the same directory as your
> classes
> (not inside packages). So,
>
> --org
> --test
> --MyTest.class
> --META-INF
> --services.xml
> --myService.wsdl(optional)
>
> -Nirmit
>
>
>
>
> Alistair Young
> <alistair@smo.uhi
> .ac.uk>
> To
> axis-user@ws.apache.org
> 08/08/2006
> 11:03 cc
> AM
>
> Subject
> services.xml - where?
> Please respond to
> axis-user@ws.apac
> he.org
>
>
>
>
>
>
>
> I have services.xml in:
> org/test/META-INF/services.xml
> but axis2 says it can't find services.xml for the service. The
> website says to put META-INF/services.xml in the same directory as
> the class file. So I looked at the version.aar that comes with axis2
> and it has two:
>
> META-INF/services.xml
> sample/axisversion/META-INF/services.xml
>
> which is the correct location?
>
> thanks,
>
> Alistair
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: services.xml - where?
Posted by Nirmit Desai <ni...@us.ibm.com>.
You should have your services.xml in the same directory as your classes
(not inside packages). So,
--org
--test
--MyTest.class
--META-INF
--services.xml
--myService.wsdl(optional)
-Nirmit
Alistair Young
<alistair@smo.uhi
.ac.uk> To
axis-user@ws.apache.org
08/08/2006 11:03 cc
AM
Subject
services.xml - where?
Please respond to
axis-user@ws.apac
he.org
I have services.xml in:
org/test/META-INF/services.xml
but axis2 says it can't find services.xml for the service. The
website says to put META-INF/services.xml in the same directory as
the class file. So I looked at the version.aar that comes with axis2
and it has two:
META-INF/services.xml
sample/axisversion/META-INF/services.xml
which is the correct location?
thanks,
Alistair
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org