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 Shravan Mahankali <sh...@catalytic.com> on 2009/01/22 13:46:07 UTC

How to configure wsdd when Service class in a jar...?

Hi,

 

1)     I have a Media.jar which has a service class com.bos.Enlarge.java

2)     I have placed this Media.jar in <TOMCAT
DIR>/webapps/axis/WEB-INF/lib/ directory, as suggested in the axis docs.

3)     I have below deploy.wsdd, it got deployed successfully, using Axis
AdminClient:

 

------------------

<deployment name="MediaTool" xmlns="http://xml.apache.org/axis/wsdd/" 

    xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">

 

  <service name="Media" provider="java:RPC">

    <parameter name="className" value=" com.bos.Enlarge"/>

    <parameter name="allowedMethods" value="scanMedia"/>

  </service>

 

</deployment>

------------------

 

4)     But when I access http://127.0.0.1:8080/axis/servlet/AxisServlet to
see the list of deployed services, I get this text "And now... Some
Services" and no list.

5)     I have a client consuming this webservice as attached here, executing
this client is returning - "HTTP Status 404 - The requested resource
(/axis/Media) is not available."

 

Could anyone please advise, how to handle this scenario.

 

Thank You,

Shravan Kumar. M 

-----------------------------

 


Re: How to configure wsdd when Service class in a jar...?

Posted by Kamal Chandana Mettananda <lk...@gmail.com>.
Hi,

Can you check the <TOMCAT DIR>/webapps/axis/WEB-INF/server-config.wsdd and
see whether your service details are available inside that file?


Kamal Mettananda
http://lkamal.blogspot.com



On Thu, Jan 22, 2009 at 6:16 PM, Shravan Mahankali <
shravan.mahankali@catalytic.com> wrote:

>  Hi,
>
>
>
> 1)     I have a Media.jar which has a service class com.bos.Enlarge.java
>
> 2)     I have placed this Media.jar in <TOMCAT
> DIR>/webapps/axis/WEB-INF/lib/ directory, as suggested in the axis docs.
>
> 3)     I have below deploy.wsdd, it got deployed successfully, using Axis
> AdminClient:
>
>
>
> ------------------
>
> <deployment name="MediaTool" xmlns="http://xml.apache.org/axis/wsdd/"
>
>     xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
>
>
>
>   <service name="Media" provider="java:RPC">
>
>     <parameter name="className" value=" com.bos.Enlarge"/>
>
>     <parameter name="allowedMethods" value="scanMedia"/>
>
>   </service>
>
>
>
> </deployment>
>
> ------------------
>
>
>
> 4)     But when I access http://127.0.0.1:8080/axis/servlet/AxisServlet to
> see the list of deployed services, I get this text "And now... Some
> Services" and no list.
>
> 5)     I have a client consuming this webservice as attached here,
> executing this client is returning – "HTTP Status 404 - The requested
> resource (/axis/Media) is not available."
>
>
>
> Could anyone please advise, how to handle this scenario.
>
>
>
> Thank You,
>
> Shravan Kumar. M
>
> -----------------------------
>
>
>