Hi guys,

I have the same problem with you.
I've created a simple wsdl file, generate the java classes
using wsdl2java, compile them, create the
deploy.wsdd and deploy it.
All classes already put in
$TOMCAT_HOME/webapps/axis/WEB-INF/classes

webservice deployed properly,  since i can see
"tutorial" webservice deployed from
http://192.168.24.105:8080/axis/services/MyService?wsdl

But, i failed when invoking the service.
service not found exception, even though it is deployed.

These are snippet code

i) for service.wsdl
........
<service name="tutorial">
   <port name="TutorialPort" binding="tns:tutorialSoap">
     <soap:address
location="http://localhost:8080/axis/servlet/AxisServlet"/>
    </port>
..........

ii). for deployment descriptor
<deployment name="testEcho"
 xmlns="http://xml.apache.org/axis/wsdd/";
 xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";>
     <service name="tutorial" provider="java:RPC">
        <parameter name="className" value="MyService"/>
        <parameter name="allowedMethods" value="helloWorld"/>
        <parameter name="wsdlServicePort" value="TutorialPort"/>
    </service>
 </deployment>

iii). for webservice
public class MyService
{
    public String
        helloWorld (String arg)
    {
        return "Hello " + arg;
  ......

I wonder my deployment descriptor not correct ?

I really need your advice guys ..

thank you very much

--fadly

Reply via email to