469,319 Members | 2,446 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,319 developers. It's quick & easy.

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 1199

"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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Web Webon | last post: by
5 posts views Thread by Velvet | last post: by
9 posts views Thread by Charles Law | last post: by
12 posts views Thread by mcp6453 | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by Gurmeet2796 | last post: by
reply views Thread by mdpf | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.