Re: [axis2] services.xml problems

2006-04-27 Thread Deepal Jayasinghe
psl send me your service archive file , there should be some problem
with that.

Michele Mazzucco wrote:

>It just says "Requested resource not found!"
>
>Deepal Jayasinghe wrote:
>  
>
>>Wt was the exception , when you click on fault service link you can get it
>>
>>Michele Mazzucco wrote:
>>
>>
>>
>>>I forget to add that now the problem is visible from the web admin tool
>>>(the service il listed as faulty) and (of course) if you try to run the
>>>client you get the following error
>>>
>>>org.apache.axis2.AxisFault: Service not found operation terminated !!
>>>
>>>
>>>Michele Mazzucco wrote:
>>> 
>>>
>>>  
>>>
Deepal,

unfortunately it still doesn't work.




Deepal Jayasinghe wrote:
   



>Rename
>
>serviceClass to ServiceClass 
>
>
>Michele Mazzucco wrote:
>
> 
>
>  
>
>>Yes:
>>
>>
>>  
>>  
>>  First
>>  
>>>locked="xsd:false">stock.service.StockQuoteService
>>  
>>
>>  >class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
>>
>>  
>>
>>  >class="org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver"/>
>>
>>  
>>
>>  
>>  Second
>>  >locked="xsd:false">stock.service.SchemaQuoteService
>>  
>>  
>>  >class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
>>  
>>  
>>  
>>  >class="org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver"/>
>>  
>>  
>>
>>
>>Deepal Jayasinghe wrote:
>>
>>
>>   
>>
>>
>>
>>>Do you have the serviceClass parameter in both service elements
>>>
>>>
>>>
>locked="xsd:false">stock.service.StockQuoteService
>>>
>>>
>locked="xsd:false">stock.service.StockQuoteService2
>>>
>>>
>>>
>>>
>>>
>>>Michele Mazzucco wrote:
>>>
>>>  
>>>
>>> 
>>>
>>>  
>>>
Hi Deepal,

thanks very much for your help. Now that problem has been fixed, however
at runtime the web service doesn't work any more (while if you provide a
services.xml with a single service it does).

On the client side I get the following exception:

org.apache.axis2.AxisFault: SERVICE_CLASS parameter is not specified
at
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:286)
at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:452)
at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:394)
at client.BlockSingleGetQuote.main(BlockSingleGetQuote.java:42)
Caused by: java.lang.Exception: org.apache.axis2.AxisFault:
SERVICE_CLASS parameter is not specified
at
org.apache.axis2.receivers.AbstractMessageReceiver.makeNewServiceObject(AbstractMessageReceiver.java:57)
at
org.apache.axis2.receivers.AbstractMessageReceiver.getTheImplementationObject(AbstractMessageReceiver.java:90)
at
org.apache.axis2.receivers.RawXMLINOutMessageReceiver.invokeBusinessLogic(RawXMLINOutMessageReceiver.java:73)
at
org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:37)
at 
 org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:450)
at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:283)
at 
 org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:130)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catal

Re: [axis2] services.xml problems

2006-04-27 Thread Michele Mazzucco
It just says "Requested resource not found!"

Deepal Jayasinghe wrote:
> Wt was the exception , when you click on fault service link you can get it
> 
> Michele Mazzucco wrote:
> 
>> I forget to add that now the problem is visible from the web admin tool
>> (the service il listed as faulty) and (of course) if you try to run the
>> client you get the following error
>>
>> org.apache.axis2.AxisFault: Service not found operation terminated !!
>>
>>
>> Michele Mazzucco wrote:
>>  
>>
>>> Deepal,
>>>
>>> unfortunately it still doesn't work.
>>>
>>>
>>>
>>>
>>> Deepal Jayasinghe wrote:
>>>
>>>
 Rename

 serviceClass to ServiceClass 


 Michele Mazzucco wrote:

  

