Message Boards

Invoke http://localhost:8080/api/jsonws/invoke result in 403

thumbnail
Fernando Paz, modified 2 Years ago.

Invoke http://localhost:8080/api/jsonws/invoke result in 403

New Member Posts: 11 Join Date: 9/16/16 Recent Posts

Hello friends,

Pls help: I try to call a WebService via:

```

Liferay.Service(
        '/foo/update-foo',
    {
            "+foo": "com.liferay.impl.FooBean",
        "foo.field1" : "test",
        "foo.field2" : "true",
        "foo.field3": 123
        },
        function(obj) {
            console.log(obj);
        }
    );

```

in a JSP page but I get a `HTTP 1.1 403` why?

BTW when I call to the same web service by `http://localhost:8080/api/axis` `WSDL` definition, I can consume it with out problems.

Any Idea pls I I miss some configuration?

Liferay Portal 7.4.1-ga2

Thanks.