Just try and paste this in server-config.wsdd under webapps/axis/WEB-INF/
and restart server. Check if your services work
 
 
<service name="SparePartPrice" provider="java:RPC"
style="rpc">
               <parameter name="className" value="SparePartPrice"/>
               <parameter name="allowedMethods" value="*"/>
        </service>

 

Thanks

Vijai Mohan

Software Design Engineer

SensorLogicM2M made easy.

972-934-7375 x 2111

972-934-7376 (fax)

[EMAIL PROTECTED]

www.Sensorlogic.com

 

 

-----Original Message-----
From: Harald Pollak [mailto:[EMAIL PROTECTED]
Sent: Monday, July 12, 2004 8:45 AM
To: Axis-User
Subject: Re: newbie: wsdd problem

 

I cannot see a wrotng thing at the 1st time, so walk through following checklist:

1. is adminservlet running? (http://localhost:8080/axis/services/AdminService?wsdl)
2. is this service allready deployed?
3. is the code on the right place?
4. do you have a packe definition in your class?
5. work other services? ( like http://localhost:8080/axis/services/Version?method=getVersion )

best reg.
Harry

Am Sam, den 10.07.2004 schrieb Laxma Reddy Dendi um 11:23:

Hi All,
   I am having problems in deploying a web-service
using wsdd.
   I have compiled the following code and put the
class file in tomcathome/webapps/axis and using the
following wsdd file:
---------------------------------------
public class SparePartPrice{
  public SparePartPrice(){
  }
 
  public float getPrice(String partSKU){
         return (float)10.99;
  }
}
-------------------------------------------
<deployment xmlns="http://xml.apache.org/axis/wsdd/"
     
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"
 
     
xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-Instance/">
      
  <service name="SparePartPrice" provider="java:RPC"
style="rpc">
         <parameter name="className" value="SparePartPrice"/>
         <parameter name="allowedMethods" value="*"/>
  </service>
</deployment>
------------------------------------
 
when i run the following i am getting an error.
 
java org.apache.axis.client.AdminClient deploy.wsdd
-lhttp://localhost:8080/axis/services/AdminService
 
error:
Processing file deploy.wsdd
Exception:: (500)Internal Server Error
 
please advice me. any help would be great.
 
thanks in advance
 
 
         
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail

<<image001.gif>>

Reply via email to