473,406 Members | 2,620 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.

Classic ASP question

Hi all, I have a .NET webservice which I would like to consume from a
classic ASP page.

Furthermore, I would like to populate a recordset (if possible) with the
data from the returned webservice so I can implement paging in the classic
ASP page...

Does anyone have any idea if I can do this, and if so, how I would go about
implementing it?
TIA
Mark
Nov 19 '05 #1
5 1391

"Mark" <ma**@Z-Zvolution.nZt> wrote in message
news:OL**************@TK2MSFTNGP14.phx.gbl...
Hi all, I have a .NET webservice which I would like to consume from a
classic ASP page.

Furthermore, I would like to populate a recordset (if possible) with the
data from the returned webservice so I can implement paging in the classic
ASP page...

Does anyone have any idea if I can do this, and if so, how I would go
about
implementing it?

Easiest way would be to create a COM object in .NET to talk to the web
service and build the recordset.

David
Nov 19 '05 #2
Hi David, thanks for your help but unfortunately, I do not have the ability
to register COM objects on the server.

Cheers
Mark
"David Browne" <davidbaxterbrowne no potted me**@hotmail.com> wrote in
message news:#T**************@TK2MSFTNGP10.phx.gbl...

"Mark" <ma**@Z-Zvolution.nZt> wrote in message
news:OL**************@TK2MSFTNGP14.phx.gbl...
Hi all, I have a .NET webservice which I would like to consume from a
classic ASP page.

Furthermore, I would like to populate a recordset (if possible) with the
data from the returned webservice so I can implement paging in the classic ASP page...

Does anyone have any idea if I can do this, and if so, how I would go
about
implementing it?

Easiest way would be to create a COM object in .NET to talk to the web
service and build the recordset.

David

Nov 19 '05 #3

"Mark" <ma**@Z-Zvolution.nZt> wrote in message
news:OV**************@TK2MSFTNGP12.phx.gbl...
Hi David, thanks for your help but unfortunately, I do not have the
ability
to register COM objects on the server.

Cheers
Mark
"David Browne" <davidbaxterbrowne no potted me**@hotmail.com> wrote in
message news:#T**************@TK2MSFTNGP10.phx.gbl...

"Mark" <ma**@Z-Zvolution.nZt> wrote in message
news:OL**************@TK2MSFTNGP14.phx.gbl...
> Hi all, I have a .NET webservice which I would like to consume from a
> classic ASP page.
>
> Furthermore, I would like to populate a recordset (if possible) with
> the
> data from the returned webservice so I can implement paging in the classic > ASP page...
>
> Does anyone have any idea if I can do this, and if so, how I would go
> about
> implementing it?

Easiest way would be to create a COM object in .NET to talk to the web
service and build the recordset.


Ok,

If you are stuck using VBScript, then use MSXML to build the SOAP request
XML, POST it, and read the response.

http://www.eggheadcafe.com/articles/20010209.asp

http://dotnetjunkies.com/WebLog/nett...2/23/4904.aspx

But this requires several things which are far from easy
-coding in VBScript
-Manually building SOAP requests in XML
-Using the MSXML2.ServerXMLHTTP library to talk to the other web server
-Manually reading SOAP responses in XML

David
Nov 19 '05 #4
Hi David, thanks, Yes I thought that this would be the only way to do
things. It's been so long since I did classic ASP :)
Thanks again
Mark

"David Browne" <davidbaxterbrowne no potted me**@hotmail.com> wrote in
message news:OY**************@tk2msftngp13.phx.gbl...

"Mark" <ma**@Z-Zvolution.nZt> wrote in message
news:OV**************@TK2MSFTNGP12.phx.gbl...
Hi David, thanks for your help but unfortunately, I do not have the
ability
to register COM objects on the server.

Cheers
Mark
"David Browne" <davidbaxterbrowne no potted me**@hotmail.com> wrote in
message news:#T**************@TK2MSFTNGP10.phx.gbl...

"Mark" <ma**@Z-Zvolution.nZt> wrote in message
news:OL**************@TK2MSFTNGP14.phx.gbl...
> Hi all, I have a .NET webservice which I would like to consume from a
> classic ASP page.
>
> Furthermore, I would like to populate a recordset (if possible) with
> the
> data from the returned webservice so I can implement paging in the

classic
> ASP page...
>
> Does anyone have any idea if I can do this, and if so, how I would go
> about
> implementing it?
Easiest way would be to create a COM object in .NET to talk to the web
service and build the recordset.


Ok,

If you are stuck using VBScript, then use MSXML to build the SOAP request
XML, POST it, and read the response.

http://www.eggheadcafe.com/articles/20010209.asp

http://dotnetjunkies.com/WebLog/nett...2/23/4904.aspx

