Thanks Richard for the reply....
but my question starts from where ur reply stopped.
Once I run the WSDL2Java on the wsdl generated by the ....?wsdl url, the stub which will be generated will have an interface for it.
This interface will be an interface of all the allowedmethods in my web service class.
So when I want to write a client which invokes the web service using the stub,(and not the service,call api) I need to change my web service impl class to implement the similar interface too.
which means changing the java file manually!!
Please correct me if I am wrong on this.
Thanks,
Chinmay
Richard Wild <[EMAIL PROTECTED]> wrote:
Richard Wild <[EMAIL PROTECTED]> wrote:
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:xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
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]
Do you Yahoo!?
Get on board. You're invited to try the new Yahoo! Mail.
