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 5 1423
"Mark" <ma**@Z-Zvolution.nZt> wrote in message
news:OL******** ******@TK2MSFTN GP14.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
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" <davidbaxterbro wne no potted me**@hotmail.co m> wrote in
message news:#T******** ******@TK2MSFTN GP10.phx.gbl... "Mark" <ma**@Z-Zvolution.nZt> wrote in message news:OL******** ******@TK2MSFTN GP14.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
"Mark" <ma**@Z-Zvolution.nZt> wrote in message
news:OV******** ******@TK2MSFTN GP12.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" <davidbaxterbro wne no potted me**@hotmail.co m> wrote in message news:#T******** ******@TK2MSFTN GP10.phx.gbl... "Mark" <ma**@Z-Zvolution.nZt> wrote in message news:OL******** ******@TK2MSFTN GP14.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.ServerXM LHTTP library to talk to the other web server
-Manually reading SOAP responses in XML
David
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" <davidbaxterbro wne no potted me**@hotmail.co m> wrote in
message news:OY******** ******@tk2msftn gp13.phx.gbl... "Mark" <ma**@Z-Zvolution.nZt> wrote in message news:OV******** ******@TK2MSFTN GP12.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" <davidbaxterbro wne no potted me**@hotmail.co m> wrote in message news:#T******** ******@TK2MSFTN GP10.phx.gbl... "Mark" <ma**@Z-Zvolution.nZt> wrote in message news:OL******** ******@TK2MSFTN GP14.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.ServerXM LHTTP library to talk to the other web server -Manually reading SOAP responses in XML David
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******** ******@TK2MSFTN GP12.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" <davidbaxterbro wne no potted me**@hotmail.co m> wrote in message news:OY******** ******@tk2msftn gp13.phx.gbl... "Mark" <ma**@Z-Zvolution.nZt> wrote in message news:OV******** ******@TK2MSFTN GP12.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" <davidbaxterbro wne no potted me**@hotmail.co m> wrote in > message news:#T******** ******@TK2MSFTN GP10.phx.gbl... >> >> "Mark" <ma**@Z-Zvolution.nZt> wrote in message >> news:OL******** ******@TK2MSFTN GP14.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.ServerXM LHTTP library to talk to the other web server -Manually reading SOAP responses in XML David
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 small or mid-sized business.
http://groups-beta.google.com/group/microsoft.public.msdn.general/browse_thread/thread/9d7e8f9a00c1c7da/459ca99eb0e7c328?q=%22Proposed+MSDN+subscription+changes%22&rnum=1#459ca99eb0e7c328
Damn! To be that...
|
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 recognise datasets and requires a recordset.
Can the datatypes be converted? At the Classic ASP end or .NET end? Can
SOAP toolkit provide the conversion, can any toolkit provide a conversion?
...
|
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 obtaining this information from javascript? (I know that the user
will get prompted about allowing such an operation, but I am willing
to live with this). Because of the way one of my pages work, I need
to know this information in order to "cover up"...
|
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.
|
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, the ASP Classic can make use of
the C# business objects without problem, because they were compiled and
registered through COM Interop.
however i have just reached a point of uncertainty: sets of data.
obviously C# has no problem using the...
| |
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 of the question for various
reasons. My desire is to convert bits of the classic asp as I go therefore
converting small chunks as part of the normal maintenance..
However the classic asp app has many include files scattered throughout with
much...
|
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 final, never installed beta)
installed on this box if it makes a difference (I did not install VS
Development Web Server as I'm already using the XP web server).
I've seen that I need to attach to the native IIS engine, but I don't know
what it's...
|
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 a prompt response, and I figure
that the guys here probably came from vb classic anyway. So, apology over
....
I have an application in vb6, and I want to install it on a system that has
never seen the vb development environment, or any of the...
|
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 to plug
various memory leaks. Glad that I did that and it probably helped out
some, but the issues still exists. The application was built the
proper scalable architecture but can't seem to handle the load. I've
been watching performance...
|
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 Windows Server and
access a Microsoft SQL Server 2000, I think.
We are having a terrible time finding someone to do some code updates.
Part of the problem is that I am not familiar enough with ASP to know
whether I am asking the right questions....
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |