UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software UniBasic Commands Reference - Rocket Software

rocketsoftware.com
from rocketsoftware.com More from this publisher
11.04.2013 Views

Return Codes The return code indicating success or failure. The following table describes the value of each return code. You can also use the UniBasic STATUS() function to obtain the return status from the function. 1-766 UniBasic Commands Reference Return Code Description 0 Function completed successfully. 1 Invalid request handle. SOAPSetRequestBody Return Codes

SOAPSetRequestContent Syntax SOAPSetRequestContent(Request, reqDoc, docTypeFlag) Note: This function is case-sensitive. If you want it to be case-insensitive, you must compile your programs using the BASIC command with the -i option. Description Sets the entire SOAP request's content from an input string or from a file. Parameters The following table describes each parameter of the syntax. Parameter Description Request Handle to the request created with SOAPCreateRequest. [IN] reqDoc The input document to be used as the SOAP request content. [IN] docTypeFlag A flag indicating whether reqDoc is a string holding the actual content, or the path to a file holding the content. ? 0 – reqDoc is a file holding the request content. ? 1 – reqDoc is a string holding the request content. [IN] SOAPSetRequestContent Parameters SOAPSetRequestContent 1-767

Return Codes<br />

The return code indicating success or failure. The following table describes the value<br />

of each return code.<br />

You can also use the <strong>UniBasic</strong> STATUS() function to obtain the return status from the<br />

function.<br />

1-766 <strong>UniBasic</strong> <strong>Commands</strong> <strong>Reference</strong><br />

Return<br />

Code Description<br />

0 Function completed successfully.<br />

1 Invalid request handle.<br />

SOAPSetRequestBody Return Codes

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!