Hi,
We have some issues with publishing a REST web service. We've configured it normally just like in the tutorial. But when we try to test the web service, we get a 404 error: "The requested resource is not available". This also happens when we try the tutorial. In the administration console we can see that the service is enabled. Does anyone have an idea how we can fix this?
publishing REST service
Moderators: Jon, Steve, Ian, Dave
-
- Moderator
- Posts: 414
- Joined: Fri Sep 07, 2007 3:44 pm
- Location: Sandy, UK
- Contact:
Hi aschultz,
Is this an upgraded system? A 404 is a NOT FOUND error. This could be due to the RESTful web service servlet is not configured correctly? Otherwise you need to check the URL that is being called is correct. The URL should be something like this:
http://<server>:<port>/ufs/api/<restfule-service-name>/<endpoint-uri>
Are you testing using the RESTful Service Test dialog? If you have the log info set to true on the test server, then you should be able to see the incoming request and outbound response.
You can enable the debug also on the RESTful web service.
If the incoming URL is correct, you should see messages saying that it is registering the RESTful web service.
Kind regards
Steve Upton
Is this an upgraded system? A 404 is a NOT FOUND error. This could be due to the RESTful web service servlet is not configured correctly? Otherwise you need to check the URL that is being called is correct. The URL should be something like this:
http://<server>:<port>/ufs/api/<restfule-service-name>/<endpoint-uri>
Are you testing using the RESTful Service Test dialog? If you have the log info set to true on the test server, then you should be able to see the incoming request and outbound response.
You can enable the debug also on the RESTful web service.
If the incoming URL is correct, you should see messages saying that it is registering the RESTful web service.
Kind regards
Steve Upton
0 x
-
- Ebase User
- Posts: 11
- Joined: Sun Oct 11, 2015 12:56 pm
Who is online
Users browsing this forum: No registered users and 105 guests