This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
bizweaver:exec_sql [2024/09/09 14:09] dlee |
bizweaver:exec_sql [2024/09/09 14:35] (current) dlee [Create Control Procedure] |
||
|---|---|---|---|
| Line 61: | Line 61: | ||
| </ | </ | ||
| - | * @wsMethod: | + | * @wsMethod: POST |
| - | * @wsUrl: | + | * @wsUrl: |
| - | * Use HTTP:// or HTTPS:// as appropriate for your installation. | + | * @wsPort: < |
| + | * @wsContent: ' | ||
| + | * @wsAuthToken: | ||
| + | * @wsTaskId: workflow id | ||
| + | * @wsStartAfter: | ||
| + | * @wsParameters: | ||
| + | * Example: the variable name in the Bizweaver workflow is vgo_BatchID (case sensitive) | ||
| + | <code sql> | ||
| + | SET @wsParameters = ' | ||
| + | </code> | ||
| - | * // | ||
| - | * // | ||
| - | |||
| - | * //@wsPort// is the port number used for your Bizweaver web service. | ||
| - | * 443 is the standard for HTTPS installations. | ||
| - | * 80, 8080, 8081, 8090 are examples of ports typically used in HTTP installation. | ||
| =====Calling Bizweaver Using spCallBizweaverWS==== | =====Calling Bizweaver Using spCallBizweaverWS==== | ||
| <code sql> | <code sql> | ||
| - | set @Arguments = ' | + | DECLARE @Arguments NVARCHAR(MAX) |
| + | SET @Arguments = ' | ||
| EXECUTE [dbo].[spCallBizweaverWS] | EXECUTE [dbo].[spCallBizweaverWS] | ||
| - | @wsMethod=' | + | |
| - | + | , | |
| - | -- add your URL. Be sure to use http or https as appropriate. | + | , |
| - | + | , | |
| - | , | + | , |
| - | + | , | |
| - | , | + | , |
| - | + | , | |
| - | -- Add your Auth Token from Bizweaver | + | |
| - | + | ||
| - | , | + | |
| - | + | ||
| - | -- Add your workflow ID from Bizweaver | + | |
| - | + | ||
| - | , | + | |
| - | , | + | |
| - | + | ||
| - | , | + | |
| - | -- Add your port number | ||
| - | , | ||
| END | END | ||
| </ | </ | ||