UniBasic Commands Reference - Rocket Software
UniBasic Commands Reference - Rocket Software UniBasic Commands Reference - Rocket Software
SOAPRequestWrite Syntax SOAPRequestWrite(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 Outputs the SOAP request in XML format to a string or to a file. Parameters The following table describes each parameter of the syntax. Parameter Description 1-758 UniBasic Commands Reference Request Handle to the request created with SOAPCreateRequest. [IN] reqDoc Depending on docTypeFlag, either an output string containing the SOAP request content, or a path to a file where the SOAP request content will be written. [OUT] docTypeFlag A flag indicating whether reqDoc is an output string that is to hold the request content, or a path to a file where the SOAP request content will be written. ? 0 – reqDoc is a file where the request content will be written upon successul completion. ? 1 – reqDoc is a string that will hold the request upon successful completion. [IN] SOAPRequestWrite Parameters
Return Codes The return code indicating success or failure. The following table describes the value of each return code. Return Code Description 0 Function completed successfully. 1 Invalid request handle. 2 Unable to open the file named by reqDoc. 3 Unable to write to the file named by reqDoc. SOAPRequestWrite Return Codes You can also use the UniBasic STATUS() function to obtain the return status from the function. SOAPRequestWrite 1-759
- Page 750 and 751: Related Commands UniBasic DELETELIS
- Page 752 and 753: Related Commands UniBasic DELETELIS
- Page 754 and 755: Note: SEND with the X option suppre
- Page 756 and 757: SEQS Syntax SEQS("char.expr") Descr
- Page 758 and 759: The following table describes the s
- Page 760 and 761: Parameters The following table desc
- Page 762 and 763: The following table describes the s
- Page 764 and 765: setHTTPDefault Syntax setHTTPDefaul
- Page 766 and 767: The following table describes the s
- Page 768 and 769: Parameters The following table desc
- Page 770 and 771: Examples In the following example,
- Page 772 and 773: setPrivateKey Syntax setPrivateKey(
- Page 774 and 775: setRandomSeed Syntax setRandomSeed(
- Page 776 and 777: setRequestHeader Syntax setRequestH
- Page 778 and 779: setSocketOptions Syntax setSocketOp
- Page 780 and 781: showSecurityContext Syntax showSecu
- Page 782 and 783: SIGNATURE Syntax SIGNATURE(algorith
- Page 784 and 785: Return Code Status 1-742 UniBasic C
- Page 786 and 787: SLEEP Syntax SLEEP [hh:mm[:ss]] [se
- Page 788 and 789: SMUL Syntax SMUL(x, y) Description
- Page 790 and 791: Return Codes The return code indica
- Page 792 and 793: The following table describes each
- Page 794 and 795: SOAPGetDefault Syntax SOAPGetDefaul
- Page 796 and 797: SOAPGetFault Syntax SOAPGetFault(re
- Page 798 and 799: SOAPGetResponseHeader Syntax SOAPGe
- Page 802 and 803: SOAPSetDefault Syntax SOAPSetDefaul
- Page 804 and 805: Along with SOAPSetDefault, the Call
- Page 806 and 807: Return Codes The return code indica
- Page 808 and 809: Return Codes The return code indica
- Page 810 and 811: Return Codes The return code indica
- Page 812 and 813: You can also use the UniBasic STATU
- Page 814 and 815: Return Codes The return code indica
- Page 816 and 817: SOUNDEX Syntax SOUNDEX(expr) Descri
- Page 818 and 819: SPACE Syntax SPACE(expr) Descriptio
- Page 820 and 821: SPLICE Syntax SPLICE(expr1,"expr",
- Page 822 and 823: SQLAllocConnect Syntax status = SQL
- Page 824 and 825: SQLAllocEnv Syntax status = SQLAllo
- Page 826 and 827: SQLAllocStmt Syntax status = SQLAll
- Page 828 and 829: SQLBindCol Syntax status = SQLBindC
- Page 830 and 831: SQLBindParameter Syntax status = SQ
- Page 832 and 833: Parameters The following table desc
- Page 834 and 835: SQLCancel Syntax status = SQLCancel
- Page 836 and 837: SQLColAttributes Syntax status = SQ
- Page 838 and 839: 1-796 UniBasic Commands Reference C
- Page 840 and 841: SQLColumns Syntax status = SQLColum
- Page 842 and 843: Return Values The following table d
- Page 844 and 845: Parameter Description Return Values
- Page 846 and 847: Parameter Description Return Values
- Page 848 and 849: Return Values The following table d
Return Codes<br />
The return code indicating success or failure. The following table describes the value<br />
of each return code.<br />
Return<br />
Code Description<br />
0 Function completed successfully.<br />
1 Invalid request handle.<br />
2 Unable to open the file named by reqDoc.<br />
3 Unable to write to the file named by reqDoc.<br />
SOAPRequestWrite Return Codes<br />
You can also use the <strong>UniBasic</strong> STATUS() function to obtain the return status from the<br />
function.<br />
SOAPRequestWrite 1-759