如何发送数据集输入 - 输出参数从.net进展

时间:2014-05-20 09:17:13

标签: c# progress-4gl

所以我的同事已经编写了一个简单的Web服务,我希望将其作为输入参数 - >数据集。这是网络服务

Define TEMP-TABLE TTList NO-UNDO
       FIELD  CtrlName          AS CHAR
       FIELD  WrdNr             AS INT
       FIELD  Descr             AS CHAR
       FIELD  DescrShort        AS CHAR
       FIELD  DescrTooltip      AS CHAR

       FIELD TRecid             AS INT
       .

DEFINE DATASET ds FOR TTList.

DEFINE INPUT        PARAMETER pCoCd                         AS CHARACTER   NO-UNDO.
DEFINE INPUT        PARAMETER pLanCd                        AS CHARACTER   NO-UNDO.
DEFINE INPUT        PARAMETER pUsrCd                        AS CHARACTER   NO-UNDO.
DEFINE INPUT        PARAMETER pFilter                       AS CHARACTER   NO-UNDO.
DEFINE INPUT-OUTPUT PARAMETER DATASET                       FOR ds.
DEFINE       OUTPUT PARAMETER pErrorTxt                     AS CHARACTER   NO-UNDO.

DEFINE STREAM sLOG.

{ RunSupersOnAppServer.i }

FOR EACH TTList WHERE TTList.WrdNr <> 0:

    RUN Super-Find-Wrd  ( INPUT pLanCd             ,
                          INPUT TTList.WrdNr       ,
                          INPUT ""                 ,
                         OUTPUT TTList.Descr       ,
                         OUTPUT TTList.DescrShort  ,
                         OUTPUT TTList.DescrTooltip).
END.

RETURN.

所以我的问题是:有人可以帮助我如何从c#/ .net构建这个数据集/ xmlDocument并发送它以便进步可以理解它

0 个答案:

没有答案