I’m not having much luck getting these myEclipse tutorials to work. I’m writing in regards to:
http://www.myeclipseide.com/documentation/quickstarts/webservices_jaxws/
Issue 1: When I get to the point where you Open WSDL, the tutorial says to use:
http://localhost:8080/WebServiceProject/CalculatorPort?WSDL
But when I hit “GO” I get this error:
IWAB0379E Unable to open http://localhost:8080/WebServiceProject/CalculatorPort?wsdl.
IWAB0135E An unexpected error has occurred.
WSDLException
WSDLException: faultCode=OTHER_ERROR: http://localhost:8080/WebServiceProject/CalculatorPort?wsdl
I figured out that I needed to hit “browse”, select the project and then it returns this URL:
platform:/resource/WebServiceProject/WebRoot/WEB-INF/wsdl/CalculatorService.wsdl
I then get the success message:
IWAB0381I platform:/resource/WebServiceProject/WebRoot/WEB-INF/wsdl/CalculatorService.wsdl was successfully opened.
Everything appears to be ok, but then when I try to invoke the WSDL “add” operation,
It says:
IWAB0135E An unexpected error has occurred.
404
Not found
In the endponit dropdown it shows:
http://localhost:8080/WebServiceProject/CalculatorPort
Why is this webservice not working?
both
http://localhost:8080/WebServiceProject/CalculatorPort
and
http://localhost:8080/WebServiceProject/CalculatorPort?WSDL
return a result in the browser.
I believe I’ve followed the tutorial step by step, but am still having this problem. Can anyone help? Thanks