Web service end point setup in tomcat

Hi guys,

I am trying to test web service and      
here are the port numbers I am currently using:
4438, 8070   Apache
3306              MySQL
9090              Tomcat

I installed Tomcat6.0 and inside webaaps, I put "Retail_App_Rest" folder.
1.JPGWhen I entered http://localhost:9090/ on a web browser, it brought up Apache Tomcat page.
However, when I entered  "http://localhost:9090/Retail_App_Rest/retail" on a web browser, I got the following error.
2.JPG
end point is http://localhost:9090/Retail_App_Rest/retail
The resource I am trying to test is "http://localhost:9090/Retail_App_Rest/retail/admin/login                  - POST"
I just changed the port number to 9090 since 8080 in my computer is in use.
My OS is Windows 10.

can anybody tell me what to do resolve this issue? I want to make sure that my endpoint it working correctly.

Thanks,
Izzy
2.JPG
IzzyTwinklyAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mccarlIT Business Systems Analyst / Software DeveloperCommented:
The first error is showing that http://localhost:9090/Retail_App_Rest/retail is NOT actually an endpoint (hence the "Not Found" message)

The second error is showing that http://localhost:9090/Retail_App_Rest/retail/admin/login IS an endpoint but it does not support the GET method which is what the browser would be using if you type that address into the address bar. From the naming and what you wrote above, my guess is that it only supports the POST method. So to test it you would need to use a client that you can specify the method to use. From the screenshot, can I guess that you are using Google Chrome? If so, one option could be to install a Chrome extension such as this.... https://chrome.google.com/webstore/detail/advanced-rest-client/hgmloofddffdnphfgcellkdfbfbjeloo/   that can help with testing REST services.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
kadadi_vIT AdminCommented:
have you created .war file ( complied ) for your application...?

Regards,
VK
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Services

From novice to tech pro — start learning today.