Solved

working with webserv soap and query

Posted on 2008-06-18
6
436 Views
Last Modified: 2012-05-05
Hello guys

I created a webserv with soap, I added in datamodule a query with this string:

SELECT * FROM CPACLIE

In my cliente program I use ClientDataSet1 to retrieve me only 10 rows.

My table cpaclie has 30.000 rows.
I have a doubt about my query in my webserv

When I require 10 rows, that is, in in commandtext of my ClientDataSet1 I have:

SELECT * FROM CPACLIE
WHERE STATE=1

My query in WebServ will open a full adoquery with 30.000 rows and after opening it will give me my rows from it or the adoquery in my webserv will open my query with 10 rows as I required in the client?

I hope I could explain
thanks
0
Comment
Question by:hidrau
  • 3
  • 3
6 Comments
 
LVL 21

Assisted Solution

by:ziolko
ziolko earned 500 total points
ID: 21873191
try to use sql command on adoquery not clientdataset

ziolko.
0
 
LVL 1

Author Comment

by:hidrau
ID: 21873239
But I need to connect my application through internet, that is, http

0
 
LVL 21

Expert Comment

by:ziolko
ID: 21874266
so you have adoquery on server side and clientdataset in client application?

ziolko.
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 1

Author Comment

by:hidrau
ID: 21874480
Yeah, I have a webserver with ado connected to my MS SQL 2005 and my application uses these components SoapConnection1

Have you ever worked with webserver? Do you know any link or book that teaches how to work correctly with webserver and application ?

thanks
 
0
 
LVL 21

Accepted Solution

by:
ziolko earned 500 total points
ID: 21881662
hi, I did some webserver programming but not with SOAP. I used SOAP only for fun sometime ago but from what I remember you can pass parameters from client to server so you can use it to invoke apropriate sql command

ziolko.
0
 
LVL 1

Author Closing Comment

by:hidrau
ID: 31468516
I just closed this question. Ziolko helped many times but this time unfortunately he couldn't

even though thanks
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question