KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Change to the Get SOAP info function
PRODUCT: 4D | VERSION: 2003 | PLATFORM: Mac & Win
Published On: January 15, 2004

Compatibility: Version 2003.2

The Get SOAP info function is designed to return information about incoming SOAP requests. According to the 4th Dimension 2003 documentation, Get SOAP info accepts two constants, illustrated in the example code below:

$methodName:=Get SOAP info(SOAP Method Name)
$serviceName:=Get SOAP info(SOAP Service Name)

Called with the SOAP Method Name constant, Get SOAP info returns the method name specified by the SOAP request. The SOAP standard does not require a service name to be passed in a service request, so the results of the SOAP Service Name constant are not predictable. Beginning with version 2003.2, the result of calling Get SOAP info with the SOAP Service Name constant is always an empty string.