how to convert progress4GL dataset output parameter to .net type when consuming the...

Status
Not open for further replies.
M

Milka Salkova

Guest
So my Colleague has written a simple web service in progress4GL which expect from me as input parameter - > dataset and returns me a dataset. here is the web service

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.


And in .net when I consume the web service .net expect to pass XmlElement type for the progress4gl input - output dataset parameter

XmlElement docresult = doc.DocumentElement;
beaHostDB.TranslateList(pCoCd, languageID, " ", " ", ref docresult, out pErrorTxt);


But Yesterday when my colleague uploaded the web service on the server - and when I made the new web reference to web service - sudddently for this output - input dataset parameter .net says that it expects beaHost.ds11TTList ds11 type. (here beaHost is the name of the reference to the webService ).

Can someone help me ehat might be the problem when uploading to the server not to

Continue reading...
 
Status
Not open for further replies.
Top