Skip to content

pbValidateResponse - cClientWebService

Determines if validation of a SOAP response should be relaxed

Type: Property
Access: Read/Write
Data Type: Boolean
Parameters: None

Syntax

Property Boolean pbValidateResponse
Access Type Syntax
Read Access: Get pbValidateResponse to BooleanVariable
Write Access: Set pbValidateResponse to BooleanVariable/Value

Description

Normally a web service's response should be fully validated against the expected result. In some cases, web-services may not properly adhere its service definition (WSDL). The pbValidateResponse relaxes this validation. By default this property is true, which means a full validation is performed. If your web service seems to be returning proper (i.e., usable) data but you are getting a response error, you can try setting this property to false.

This can also be used with pbResponseBare to return the entire SOAP body without performing any validation.