wwSoap::AddReturnValue

Use this method to return more than a single result value to the client before calling CreateSoapResponseXML. If you return a single return value you don't need this method.

This method adds return values to the aReturnValues array. The first return value you create should be the actual request return value - any ByRef result values should be added afterwards.

o.AddReturnValue(lcName, lvValue, lcXMLType)

Return Value

Number of return values currently in use

Parameters

lcName
The name of the parameter to return

lvValue
The value to return

lcXMLType
Optional - The XML type of the result value. If not provided the type is determined by the type of the VFP value. Note that you might have to override for specific numeric types.

Remarks

This method is not required if you're returning a single value. Use this method only if you need to return additional ByRef parameters on the server side when returning results to the client.

This is a method used only in SOAP server implementations.


See also:

Class wwSoap

© West Wind Technologies, 1996-2024 • Updated: 03/20/08
Comment or report problem with topic