cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with the Custom Web Service created using SDK

former_member203952
Discoverer
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member592782
Active Participant
0 Kudos

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.