Skip to content

peSOAPVersion - cClientWebService

Determines the SOAP version in use

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

Syntax

Property Integer peSOAPVersion
Access Type Syntax
Read Access: Get peSOAPVersion to IntegerVariable
Write Access: Set peSOAPVersion to IntegerVariable/Value

Description

Determines the SOAP version in use.

Valid values are:

Constant Meaning
svSOAP11 SOAP version 1.1
svSOAP12 SOAP version 1.2

This is primarily a read-only property. In cClientWebService, it must return svSOAP11. In cClientWebService12, it will return svSOAP12, unless you change it.

You actually can change this to svSOAP11 and the cClientWebService12 object will generate a SOAP 1.1 XML. However, the more straight forward way to do this is just to use the cClientWebService superclass.