I am new to progress. I have issue accessing the dataset object which created in progress web service.
Kindly find the below coding
define temp-table tMember no-undo field MemberId AS INT field EngName AS CHAR define input parameter pRelationId as integer no-undo. define dataset dsMem for tMember. define data-source srcMem for tMember. define output parameter dataset for dsMem. define query qMem for tMember. create tMember. ASSIGN tMember.MemberId = memberid. ASSIGN tMember.EngName = memname. BUFFER tMember:ATTACH-DATA-SOURCE(DATA-SOURCE srcMem:HANDLE,?,?). QUERY qMem:QUERY-PREPARE("FOR EACH tMember"). DATASET dsMem:FILL().
I have tested this code in SOAPUI. it is working fine.
but when I try to access it in .net.. I couldn't. see the below code in .net
Let me know how to access the dataset in .net..
System.Int32? intRelID; localhost.GetMemTestService srv = new localhost.MemTestService(); lblResult.Text = srv.GetMemTest(intRelID.Value, out strResult); lblResult.Text = strResult;
Kindly let me know if any one know.. how to access the dataset ??
Please go through "ABL ProDataSet to ADO.NET DataSet mappings" section in OpenEdge Development: .NET Open Clients documentation.
You can find online documentation @ documentation.progress.com/.../dvnet.pdf