drnick
asked on
tomcat, axis and http://pyre.third-bit.com/bindsoap/soapexamples/soapexamples.html
hi friends,
i tried the example http://pyre.third-bit.com/bindsoap/soapexamples/soapexamples.html
after getting my axis working (see https://www.experts-exchange.com/questions/21187468/AXIS-and-Tomcat.html#12444167).
i follwed the steps exactly.
i can deploy the service thing with eclipse, no problem.
however, i cannot do http://127.0.0.1:8080/axis/servlet/AxisServlet afterwards anymore.
it says:
And now... Some Services
AXIS error
Sorry, something seems to have gone wrong... here are the details:
Fault - Could not find class for the service named: jtest.MyService
Hint: you may need to copy your class files/tree into the right location (which depends on the servlet system you are using).; nested exception is:
java.lang.ClassNotFoundExc eption: jtest.MyService
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
faultSubcode:
faultString: Could not find class for the service named: jtest.MyService
Hint: you may need to copy your class files/tree into the right location (which depends on the servlet system you are using).; nested exception is:
java.lang.ClassNotFoundExc eption: jtest.MyService
faultActor:
faultNode:
faultDetail:
(not as if it simply said, "i expected myservice.java in directory this and that")
i tried all directories (included the one mentioned in the example's text),
i tried to create a jtest directory including the myservice.jave and move
it around, no effect.
so, anyone got a good suggestion? :-)
i tried the example http://pyre.third-bit.com/bindsoap/soapexamples/soapexamples.html
after getting my axis working (see https://www.experts-exchange.com/questions/21187468/AXIS-and-Tomcat.html#12444167).
i follwed the steps exactly.
i can deploy the service thing with eclipse, no problem.
however, i cannot do http://127.0.0.1:8080/axis/servlet/AxisServlet afterwards anymore.
it says:
And now... Some Services
AXIS error
Sorry, something seems to have gone wrong... here are the details:
Fault - Could not find class for the service named: jtest.MyService
Hint: you may need to copy your class files/tree into the right location (which depends on the servlet system you are using).; nested exception is:
java.lang.ClassNotFoundExc
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
faultSubcode:
faultString: Could not find class for the service named: jtest.MyService
Hint: you may need to copy your class files/tree into the right location (which depends on the servlet system you are using).; nested exception is:
java.lang.ClassNotFoundExc
faultActor:
faultNode:
faultDetail:
(not as if it simply said, "i expected myservice.java in directory this and that")
i tried all directories (included the one mentioned in the example's text),
i tried to create a jtest directory including the myservice.jave and move
it around, no effect.
so, anyone got a good suggestion? :-)
ASKER
MyService.class
(and classes required by MyService)
need to be in;
webapps/axis/WEB-INF/class es/jtest/M yService.c lass
(and classes required by MyService)
need to be in;
webapps/axis/WEB-INF/class
ASKER
thanks again.
these guys are funny:
"Download this last file and place it into TOMCAT_HOME\webapps\axis directory...
.. and, of course, not the .class but the .java file ... :-)
please look also at: https://www.experts-exchange.com/questions/21187721/tomcat-axis-eclipse-and-log4.html
these guys are funny:
"Download this last file and place it into TOMCAT_HOME\webapps\axis directory...
.. and, of course, not the .class but the .java file ... :-)
please look also at: https://www.experts-exchange.com/questions/21187721/tomcat-axis-eclipse-and-log4.html
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
<service name="Version" provider="java:RPC">
<parameter name="allowedMethods" value="getVersion"/>
<parameter name="className" value="org.apache.axis.Ver
</service>
into server-config.wsdd
(if i try undeploying, it throwed so many exceptions i lost interest in doing so)