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 

Reply via email to