> Yes:
>
> 
>   
>   
>   First
>   
>  locked="xsd:false">stock.service.StockQuoteService
>   
> 
>    class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
> 
>   
> 
>    class="org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver"/>
> 
>   
>
>   
>   Second
>    locked="xsd:false">stock.service.SchemaQuoteService
>   
>   
>    class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
>   
>   
>   
>    class="org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver"/>
>   
>   
> 
>
> Deepal Jayasinghe wrote:
>
>
>
>
>> Do you have the serviceClass parameter in both service elements
>>
>> 
>> 
>> > locked="xsd:false">stock.service.StockQuoteService
>> 
>> 
>> > locked="xsd:false">stock.service.StockQuoteService2
>> 
>> 
>>
>>
>>
>> Michele Mazzucco wrote:
>>
>>   
>>
>>  
>>
>>> Hi Deepal,
>>>
>>> thanks very much for your help. Now that problem has been fixed, however
>>> at runtime the web service doesn't work any more (while if you provide a
>>> services.xml with a single service it does).
>>>
>>> On the client side I get the following exception:
>>>
>>> org.apache.axis2.AxisFault: SERVICE_CLASS parameter is not specified
>>> at
>>> org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:286)
>>> at
>>> org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:452)
>>> at
>>> org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:394)
>>> at client.BlockSingleGetQuote.main(BlockSingleGetQuote.java:42)
>>> Caused by: java.lang.Exception: org.apache.axis2.AxisFault:
>>> SERVICE_CLASS parameter is not specified
>>> at
>>> org.apache.axis2.receivers.AbstractMessageReceiver.makeNewServiceObject(AbstractMessageReceiver.java:57)
>>> at
>>> org.apache.axis2.receivers.AbstractMessageReceiver.getTheImplementationObject(AbstractMessageReceiver.java:90)
>>> at
>>> org.apache.axis2.receivers.RawXMLINOutMessageReceiver.invokeBusinessLogic(RawXMLINOutMessageReceiver.java:73)
>>> at
>>> org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:37)
>>> at 
>>> org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:450)
>>> at
>>> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:283)
>>> at 
>>> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:130)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> at
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>> at
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>> at
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>> at
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>> at
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>> at
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>> at
>>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>>> at
>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConn

Re: [axis2] services.xml problems

2006-04-27 Thread Deepal Jayasinghe
Wt was the exception , when you click on fault service link you can get it

Michele Mazzucco wrote:

>I forget to add that now the problem is visible from the web admin tool
>(the service il listed as faulty) and (of course) if you try to run the
>client you get the following error
>
>org.apache.axis2.AxisFault: Service not found operation terminated !!
>
>
>Michele Mazzucco wrote:
>  
>
>>Deepal,
>>
>>unfortunately it still doesn't work.
>>
>>
>>
>>
>>Deepal Jayasinghe wrote:
>>
>>
>>>Rename
>>>
>>>serviceClass to ServiceClass 
>>>
>>>
>>>Michele Mazzucco wrote:
>>>
>>>  
>>>
Yes:




First

  >>>locked="xsd:false">stock.service.StockQuoteService

  
>>>class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
  

  
>>>class="org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver"/>
  



Second
>>>locked="xsd:false">stock.service.SchemaQuoteService


>>>class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>



>>>class="org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver"/>




Deepal Jayasinghe wrote:
 



>Do you have the serviceClass parameter in both service elements
>
>
>
>locked="xsd:false">stock.service.StockQuoteService
>
>
>locked="xsd:false">stock.service.StockQuoteService2
>
>
>
>
>
>Michele Mazzucco wrote:
>
>   
>
>  
>
>>Hi Deepal,
>>
>>thanks very much for your help. Now that problem has been fixed, however
>>at runtime the web service doesn't work any more (while if you provide a
>>services.xml with a single service it does).
>>
>>On the client side I get the following exception:
>>
>>org.apache.axis2.AxisFault: SERVICE_CLASS parameter is not specified
>>  at
>>org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:286)
>>  at
>>org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:452)
>>  at
>>org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:394)
>>  at client.BlockSingleGetQuote.main(BlockSingleGetQuote.java:42)
>>Caused by: java.lang.Exception: org.apache.axis2.AxisFault:
>>SERVICE_CLASS parameter is not specified
>>  at
>>org.apache.axis2.receivers.AbstractMessageReceiver.makeNewServiceObject(AbstractMessageReceiver.java:57)
>>  at
>>org.apache.axis2.receivers.AbstractMessageReceiver.getTheImplementationObject(AbstractMessageReceiver.java:90)
>>  at
>>org.apache.axis2.receivers.RawXMLINOutMessageReceiver.invokeBusinessLogic(RawXMLINOutMessageReceiver.java:73)
>>  at
>>org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:37)
>>  at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:450)
>>  at
>>org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:283)
>>  at 
>> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:130)
>>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>  at
>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>  at
>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>  at
>>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>  at
>>org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>  at
>>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>  at
>>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>  at
>>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>  at
>>org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>  at
>>org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>>  at
>>org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
>>  at
>>org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>  at
>>org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>  at
>>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>  at java.lang.Thread.run(Thread.java:595)
>>
>>  at org.apache.

