Reset Filters

SmartConnect 2018

WS Destination Exceptions

A web service destination can handle specific return types as exceptions within SmartConnect. If a web service returns a string, boolean, or integer value you can specify if the document passed to the service succeeded or failed.

 

Handling string return type exceptions:

Two options are available for a string return type:
i.A document can be failed if the string returned is not empty.
ii.A document can be failed if the string contains a specific value.

 

SmartConnect_WS_StringException

 

Handling integer return type exceptions:

If a web service method returns an integer you can specify values which should be handled as successes, and which should throw an exception.
For failures an error message may be defined for each value returned.

 

SmartConnect_WS_Integer_Return

 

Handling boolean return type exceptions:

If the web service returns a boolean (true/false) value, an error message may be defined, and an exception thrown for a false return value.

 

SmartConnect_WS_Return_Bool