- This topic has 3 replies, 2 voices, and was last updated 17 years, 11 months ago by Brian Fernandes.
-
AuthorPosts
-
Edmond WongMemberHi,
I have the Tomcat 5.5 installed when I tried the webservice HelloWorld example, and it worked well under the webservice explorer. However, when I create another webservice with a method called AdderService to add two Integers, the method doesn’t show up in the explorer. I did see the AdderService deployed to Tomcat.
Any idea?
Thanks,
Edmond
Brian FernandesModeratorEdmond,
There are several things that could go wrong and it is difficult for us pinpoint a problem given your brief description. Did you try restarting and redeploying the web services project?
Does your first web service still show up? Can you list out the steps you followed while creating your service?Also, what happens when you go to the following location in your browser? http://localhost:<port>/<webappname>/services ? That page should usually list out all the services registered with XFire.
Edmond WongMemberHi Brian,
I was able to see two webservices (HelloWorldService and AdderService) in the tomcat using the url “http://localhost:8080/HelloWorld/services”. It looks like the WS explorer within MyEclipseIDE doesn’t take “http://localhost:8080/HelloWorld/services”.. I am getting this errors:
IWAB0379E Unable to open http://localhost:8080/HelloWorld/services.
IWAB0135E An unexpected error has occurred.
WSDLException
WSDLException: faultCode=OTHER_ERROR: http://localhost:8080/HelloWorld/servicesI guess I have to specify the webservice name in order to add to the WDSL Main tree in the Navigator.
Thanks,
Edmond
Brian FernandesModeratorEdmond,
Sorry for the delayed response, you are supposed to give WSExplorer the path to the WSDL, it won’t work with the path you specified.
So the actual path is something like this: http://localhost:8080/HelloWorld/services/HelloWorldService?WSDL
You need to use the same pattern for your other service.Hope this helps,
-
AuthorPosts