Re: [axis2] services.xml problems

2006-04-27 Thread Michele Mazzucco
I forget to add that now the problem is visible from the web admin tool
(the service il listed as faulty) and (of course) if you try to run the
client you get the following error

org.apache.axis2.AxisFault: Service not found operation terminated !!


Michele Mazzucco wrote:
> Deepal,
> 
> unfortunately it still doesn't work.
> 
> 
> 
> 
> Deepal Jayasinghe wrote:
>> Rename
>>
>> serviceClass to ServiceClass 
>>
>>
>> Michele Mazzucco wrote:
>>
>>> Yes:
>>>
>>> 
>>> 
>>> 
>>> First
>>> 
>>>   >> locked="xsd:false">stock.service.StockQuoteService
>>> 
>>>   
>>> >> class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
>>>   
>>> 
>>>   
>>> >> class="org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver"/>
>>>   
>>> 
>>>
>>> 
>>> Second
>>> >> locked="xsd:false">stock.service.SchemaQuoteService
>>> 
>>> 
>>> >> class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
>>> 
>>> 
>>> 
>>> >> class="org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver"/>
>>> 
>>> 
>>> 
>>>
>>> Deepal Jayasinghe wrote:
>>>  
>>>
 Do you have the serviceClass parameter in both service elements

 
 
 >>> locked="xsd:false">stock.service.StockQuoteService
 
 
 >>> locked="xsd:false">stock.service.StockQuoteService2
 
 



 Michele Mazzucco wrote:



> Hi Deepal,
>
> thanks very much for your help. Now that problem has been fixed, however
> at runtime the web service doesn't work any more (while if you provide a
> services.xml with a single service it does).
>
> On the client side I get the following exception:
>
> org.apache.axis2.AxisFault: SERVICE_CLASS parameter is not specified
>   at
> org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:286)
>   at
> org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:452)
>   at
> org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:394)
>   at client.BlockSingleGetQuote.main(BlockSingleGetQuote.java:42)
> Caused by: java.lang.Exception: org.apache.axis2.AxisFault:
> SERVICE_CLASS parameter is not specified
>   at
> org.apache.axis2.receivers.AbstractMessageReceiver.makeNewServiceObject(AbstractMessageReceiver.java:57)
>   at
> org.apache.axis2.receivers.AbstractMessageReceiver.getTheImplementationObject(AbstractMessageReceiver.java:90)
>   at
> org.apache.axis2.receivers.RawXMLINOutMessageReceiver.invokeBusinessLogic(RawXMLINOutMessageReceiver.java:73)
>   at
> org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:37)
>   at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:450)
>   at
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:283)
>   at 
> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:130)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>   at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>   at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>   at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>   at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>   at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>   at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>   at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>   at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>   at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>   at
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
>   at
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>   at
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>   at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>   at java.lang.Thread.run(Thread.java:595)
>
>   at org.apache.axis2.AxisFault.(AxisFault.java:159)
>   ... 4 more
>
>
> where BlockSingleGetQuote.java:42 is
>
> OMElement result = sender.sendReceive(payload);
>
> while by pointi

Re: [axis2] services.xml problems

2006-04-27 Thread Michele Mazzucco
Deepal,

unfortunately it still doesn't work.




Deepal Jayasinghe wrote:
> Rename
> 
> serviceClass to ServiceClass 
> 
> 
> Michele Mazzucco wrote:
> 
>> Yes:
>>
>> 
>>  
>>  
>>  First
>>  
>>> locked="xsd:false">stock.service.StockQuoteService
>>  
>>
>>  > class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
>>
>>  
>>
>>  > class="org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver"/>
>>
>>  
>>
>>  
>>  Second
>>  > locked="xsd:false">stock.service.SchemaQuoteService
>>  
>>  
>>  > class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
>>  
>>  
>>  
>>  > class="org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver"/>
>>  
>>  
>> 
>>
>> Deepal Jayasinghe wrote:
>>  
>>
>>> Do you have the serviceClass parameter in both service elements
>>>
>>> 
>>> 
>>> >> locked="xsd:false">stock.service.StockQuoteService
>>> 
>>> 
>>> >> locked="xsd:false">stock.service.StockQuoteService2
>>> 
>>> 
>>>
>>>
>>>
>>> Michele Mazzucco wrote:
>>>
>>>
>>>
 Hi Deepal,

 thanks very much for your help. Now that problem has been fixed, however
 at runtime the web service doesn't work any more (while if you provide a
 services.xml with a single service it does).

 On the client side I get the following exception:

 org.apache.axis2.AxisFault: SERVICE_CLASS parameter is not specified
