on 02-11-2019 7:23 PM
Hi Team,
By using a Custom Web Service created using SDK, we are getting below issues.
1. The Update method of Custom Web Service can't be used with Action Code "04" to create a New Instance
2. The Create method of Custom Web Service can't be used with Action Code "04" to update an existing instance.
We need to use both methods of a Custom Web Service for New instance creation Create Method and Updating Update Method. But when using Standard web service the same thing will happens using Same method with Different Action Codes.
Action Code = 01 - Only Create
Action Code = 04 (Update If exists, else create if not exists)
So when compare to standard for Custom why we need to use 2 methods instead of controlling using Action Code.
Want to check is this the default system behavior, if so how the standard web services are working?
Thanks & Regards,
Prashanth Kumar B.
Hi Prashanth,
In the case of a custom Web Service you have separate methods for each of the CRUD(Create, Read, Update, Delete) operations.
This allows to customize each of the operations to only allow certain operations on selected Elements and is the expected system behavior.
Therefore you are unable to Update an entry with a Create method or vice versa as this violates the restrictions.
I hope this helps,
Piotr.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.