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 http://www.experts-exchange.com/Web/Q_21187468.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.ClassNotFoundException: 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.ClassNotFoundException: 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? :-)
LVL 5
drnickAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

drnickAuthor Commented:
btw, deploying inserted

<service name="Version" provider="java:RPC">
  <parameter name="allowedMethods" value="getVersion"/>
  <parameter name="className" value="org.apache.axis.Version"/>
 </service>

into server-config.wsdd

(if i try undeploying, it throwed so many exceptions i lost interest in doing so)
0
drnickAuthor Commented:
0
TimYatesCommented:
MyService.class

(and classes required by MyService)

need to be in;

webapps/axis/WEB-INF/classes/jtest/MyService.class
0
drnickAuthor Commented:
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: http://www.experts-exchange.com/Web/Q_21187721.html
0
TimYatesCommented:
hehehe :-)

Hope it helped :-)
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.