publishing REST service

Post any questions you have about using the Verj.io Studio, including client and server-side programming with Javascript or FPL, and integration with databases, web services etc.

Moderators: Jon, Steve, Ian, Dave

aschultz
Ebase User
Posts: 11
Joined: Sun Oct 11, 2015 12:56 pm

publishing REST service

#1

Postby aschultz » Mon May 01, 2017 12:57 pm

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?
0 x

Steve
Moderator
Moderator
Posts: 414
Joined: Fri Sep 07, 2007 3:44 pm
Location: Sandy, UK
Contact:

#2

Postby Steve » Mon May 08, 2017 9:02 am

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
0 x

aschultz
Ebase User
Posts: 11
Joined: Sun Oct 11, 2015 12:56 pm

#3

Postby aschultz » Mon May 08, 2017 9:06 am

Hi Steve,

The latest version of ebase was installed but we were using an old web.xml. this was causing the problem like you said. Thank you for replying!
0 x


Who is online

Users browsing this forum: No registered users and 123 guests