KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Command SOAP DECLARATION and Compiler method
PRODUCT: 4D | VERSION: 2003 | PLATFORM: Mac & Win
Published On: May 23, 2003
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

In addition to using the SOAP DECLARATION command to declare any incoming or outgoing variables, it is necessary to declare these variables in the Compiler_Web method with the Compiler commands (e.g. C_TEXT, C_LONGINT and etc.). Please note that that last restriction applies to compiled applications only.

By default, the Compiler_Web does not exist. Therefore, you have to create it.

Suppose you created the following SOAP method:

` Method: My_SOAP_Method
SOAP DECLARATION(varInput;Is LongInt;SOAP Input;”InComing”)
SOAP DECLARATION(varOutput;Is LongInt;SOAP Output;”Outgoing”)
varOutput:=varInput

You will declare both varOutput and varInput in the Compiler_Web as the following:

` Method: Compiler_Web
C_LONGINT(varOutput;varInput)