Hello, I’m trying to invoke a REST method while passing an entity but I get the message: "

The service is registered in the xml as:

and my method is defined as:

I’m wondering what I’m doing wrong.
Thanks.
Hello, I’m trying to invoke a REST method while passing an entity but I get the message: "

The service is registered in the xml as:

and my method is defined as:

I’m wondering what I’m doing wrong.
Thanks.
Hi,
The “type” attribute of the <param> in rest-services.xml should be a fully qualified class name (with package). So you should either add a package name to the Organization value (e.g. com.company.entity.Organization) or remove the “type” attribute at all, because it is optional and is required only if there are multiple create() methods in your service.
Thanks. It worked.