Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8675605
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T19:59:24+00:00 2026-06-12T19:59:24+00:00

I created web service in C# .net with input parameter : DataSet in other

  • 0

I created web service in C# .net with input parameter : DataSet

in other side, i need to use this web service from progress OpenEdge 4GL 10.1 (not 10.2)

the problem is Dataset in OpenEdge cant match with DataSet in .net.
always return 0 in the result

I’m C# programmer, so dont have deep knowledge in porgress. I did research in progress forum, but not a good result.

any help ?
thanks in advance.

*codes*****

//web service : C# .net

[webmethod]

public int getResult(DataSet ds)
{

  DataTable tbl = ds.Tables["datas"];

  int result=0;

  foreach (DataRow dr in tbl.Rows){ //only 1 record = 1 row

     result = Convert.toInt32(dr["field1"]); }

  return result;
}

//progress OpenEdge 10.1

— create and fill temp-table : field1 = 30 and only 1 record

— create dataset and bind to temp-table

— connect to web service

— call webmethod :

define variable result as integer no-undo.

RUN getResult IN hPortType(INPUT dataset,OUTPUT result).

message result view-as alert-box info button ok. —> RESULT ALWAYS 0

/****/

anyone know how to “bridge” dataset in progress openedge to .net dataset ?

note: this web service works well if called from .net

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T19:59:25+00:00Added an answer on June 12, 2026 at 7:59 pm

    for webservices should you use the XML. that’s standardized method of communication.

    http://en.wikipedia.org/wiki/Web_service

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've created a [WebMethod] on ASP.NET Web Service which reads XML documents from different
I have asp.net web service application created in VS 2010. I created this web
I have created an web service I need to publish this service. I need
I just created my first Web Service. I use: IIS 7.5 VS 2008 .Net
I have created simple .NET Web Service (ASMX) that I call from my .NET
I have created Web-Service in asp.net with c# . Now i want to pass
My office mate created a web service application to be consumed by a .Net
What I have created a very simple asp.net web service using .NET framework 3.5,
I have two applications Web Socket and Web Service created in .Net/Web Form and
I created a simple .Net web service which runs a very simple query (which

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.