on 05-24-2016 10:14 PM
Hello,
I am trying to create an import function to invoke the EXECUTE_ACTION function. It is invoked when the import function has a cardinality of 1; however, when I change it to 0..n I get this error:
<message xml:lang="en">The specified HTTP method is not allowed for the resource identified by the Data Service Request URI</message>
I made sure the function has POST method type while I request a POST service. Any idea why this error is happening and how I can fix it?
Cheers
Hello Jasim,
As far as i know the error is valid.
My understanding is when ever we set the cardinality 0..n or 1..n , we will have to specify the return entity set and this is needed when wet set the HTTP method to GET.
But with methods POST/PUT/DELETE, we would act upon on an entity and return type is expected is also an entity.In those cases we set cardinality 0..1 or 1 and we specify return entity only.
Regards,
Ashwin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.