at
 org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:286)
at
 org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:452)
at
 org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:394)
at client.BlockSingleGetQuote.main(BlockSingleGetQuote.java:42)
 Caused by: java.lang.Exception: org.apache.axis2.AxisFault:
 SERVICE_CLASS parameter is not specified
at
 org.apache.axis2.receivers.AbstractMessageReceiver.makeNewServiceObject(AbstractMessageReceiver.java:57)
at
 org.apache.axis2.receivers.AbstractMessageReceiver.getTheImplementationObject(AbstractMessageReceiver.java:90)
at
 org.apache.axis2.receivers.RawXMLINOutMessageReceiver.invokeBusinessLogic(RawXMLINOutMessageReceiver.java:73)
at
 org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:37)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:450)
at
 org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:283)
at 
 org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:130)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
 org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
 org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
at
 org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
 org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
 org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)

at org.apache.axis2.AxisFault.(AxisFault.java:159)
... 4 more


 where BlockSingleGetQuote.java:42 is

 OMElement result = sender.sendReceive(payload);

 while by pointing the browser to

 http://localhost:8080/axis2/services/StockQuoteService?wsdl

 I get an HTTP Status 500:

 javax.servlet.ServletException: null; nested exception is:
java.lang.NullPointerException
org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:105)
javax.servlet.http.HttpServlet.service(HttpServlet

Re: [axis2] services.xml problems

2006-04-27 Thread Deepal Jayasinghe
Rename

serviceClass to ServiceClass 


Michele Mazzucco wrote:

>Yes:
>
>
>   
>   
>   First
>   
> locked="xsd:false">stock.service.StockQuoteService
>   
> 
>   class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
> 
>   
> 
>   class="org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver"/>
> 
>   
>
>   
>   Second
>   locked="xsd:false">stock.service.SchemaQuoteService
>   
>   
>   class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
>   
>   
>   
>   class="org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver"/>
>   
>   
>
>
>Deepal Jayasinghe wrote:
>  
>
>>Do you have the serviceClass parameter in both service elements
>>
>>
>>
>>>locked="xsd:false">stock.service.StockQuoteService
>>
>>
>>>locked="xsd:false">stock.service.StockQuoteService2
>>
>>
>>
>>
>>
>>Michele Mazzucco wrote:
>>
>>
>>
>>>Hi Deepal,
>>>
>>>thanks very much for your help. Now that problem has been fixed, however
>>>at runtime the web service doesn't work any more (while if you provide a
>>>services.xml with a single service it does).
>>>
>>>On the client side I get the following exception:
>>>
>>>org.apache.axis2.AxisFault: SERVICE_CLASS parameter is not specified
>>> at
>>>org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:286)
>>> at
>>>org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:452)
>>> at
>>>org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:394)
>>> at client.BlockSingleGetQuote.main(BlockSingleGetQuote.java:42)
>>>Caused by: java.lang.Exception: org.apache.axis2.AxisFault:
>>>SERVICE_CLASS parameter is not specified
>>> at
>>>org.apache.axis2.receivers.AbstractMessageReceiver.makeNewServiceObject(AbstractMessageReceiver.java:57)
>>> at
>>>org.apache.axis2.receivers.AbstractMessageReceiver.getTheImplementationObject(AbstractMessageReceiver.java:90)
>>> at
>>>org.apache.axis2.receivers.RawXMLINOutMessageReceiver.invokeBusinessLogic(RawXMLINOutMessageReceiver.java:73)
>>> at
>>>org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:37)
>>> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:450)
>>> at
>>>org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:283)
>>> at 
>>> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:130)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>> at
>>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>> at
>>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> at
>>>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>> at
>>>org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>> at
>>>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>> at
>>>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>> at
>>>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>> at
>>>org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>> at
>>>org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>>> at
>>>org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
>>> at
>>>org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>> at
>>>org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>> at
>>>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>> at java.lang.Thread.run(Thread.java:595)
>>>
>>> at org.apache.axis2.AxisFault.(AxisFault.java:159)
>>> ... 4 more
>>>
>>>
>>>where BlockSingleGetQuote.java:42 is
>>>
>>>OMElement result = sender.sendReceive(payload);
>>>
>>>while by pointing the browser to
>>>
>>>http://localhost:8080/axis2/services/StockQuoteService?wsdl
>>>
>>>I get an HTTP Status 500:
>>>
>>>javax.servlet.ServletException: null; nested exception is:
>>> java.lang.NullPointerException
>>> org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:105)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>>
>>>root cause
>>>
>>>org.apache.axis2.AxisFault: null; nested exception is:
>>> java.lang.NullPointerException
>>> org.apache.axis2.des

