Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / October 2005

Tip: Looking for answers? Try searching our database.

Error retrieve data returned from Web Service

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Wing Chan - 07 Oct 2005 20:26 GMT
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()
Registered User - 08 Oct 2005 07:04 GMT
>Hello,
>
[quoted text clipped - 8 lines]
>(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()

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.