But this requires several things which are far from easy
-coding in VBScript
-Manually building SOAP requests in XML
-Using the MSXML2.ServerXMLHTTP library to talk to the other web server
-Manually reading SOAP responses in XML

David

Nov 19 '05 #5
You could consider moving the whole logic client side and fetching the
webservice results using javascript. Theres an example of calling a page
here - and a web service is just a page that returns xml really.

http://www.rgagnon.com/jsdetails/js-0035.html

You would need to work out how to convert/parse the returned data to an xml
data island, or a javascript array and use that to do your paging. Perhaps
Sourceforges SAX parser would help.

http://xmljs.sourceforge.net/website...ation-sax.html

Of course I've not tried any of this, theoretically it should work.

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"Mark" <ma**@Z-Zvolution.nZt> wrote in message
news:Oc**************@TK2MSFTNGP12.phx.gbl...
Hi David, thanks, Yes I thought that this would be the only way to do
things. It's been so long since I did classic ASP :)
Thanks again
Mark

"David Browne" <davidbaxterbrowne no potted me**@hotmail.com> wrote in
message news:OY**************@tk2msftngp13.phx.gbl...

"Mark" <ma**@Z-Zvolution.nZt> wrote in message
news:OV**************@TK2MSFTNGP12.phx.gbl...
> Hi David, thanks for your help but unfortunately, I do not have the
> ability
> to register COM objects on the server.
>
> Cheers
> Mark
> "David Browne" <davidbaxterbrowne no potted me**@hotmail.com> wrote in
> message news:#T**************@TK2MSFTNGP10.phx.gbl...
>>
>> "Mark" <ma**@Z-Zvolution.nZt> wrote in message
>> news:OL**************@TK2MSFTNGP14.phx.gbl...
>> > Hi all, I have a .NET webservice which I would like to consume from
>> > a
>> > classic ASP page.
>> >
>> > Furthermore, I would like to populate a recordset (if possible) with
>> > the
>> > data from the returned webservice so I can implement paging in the
> classic
>> > ASP page...
>> >
>> > Does anyone have any idea if I can do this, and if so, how I would
>> > go
>> > about
>> > implementing it?
>>
>>
>> Easiest way would be to create a COM object in .NET to talk to the web
>> service and build the recordset.
>>


Ok,

If you are stuck using VBScript, then use MSXML to build the SOAP request
XML, POST it, and read the response.

http://www.eggheadcafe.com/articles/20010209.asp

http://dotnetjunkies.com/WebLog/nett...2/23/4904.aspx

But this requires several things which are far from easy
-coding in VBScript
-Manually building SOAP requests in XML
-Using the MSXML2.ServerXMLHTTP library to talk to the other web server
-Manually reading SOAP responses in XML

David


Nov 19 '05 #6

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

Similar topics

99
by: Jim Hubbard | last post by:
It seems that Microsoft not only does not need the classic Visual Basic developer army (the largest army of developers the world has ever seen), but now they don't need ANY Windows developer at a...
19
by: Adam Short | last post by:
I am trying to write a routine that will connect a .NET server with a classic ASP server. I know the following code doesn't work! The data is being returned as a dataset, however ASP does not...
3
by: Web Webon | last post by:
Hi everybody! I wonder if this is possible? I need to determine if a client is using "windows classic folders" or anything else. If I instantiate a Shell ActiveX object is there a way of...
5
by: venk | last post by:
Hi, can some one properly explain the differences between class types and classic classes? ... Still face problems in identifying what is what.
2
by: jason | last post by:
the enterprise is going to eventually convert the existing ASP Classic website to ASP.NET until that time, development has already begun for a C# library of business objects. for the most part,...
2
by: chriso | last post by:
I have a classic asp app which is reaching the end of it's lifetime in so far as being able to maintain it and I want to re-write it in asp.net. A complete re-write, although desireable, is out...
5
by: Velvet | last post by:
Can someone tell me to what process I need to attach to be able to step through my classic ASP code in VS.net 2003. I'm working on an XP box with IIS installed. I also have VS.net 2005 (The...
9
by: Charles Law | last post by:
Hi chaps I realise that this is a .NET group, but please don't shoot me down quite yet. I looked in the vb classic groups and there seems to be so little activity there that I was not hopeful of...
11
by: mase | last post by:
I've built a new ASP.NET web app with the CSLA framework. The site runs fine with a small number of users, but once there is any traffic the CPU spikes at 100%. I went through and made many updates...
12
by: mcp6453 | last post by:
My small company has a web site that is developed in "Classic ASP", which is, I'm told, different from just "ASP". It is clear to me that we are not using ASP.NET. The site is hosted on a shared...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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.