File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Not able to redeploy my web service in eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Not able to redeploy my web service in eclipse" Watch "Not able to redeploy my web service in eclipse" New topic

Not able to redeploy my web service in eclipse

Kacee Saxena
Ranch Hand

Joined: Mar 04, 2008
Posts: 54
Hello Friends,

I am not able to re-deploy my web service in eclipse 3.5. When i launch it for the first time (Run on server option ) it works fine. But successive deployments are not working.
It errors out saying -

description The requested resource (/testService2/) is not available.
HTTP Status 404 - /testService2/

Thsi is my deploy.wsdd file (wsdl)

<?xml version="1.0" encoding="UTF-8"?><!-- Use this file to deploy some handlers/chains and services --><!-- Two ways to do this: --><!-- java org.apache.axis.client.AdminClient deploy.wsdd --><!-- after the axis server is running --><!-- or --><!-- java org.apache.axis.utils.Admin client|server deploy.wsdd --><!-- from the same directory that the Axis engine runs --><deployment xmlns="" xmlns:java="">

<!-- Services from HelloServiceService WSDL service -->

<service name="HelloService" provider="java:RPC" style="wrapped" use="literal">
<parameter name="wsdlTargetNamespace" value=""/>
<parameter name="wsdlServiceElement" value="HelloServiceService"/>
<parameter name="schemaQualified" value=""/>
<parameter name="wsdlServicePort" value="HelloService"/>
<parameter name="className" value="com.test.HelloService"/>
<parameter name="wsdlPortType" value="HelloService"/>
<parameter name="typeMappingVersion" value="1.2"/>
<operation xmlnsperNS="" xmlns:retNS="" xmlns:rtns="" name="getName" qname="operNS:getName" returnQName="retNS:getNameReturn" returnType="rtns:string" soapAction="">
<parameter xmlns:pns="" xmlns:tns="" qname="pns:name" type="tns:string"/>
<parameter name="allowedMethods" value="getName"/>



What am i missing ?

I created another test webservice, facing same problem with it as well.

Please help

R Srini
Ranch Hand

Joined: Feb 19, 2010
Posts: 215
Hi. In case you are using Axis 1.5.1 - I had the same problem (don't remember what I had to do to fix it) when using Axis 1.5.1 with Eclipse. The Axis tools in Eclipse support Axis 1.4. So I had to use Axis 1.4 for it to work with Eclipse tooling.
I agree. Here's the link:
subject: Not able to redeploy my web service in eclipse
It's not a secret anymore!