# Configure REST service in CMS

**URL:** <https://community.bloomreach.com/t/configure-rest-service-in-cms/2575>\
**Category:** Experience Manager (PaaS/OnPrem)\
**Created:** [May 12, 2021, 3:32pm UTC](https://community.bloomreach.com/t/configure-rest-service-in-cms/2575 "2021-05-12T15:32:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![asanchez](https://avatars.discourse-cdn.com/v4/letter/a/46a35a/32.png) [@asanchez](https://community.bloomreach.com/u/asanchez)\
**Post date:** [May 12, 2021, 3:32pm UTC](https://community.bloomreach.com/t/configure-rest-service-in-cms/2575/1 "2021-05-12T15:32:04Z")

</div>

Hi there,

I am trying to declare a POST service under the cms … I am following the following tutorial:

[https://documentation.bloomreach.com/14/library/concepts/hippo-services/repository-jaxrs-service.html](https://documentation.bloomreach.com/14/library/concepts/hippo-services/repository-jaxrs-service.html)

but when I call the service in the logs I get the following:

```
[INFO] [talledLocalContainer] 12.05.2021 17:28:37 WARN http-nio-8080-exec-3 [ServletController.invoke:182] Can't find the request for http://localhost:8080/cms/ws/hello's Observer
```

---

<div class="post-metadata">

**Author:** ![jrveleche](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/jrveleche/32/1163_2.png) [@jrveleche](https://community.bloomreach.com/u/jrveleche)\
**Post date:** [December 16, 2021, 3:26pm UTC](https://community.bloomreach.com/t/configure-rest-service-in-cms/2575/2 "2021-12-16T15:26:27Z")

</div>

Hello, Did you find the solution for this? I have the same problem, I’m following the same tutorial, Thanks for the help

---

<div class="post-metadata">

**Author:** ![asanchez](https://avatars.discourse-cdn.com/v4/letter/a/46a35a/32.png) [@asanchez](https://community.bloomreach.com/u/asanchez)\
**Post date:** [January 27, 2022, 2:50pm UTC](https://community.bloomreach.com/t/configure-rest-service-in-cms/2575/3 "2022-01-27T14:50:59Z")

</div>

Hello, yes, I opened another thread on another site and they answered me. I haven’t tried it yet but let’s see if it works for you

> [@Save to repository with REST service](https://community.bloomreach.com/t/save-to-repository-with-rest-service/2968):
>
> Hello, The client does not request a requirement that until now had not been given. The need is to have a REST service (@POST) with which the user can modify the values ​​of the fields of a document. Until now all we’ve done is query REST services, but not node/document modifications. Previously we have made a development that is in Production, which reads information from an external repository and saves it in the cms (repository-cms). This is a J2EE build that runs from a cms cronjob. This …

---

<div class="post-metadata">

**Author:** ![andizigiye](https://avatars.discourse-cdn.com/v4/letter/a/b38774/32.png) [@andizigiye](https://community.bloomreach.com/u/andizigiye)\
**Post date:** [June 11, 2025, 12:09pm UTC](https://community.bloomreach.com/t/configure-rest-service-in-cms/2575/5 "2025-06-11T12:09:27Z")

</div>

Following the example in the tutorial i had the same issue and i was able to solve it like this:

```auto
@Path("/")
    public static class HelloResource {
        @GET
        public String sayHello(@QueryParam("name") String name) {
            return "Hello " + name +"!";
        }
    }

```

@Path(“/”) must be on the inner class HelloResource. You could of cource also add an extra @Path on the method sayHello

---

<div class="post-metadata">

**Author:** ![machak](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/machak/32/1298_2.png) [@machak](https://community.bloomreach.com/u/machak)\
**Post date:** [June 13, 2025, 8:35am UTC](https://community.bloomreach.com/t/configure-rest-service-in-cms/2575/6 "2025-06-13T08:35:19Z")

</div>

Those calls needs to be authenticated:

> By default, REST endpoints registered at the RepositoryJaxrsService are secured with basic authentication via the Hippo Repository and require a valid repository (CMS) username and password.

Are you using valid user/password when calling those endpoints?
