- This topic has 2 replies, 2 voices, and was last updated 14 years, 6 months ago by ejbogs.
-
AuthorPosts
-
gowgowMemberI’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?WSDLBut 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?wsdlI 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.wsdlI 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 foundIn the endponit dropdown it shows:
http://localhost:8080/WebServiceProject/CalculatorPortWhy 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
gowgowMemberUpdate, I was able to resolve this but I’m still a bit confused. http://localhost:8080/ returns a page for Oracle Express. So apprently it’s running it’s own web server?
What’s odd is that my WSDL url worked fine using port 8080. After switching the port to 9090, the WebService client was able to connect and run the client.My problem now is that I can’t seem to use this web service from my php host. I can successfully use this public web service from PHP using:
$client = new SoapClient(“http://ws.cdyne.com/WeatherWS/Weather.asmx?wsdl”);
but my web service fails:
$client = new SoapClient(“http://mytomcatserver:8080/WebServiceProject/CalculatorPort?wsdl”);It just seem to hang on this. I can’t even catch the error in PHP. Both WSDL urls return just fine in the browser, but only the first one works.
I know – wrong language – wrong forum, but it anyone has any thoughts about what the issue might be, I would appreciate it. Thanks
ejbogsMemberHi,
I am experiencing the same error. I’ve tried several ports and none of them worked.
I also did every step in the tutorial and was wondering if there is something to be done that is not in the tutorial. My target server is working on some other web projects so i guess it’s configured correct. The ports that is set on the target server are 8880(soap), 9080(http) and 9060(admin).
Thanks
Ed
-
AuthorPosts