Apologies, that should be:

    java org.apache.axis.client.AdminClient -p {Tomcat port no} {WSDD file}

-----Original Message-----
From: Richard Wild [mailto:[EMAIL PROTECTED] 
Sent: 14 September 2006 10:20
To: [email protected]
Subject: RE: Axis Doubt

Maybe I didn't understand your question, but you can expose a class as a web
service without doing very much at all.  You can just write a simple WSDD:
 
<deployment
  xmlns="http://xml.apache.org/axis/wsdd/";
  xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";>
    <service name="{service name goes here}" provider="java:RPC">
      <parameter name="className" value="{qualified class name goes here}"/>
      <parameter name="allowedMethods" value="{method name goes here}"/>
    </service>
</deployment>
 
copy the relevant class files into $TOMCAT_HOME/webapps/Axis/WEB-INF/classes
and then do:
 
java org.apache.axis.admin.AdminClient -p {Tomcat port no} {WSDD file}
 
Axis will do everything without any need for extra coding on your part.  You
can then find an autogenerated WSDL for your web service at
http://localhost:{Tomcat port no}/axis/services/{service name}?wsdl which
you can use with WSDL2Java to generate your client stubs.
 
Rich.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to