facebook

Developing Rest Web Services Tutorial: Error: Cannot access

  1. MyEclipse Archived
  2.  > 
  3. Web Services
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #308045 Reply

    delanger
    Member

    I followed the trial and things went well untill I started
    MyEclpse-Test with my Rest Web Services
    On the build in tomcat screen I got the following error:
    Wads url:http://localhost:8080/WebServicesRoel001/services/application.wadl
    Error: Cannot access WADL

    Please make sure the WADL file is accessible at the above URL.

    For locally running applications, please ensure your application is deployed and the server is running.

    Who can help me?

    #308076 Reply

    delanger,
    Please make sure that the integrated tomcat is running when testing the example.
    Also, please check the port you are using for MyEcilpse Tomcat from window > Preferences > MyEclipse > Servers > Integrated Sandbox > MyEclipse Tomcat. Is the port number 8080?

    #311336 Reply

    torrezm
    Member

    Hello. I installed the trial version today (making an evaluation to purchase full) and went through the same tutorial and received the same message. I have checked the port number and the integrated tomcat is running. Any other ideas as to what I can do since I do not see any other posts on this and user delanger never responded at to what was done to fix the issue. Thank you!

    #311343 Reply

    torrezm,
    When you click on “Test with Rest Web Service Explorer”, are there any errors logged in the log file located at workspace dir > .metadata > .log? Please clear your log file, save it and then test your web service to get the relevant errors.
    Also, do you get the same issue, when you test your web service with an external browser as mentioned in 5.3 of the tutorial –
    http://www.myeclipseide.com/documentation/quickstarts/webservices_rest/

    #311701 Reply

    Sumithra
    Member

    hi ,
    I’m also getting the same error ” cannot access WADL “. i checked with port no. its given correctly.
    I’m working in MyEclipse 8.6 for my academic project.. pls do help…

    #311707 Reply

    Sumithra,
    I am unable to replicate this at my end. Can you clarify if the project is successfully deployed and running on the server when accessing it?
    Also, can you look for any errors logged in the problems view or in the log file located at worspace dir > .metadata > .log?

    #315048 Reply

    AadityaBadve
    Member

    In my case what I found was I had initliazed data in constructor . That doesn’t work. So I wrote everything in Public static void main (string args[]) and it works fine

    #315109 Reply

    support-swapna
    Moderator

    AadityaBadve,

    Thanks for posting the solution.
    Do let us know if you have any other issues.

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: Developing Rest Web Services Tutorial: Error: Cannot access

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