Re: [axis2] services.xml problems

2006-04-27 Thread Michele Mazzucco
Yes:




First

  stock.service.StockQuoteService

  

  

  

  



Second
stock.service.SchemaQuoteService











Deepal Jayasinghe wrote:
> Do you have the serviceClass parameter in both service elements
> 
> 
> 
>  locked="xsd:false">stock.service.StockQuoteService
> 
> 
>  locked="xsd:false">stock.service.StockQuoteService2
> 
> 
> 
> 
> 
> Michele Mazzucco wrote:
> 
>> Hi Deepal,
>>
>> thanks very much for your help. Now that problem has been fixed, however
>> at runtime the web service doesn't work any more (while if you provide a
>> services.xml with a single service it does).
>>
>> On the client side I get the following exception:
>>
>> org.apache.axis2.AxisFault: SERVICE_CLASS parameter is not specified
>>  at
>> org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:286)
>>  at
>> org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:452)
>>  at
>> org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:394)
>>  at client.BlockSingleGetQuote.main(BlockSingleGetQuote.java:42)
>> Caused by: java.lang.Exception: org.apache.axis2.AxisFault:
>> SERVICE_CLASS parameter is not specified
>>  at
>> org.apache.axis2.receivers.AbstractMessageReceiver.makeNewServiceObject(AbstractMessageReceiver.java:57)
>>  at
>> org.apache.axis2.receivers.AbstractMessageReceiver.getTheImplementationObject(AbstractMessageReceiver.java:90)
>>  at
>> org.apache.axis2.receivers.RawXMLINOutMessageReceiver.invokeBusinessLogic(RawXMLINOutMessageReceiver.java:73)
>>  at
>> org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:37)
>>  at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:450)
>>  at
>> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:283)
>>  at 
>> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:130)
>>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>  at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>  at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>  at
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>  at
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>  at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>  at
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>  at
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>  at
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>  at
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>>  at
>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
>>  at
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>  at
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>  at
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>  at java.lang.Thread.run(Thread.java:595)
>>
>>  at org.apache.axis2.AxisFault.(AxisFault.java:159)
>>  ... 4 more
>>
>>
>> where BlockSingleGetQuote.java:42 is
>>
>> OMElement result = sender.sendReceive(payload);
>>
>> while by pointing the browser to
>>
>> http://localhost:8080/axis2/services/StockQuoteService?wsdl
>>
>> I get an HTTP Status 500:
>>
>> javax.servlet.ServletException: null; nested exception is:
>>  java.lang.NullPointerException
>>  org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:105)
>>  javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>>  javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>
>> root cause
>>
>> org.apache.axis2.AxisFault: null; nested exception is:
>>  java.lang.NullPointerException
>>  org.apache.axis2.description.AxisService.getWSDL(AxisService.java:479)
>>  org.apache.axis2.description.AxisService.printWSDL(AxisService.java:468)
>>  
>> org.apache.axis2.transport.http.ListingAgent.processListService(ListingAgent.java:82)
>>  
>> org.apache.axis2.transport.http.ListingAgent.handle(ListingAgent.java:45)
>>  org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:103

Re: [axis2] services.xml problems

2006-04-27 Thread Deepal Jayasinghe
Do you have the serviceClass parameter in both service elements



stock.service.StockQuoteService


stock.service.StockQuoteService2





Michele Mazzucco wrote:

