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 Shah Asrani <sh...@gmail.com> on 2008/12/18 17:22:46 UTC
listServices issue
I have deployed a web service dynamically in Axis2. The web service
works fine. When client make a call, web service is found and a
response is returned. However, if I use the url to list the services,
it returns nothing:
http://localhost:8080/<mycontext>/services/listServices
Any Ideas?
Shah Asrani
Re: listServices issue
Posted by Shah Asrani <sh...@gmail.com>.
Thanks Raghu, your answer explains the reasoning.
On Thu, Dec 18, 2008 at 1:48 PM, Raghu Upadhyayula
<ru...@responsys.com> wrote:
> Hi Shah,
>
> The listServices will only work if you have the axis2-web folder
> which comes with the Axis2 webapp in your war at the same level of
> WEB-INF, because the listServices functionality in AxisServlet is
> referring a jsp file (listServices.jsp) which is inside axis2-web
> folder.
>
> Thanks
> Raghu
>
> -----Original Message-----
> From: Shah Asrani [mailto:shahasrani@gmail.com]
> Sent: Thursday, December 18, 2008 11:19 AM
> To: axis-user@ws.apache.org
> Subject: Re: listServices issue
>
> yes, I must have missed something. I can even do ?wsdl on the service
> and get wsdl. really weird. I will try do some more debugging and may
> be I can find out what is wrong.
>
> On Thu, Dec 18, 2008 at 11:40 AM, Deepal jayasinghe <de...@gmail.com>
> wrote:
>> Shah Asrani wrote:
>>> I have deployed a web service dynamically in Axis2. The web service
>>> works fine. When client make a call, web service is found and a
>>> response is returned. However, if I use the url to list the
> services,
>>> it returns nothing:
>>> http://localhost:8080/<mycontext>/services/listServices
>> it is weird :), if you can access the service then it should be list
> under the available services. May be you have missed something.
>>
>> Deepal
>>
>>> Any Ideas?
>>>
>>> Shah Asrani
>>>
>>>
>>
>>
>> --
>> Thank you!
>>
>>
>> http://blogs.deepal.org
>> http://deepal.org
>>
>>
>
RE: listServices issue
Posted by Raghu Upadhyayula <ru...@responsys.com>.
Hi Shah,
The listServices will only work if you have the axis2-web folder
which comes with the Axis2 webapp in your war at the same level of
WEB-INF, because the listServices functionality in AxisServlet is
referring a jsp file (listServices.jsp) which is inside axis2-web
folder.
Thanks
Raghu
-----Original Message-----
From: Shah Asrani [mailto:shahasrani@gmail.com]
Sent: Thursday, December 18, 2008 11:19 AM
To: axis-user@ws.apache.org
Subject: Re: listServices issue
yes, I must have missed something. I can even do ?wsdl on the service
and get wsdl. really weird. I will try do some more debugging and may
be I can find out what is wrong.
On Thu, Dec 18, 2008 at 11:40 AM, Deepal jayasinghe <de...@gmail.com>
wrote:
> Shah Asrani wrote:
>> I have deployed a web service dynamically in Axis2. The web service
>> works fine. When client make a call, web service is found and a
>> response is returned. However, if I use the url to list the
services,
>> it returns nothing:
>> http://localhost:8080/<mycontext>/services/listServices
> it is weird :), if you can access the service then it should be list
under the available services. May be you have missed something.
>
> Deepal
>
>> Any Ideas?
>>
>> Shah Asrani
>>
>>
>
>
> --
> Thank you!
>
>
> http://blogs.deepal.org
> http://deepal.org
>
>
Re: listServices issue
Posted by Shah Asrani <sh...@gmail.com>.
yes, I must have missed something. I can even do ?wsdl on the service
and get wsdl. really weird. I will try do some more debugging and may
be I can find out what is wrong.
On Thu, Dec 18, 2008 at 11:40 AM, Deepal jayasinghe <de...@gmail.com> wrote:
> Shah Asrani wrote:
>> I have deployed a web service dynamically in Axis2. The web service
>> works fine. When client make a call, web service is found and a
>> response is returned. However, if I use the url to list the services,
>> it returns nothing:
>> http://localhost:8080/<mycontext>/services/listServices
> it is weird :), if you can access the service then it should be list under the available services. May be you have missed something.
>
> Deepal
>
>> Any Ideas?
>>
>> Shah Asrani
>>
>>
>
>
> --
> Thank you!
>
>
> http://blogs.deepal.org
> http://deepal.org
>
>
Re: listServices issue
Posted by Deepal jayasinghe <de...@gmail.com>.
Shah Asrani wrote:
> I have deployed a web service dynamically in Axis2. The web service
> works fine. When client make a call, web service is found and a
> response is returned. However, if I use the url to list the services,
> it returns nothing:
> http://localhost:8080/<mycontext>/services/listServices
it is weird :), if you can access the service then it should be list under the available services. May be you have missed something.
Deepal
> Any Ideas?
>
> Shah Asrani
>
>
--
Thank you!
http://blogs.deepal.org
http://deepal.org