The Adapter for Web Services uses SOAP to invoke and communicate with Web methods on a Web Service. By default, exceptions are communicated through a <Soap:Fault> embedded in a Soap Message Body.
Web services may use return values to communicate exceptions. For example, a Web method may return "True" if the work was completed successfully, or "False", if not. An [Out] parameter may be used in addition to the boolean return value to include details on what happened.
The Web Services adapter enables you to use regular expressions to define the match condition on a parameter that represents an exception. You can define a regular expression to look for the text "False" on the return parameter, and the adapter can log an exception if the return parameter matches the expression.
Note: The Web Services adapter does not roll back any state set by the web service, even if invoking the Web Service is logged as an exception.
You can define a regular expression on the [Out] parameter if you only want to log an exception based on more specific details, such as a regular expression that looks for a specific type of condition and ignores other details.
To set a regular expression as a match condition to test for:
If you are modifying a connection that is not used in a DTS, click Connection.
See Also