>Hi Deepal,
>
>thanks very much for your help. Now that problem has been fixed, however
>at runtime the web service doesn't work any more (while if you provide a
>services.xml with a single service it does).
>
>On the client side I get the following exception:
>
>org.apache.axis2.AxisFault: SERVICE_CLASS parameter is not specified
>   at
>org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:286)
>   at
>org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:452)
>   at
>org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:394)
>   at client.BlockSingleGetQuote.main(BlockSingleGetQuote.java:42)
>Caused by: java.lang.Exception: org.apache.axis2.AxisFault:
>SERVICE_CLASS parameter is not specified
>   at
>org.apache.axis2.receivers.AbstractMessageReceiver.makeNewServiceObject(AbstractMessageReceiver.java:57)
>   at
>org.apache.axis2.receivers.AbstractMessageReceiver.getTheImplementationObject(AbstractMessageReceiver.java:90)
>   at
>org.apache.axis2.receivers.RawXMLINOutMessageReceiver.invokeBusinessLogic(RawXMLINOutMessageReceiver.java:73)
>   at
>org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:37)
>   at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:450)
>   at
>org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:283)
>   at 
> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:130)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>   at
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>   at
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>   at
>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>   at
>org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>   at
>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>   at
>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>   at
>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>   at
>org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>   at
>org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>   at
>org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
>   at
>org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>   at
>org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>   at
>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>   at java.lang.Thread.run(Thread.java:595)
>
>   at org.apache.axis2.AxisFault.(AxisFault.java:159)
>   ... 4 more
>
>
>where BlockSingleGetQuote.java:42 is
>
>OMElement result = sender.sendReceive(payload);
>
>while by pointing the browser to
>
>http://localhost:8080/axis2/services/StockQuoteService?wsdl
>
>I get an HTTP Status 500:
>
>javax.servlet.ServletException: null; nested exception is:
>   java.lang.NullPointerException
>   org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:105)
>   javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>   javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
>root cause
>
>org.apache.axis2.AxisFault: null; nested exception is:
>   java.lang.NullPointerException
>   org.apache.axis2.description.AxisService.getWSDL(AxisService.java:479)
>   org.apache.axis2.description.AxisService.printWSDL(AxisService.java:468)
>   
> org.apache.axis2.transport.http.ListingAgent.processListService(ListingAgent.java:82)
>   
> org.apache.axis2.transport.http.ListingAgent.handle(ListingAgent.java:45)
>   org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:103)
>   javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>   javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
>
>
>Any idea?
>
>Thanks in advance,
>Michele
>
>Deepal Jayasinghe wrote:
>  
>
>>Hi Michele;
>>I found the problem, each service element in a servicegroup have to have
>>name attribute so if you apply my changes it will work
>>
>>
>>Michele Mazzucco 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")
>>>
>>>
>>>
>>>
>>> 

Re: [axis2] services.xml problems

2006-04-27 Thread Michele Mazzucco
Hi Deepal,

thanks very much for your help. Now that problem has been fixed, however
at runtime the web service doesn't work any more (while if you provide a
services.xml with a single service it does).

On the client side I get the following exception:

org.apache.axis2.AxisFault: SERVICE_CLASS parameter is not specified
at
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:286)
at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:452)
at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:394)
at client.BlockSingleGetQuote.main(BlockSingleGetQuote.java:42)
Caused by: java.lang.Exception: org.apache.axis2.AxisFault:
SERVICE_CLASS parameter is not specified
at
org.apache.axis2.receivers.AbstractMessageReceiver.makeNewServiceObject(AbstractMessageReceiver.java:57)
at
org.apache.axis2.receivers.AbstractMessageReceiver.getTheImplementationObject(AbstractMessageReceiver.java:90)
at
org.apache.axis2.receivers.RawXMLINOutMessageReceiver.invokeBusinessLogic(RawXMLINOutMessageReceiver.java:73)
at
org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:37)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:450)
at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:283)
at 
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:130)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)

at org.apache.axis2.AxisFault.(AxisFault.java:159)
... 4 more


where BlockSingleGetQuote.java:42 is

OMElement result = sender.sendReceive(payload);

while by pointing the browser to

http://localhost:8080/axis2/services/StockQuoteService?wsdl

I get an HTTP Status 500:

javax.servlet.ServletException: null; nested exception is:
java.lang.NullPointerException
org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:105)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

root cause

org.apache.axis2.AxisFault: null; nested exception is:
java.lang.NullPointerException
org.apache.axis2.description.AxisService.getWSDL(AxisService.java:479)
org.apache.axis2.description.AxisService.printWSDL(AxisService.java:468)

org.apache.axis2.transport.http.ListingAgent.processListService(ListingAgent.java:82)

