This week's book giveaway is in the Agile forum.
We're giving away four copies of Head First Agile and have Andrew Stellman & Jennifer Greene on-line!
See this thread for details.
Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Not able to redeploy my web service in eclipse  RSS feed

Kacee Saxena
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 215
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!