1

I installed Archiva 1.4-M4, and tried to access its REST API, beginning with the simple ping service, using curl;

$ curl http://localhost:8080/restServices/pingService/ping
<html><body>No service was found.</body></html>

Perhaps some configuration needs to be set to enable the services, but I can't find anything in the documentation that indicates such. It does say there should be a .wadl file in the distribution, but I can't find one in the install directories.

How do I get started with this?

CAB
  • 1,015
  • 1
  • 14
  • 24

1 Answers1

2

Try

http://localhost:8080/restServices/archivaServices/pingService/pingenter

See wadl files: http://localhost:8080/restServices/

If installed as root context! If not http://localhost:8080/${yourContext}/...

Olivier Lamy
  • 2,280
  • 1
  • 14
  • 12