Throw a SoapFault from a published Webservice operation
Hi, I exposed an operation with the StartDate and the EndDate as parameters and this operation returns let's say a list of Order objects. I would like to do the "StartDate must be before EndDate" validation and in case it fails, I would like to break the normal flow and throw a new SoapFault with my own explanatory messages. Is that supported? Thanks!
The community commons lib from the appstore contains a function ThrowWebserviceException that allows you to throw a web service error with the message you define. I think you can incorporate this into your flow.