facebook

JAX-WS tutorial fails with WebSphere 8.5

  1. MyEclipse IDE
  2.  > 
  3. WebSphere Development
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #351458 Reply

    flemlion13
    Member

    I’ve been following the MyEclipse
    JAX-WS Web Services for WebSphere Tutorial

    http://docs.myeclipseide.com/index.jsp?topic=%2Fcom.genuitec.eclipse.blue.doc%2Fhtml%2Ftutorials%2Fblue_jaxws%2Findex.html&cp=1_12_1_3

    But 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.
    #351491 Reply

    support-swapna
    Moderator

    Hi,

    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.

    #351497 Reply

    flemlion13
    Member

    1) 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.
    #351526 Reply

    support-swapna
    Moderator

    Hi,

    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.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: JAX-WS tutorial fails with WebSphere 8.5

You must be logged in to post in the forum log in