473,406 Members | 2,293 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Error retrieve data returned from Web Service

Hello,

I am having a runtime error when automating the following process:

-Make a connection to a web service that returns a recordset of data (which
is a lot more than 80,000 rows and with lots of columns)
-Then insert all these records into an access table
-Refresh the pivot table in excel that is pointed to that access table.

The error I got is that when that the variable I declared from below
(arrTemp) cannot hold that many rows of records.
Does anyone have some insights I really appreciate it. Thanks in advance.

Set oSOAPClient = CreateObject("MSSOAP.SoapClient")
oSOAPClient.MSSoapInit "http://" + sServer +
"/WebService1/Service1.asmx?wsdl", "Service1", "Service1Soap"

Dim arrTemp()
arrTemp = oSOAPClient.spSlsCrossTab()

Nov 23 '05 #1
1 962
On Fri, 7 Oct 2005 12:26:03 -0700, Wing Chan
<Wi******@discussions.microsoft.com> wrote:
Hello,

I am having a runtime error when automating the following process:

-Make a connection to a web service that returns a recordset of data (which
is a lot more than 80,000 rows and with lots of columns)
-Then insert all these records into an access table
-Refresh the pivot table in excel that is pointed to that access table.

The error I got is that when that the variable I declared from below
(arrTemp) cannot hold that many rows of records.
Does anyone have some insights I really appreciate it. Thanks in advance.
80,000 of anything is a relatively large number. The run-time array
error is a symptom that suggests something is wrong with the server
design. The client would be better served if paged data were
available. Each client could then set its desired page size when
consuming the data

public sometype[] spSlsCrossTab(int StartingRecord, int
RecordsToReturn);

regards
A.G.
Set oSOAPClient = CreateObject("MSSOAP.SoapClient")
oSOAPClient.MSSoapInit "http://" + sServer +
"/WebService1/Service1.asmx?wsdl", "Service1", "Service1Soap"

Dim arrTemp()
arrTemp = oSOAPClient.spSlsCrossTab()


Nov 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Mohammed Mazid | last post by:
Can anyone please help me here? Basically I have modified the source code and understood it but when I update a record in the db using a JSP, it gives me an error "The flight you selected does...
5
by: Tony Wright | last post by:
Hi, I am having a problem installing an msi for a web site. The error message I am getting is: "The specified path 'http://mipdev05/features/Fas2' is unavailable. The Internet Information...
4
by: coosa | last post by:
Hi, I was installing SQL Server on my machine and during installation my PC freezed. It happens frequently on my machine. So i tried after restarting to install it again and since then i always...
1
by: amijai11 | last post by:
I am getting following error for a trigger, please let me know if anyone knows how to fix the problem. Thks in advance for the help. SQLCODE = -20100, ERROR: AN ERROR OCCURRED WHEN BINDING A...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.