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 

<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
             <faultstring>Invalid year in date/dateTime value (DATETIME) 
(reported from Omnis server)</faultstring>

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

Best regards,

Nick Renders

More information about the omnisdev-en mailing list