Hi,
I have an existing interface and its' impl class as part of a web
application: myapp.MyInterface and myapp.MyInterfaceImpl. I'd like to
expose myapp.MyInterface as web service using Axis and then consume it
with a web start client. Firstly, does MyInterface need to extends
java.rmi.Remote, and do the member methods need to throw
java.rmi.RemoteException?
I read various docs and so far, I understand that to create this
webservice i should:
1. create WSDL using java2wsdl ant task.
2. generate server glue code using WSDL2Java. I'm unsure whether I
should use skeletondeploy, or simply "serverside"? What (if anything)
should I specify as "implementationClassName" - the docs say this option
is very useful for exposing existing code as web service, yet doesn't
explain why...
Also, wsdl2java produces deploy.wsdd. If I deploy my service using this
file, then the dynamically generated WSDL is different from the WSDL
file produced by java2wsdl. Is that normal? and if it is, should I
insist on java2wsdl-generated wsdl file and not use deploy.wsdd produced
by wsdl2java?
thanks a lot
-nikita