O$: Web Service Server to return custom Faults
Nick Renders
omnis1 at arcict.com
Mon Mar 9 04:13:04 EDT 2015
Hi List,
I am dabbling around with the Omnis Web Service Server and was wondering
if it is possible to return my own Fault XMLs?
I know the Server does its own error handling and will return something
like:
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<soap:Fault>
<faultcode>soap:Client</faultcode>
<faultstring>Invalid year in date/dateTime value (DATETIME)
(reported from Omnis server)</faultstring>
</soap:Fault>
</soap:Body>
</soap:Envelope>
I am not looking to override that per se, but I would like to perform
some extra checks and show a Fault XML if necessary.
Can I do this from my Remote Task or is there perhaps a different way to
return custom Fault codes?
I am using Omnis Studio 4.3.2.1.
Best regards,
Nick Renders
More information about the omnisdev-en
mailing list