- This topic has 3 replies, 2 voices, and was last updated 10 years, 3 months ago by support-swapna.
-
AuthorPosts
-
flemlion13MemberI’ve been following the MyEclipse
JAX-WS Web Services for WebSphere TutorialBut when trying to test the service running on WebSphere 8.5, I do not receive the WSDL, but:
Error 404: java.io.FileNotFoundException: SRVE0190E: File not found: /CalculatorService
The only difference I see, is that I select WS 2.1, as specified in the attachment
[/img]Attachments:
You must be logged in to view attached files.
support-swapnaModeratorHi,
Sorry that you are seeing this issue. I could not replicate the issue at my end. JAX-WS 2.1 project deploys and runs fine on WAS 8.5.
Can you please answer some more questions for us ?
1) Can you please check if all the necessary web service stubs and binding classes are generated ? Check if the CalculatorService.wsdl exists under WEB-INF/wsdl folder.
2) Besides the web service itself, is the app deployed and working? i.e. If you go to http://localhost:9080/<projectname>/ does it work – do you see the index.jsp page as expected (in internet explorer)?
3) Is your server listening at port 9080 or at the port you have mentioned in WSDL (My WAS 8.5 is listening at 9082)?
4) Open your WSDL (in an editor) and look at the location attribute of the <soap:address> element – is that the same as the address you are trying?
5) Alternatively, you can browse to the web service project and get the WSDL URL. Here is the screenshot for your reference :
Let us know how it works for you.
flemlion13Member1) Everything seems to be generated and available
2) The app is deployed and working
3) My WAS 8.5 is listening at 9084, that’s where I find the JSP
4) It’s the same URL
5) The WSDL loads, with the following result: IWASB0135E 404 Not Found
Attachments:
You must be logged in to view attached files.
support-swapnaModeratorHi,
Thank you for the details.
Please switch to a new workspace, create the JAX-WS project by following the tutorial, replicate the issue and send us the below details :
1. If you look at the console when the server is starting, are any errors reported? Or is it all clean? Please also observe the console when you make the WSDL request in a browser. If you see any errors, please share the details.
2. Please also check if there are any errors of interest logged in the .log file which is located at <workspace dir>/.metadata/.log. If yes, share them as well.
3. Please share the exact version details of the WAS server you are working with. If possible, please follow the tutorial once again and try deploying the project on Tomcat or any other server instead of WAS and see how it works. Make sure the soap address location matches with the location you are trying.
4. Please also share the Installation Details from MyEclipse > Installation Summary > Installation Details.
-
AuthorPosts