org.apache.axis2.transport.http.ListingAgent.handle(ListingAgent.java:45)
org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:103)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)



Any idea?

Thanks in advance,
Michele

Deepal Jayasinghe wrote:
> Hi Michele;
> I found the problem, each service element in a servicegroup have to have
> name attribute so if you apply my changes it will work
> 
> 
> Michele Mazzucco 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")
>>
>> 
>>
>> 
>>  
>>  
>>
> **
> 
>>  
>>  First
>>  
>>> locked="xsd:false">stock.service.StockQuoteService
>>  
>>
>>  > class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
>>  

Re: [axis2] services.xml problems

2006-04-26 Thread Deepal Jayasinghe
Hi Michele;
I found the problem, each service element in a servicegroup have to have
name attribute so if you apply my changes it will work


Michele Mazzucco 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")
>
>
>
>
>   
>  
>
**

>   
>   First
>   
> locked="xsd:false">stock.service.StockQuoteService
>   
> 
>   class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
> 
>   
> 
>   class="org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver"/>
> 
>   
>
>   
>  
>

**

>   Second
>   locked="xsd:false">stock.service.SchemaQuoteService
>   
>   
>   class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
>   
>   
>   
>   class="org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver"/>
>   
>   
>   
>   
>   
>   value 1
>
>
>Any idea?
>
>Thanks in advance,
>Michele
>
>
>  
>

-- 
Thanks,
Deepal

~Future is Open~ 





Re: [axis2] services.xml problems

2006-04-26 Thread Michele Mazzucco
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
>  - 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]
> > 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/ 
> >
> > On 4/26/06, *Michele Mazzucco* < [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")
> >
> > 
> >
> > 
> > 
> > 
> > First
> > 
> >> locked="xsd:false"> stock.service.StockQuoteService
> >
> >   
> >  > class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
> >   
> >
> >   
> >  > class="org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver"/>
> >   
> > 
> >
> > 
> > Second
> >  > locked="xsd:false">stock.service.SchemaQuoteService
> >
> > 
> >  > class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
> > 
> >
> > 
> >  > class="org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver"/>
> > 
> > 
> >
> >
> > 
> > value
> > 1
> > 
> >
> > Any idea?
> >
> > Thanks in advance,
> > Michele
> >
> >
> 
> 


Re: [axis2] services.xml problems

2006-04-26 Thread robert lazarski
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. 

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
 - I can't find any examples that do it
that way. 

HTH,
Robert
http://www.braziloutsource.com/On 4/26/06, 
Michele Mazzucco <
[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 classfiles in stock/service).Michelerobert 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/
>> On 4/26/06, *Michele Mazzucco* < 
[EMAIL PROTECTED]> [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")>> >> > >
>
First> >   > locked="xsd:false"> stock.service.StockQuoteService>

>   > > class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>>   
>>   > > class="org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver"/>>   
> >> >
Second>
> locked="xsd:false">stock.service.SchemaQuoteService>>
>
> class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>>
>>
>
> class="org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver"/>>
> >>> >
value> 1> >> Any idea?>> Thanks in advance,

> Michele>>


Re: [axis2] services.xml problems

2006-04-26 Thread Michele Mazzucco
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/
> 
> On 4/26/06, *Michele Mazzucco* < [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")
> 
> 
> 
> 
> 
> 
> First
> 
>locked="xsd:false"> stock.service.StockQuoteService
> 
>   
>  class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
>   
> 
>   
>  class="org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver"/>
>   
> 
> 
> 
> Second
>  locked="xsd:false">stock.service.SchemaQuoteService
> 
> 
>  class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
> 
> 
> 
>  class="org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver"/>
> 
> 
> 
> 
> 
> value
> 1
> 
> 
> Any idea?
> 
> Thanks in advance,
> Michele
> 
> 


Re: [axis2] services.xml problems

2006-04-26 Thread robert lazarski
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/On 4/26/06, Michele Mazzucco <
[EMAIL PROTECTED]> wrote:Hi all,I'm using Axis2 1.0 RC2 and I'm having troubles with 
services.xml when Iinclude more that one service.In particular, the services.xml below doesn't work (the .aar file isshown as "faulty service")
First  locked="xsd:false">
stock.service.StockQuoteService  class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
class="org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver"/>  
Secondlocked="xsd:false">stock.service.SchemaQuoteServiceclass="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>class="org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver"/>
value 1Any idea?Thanks in advance,Michele