473,513 Members | 2,537 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

I have an Easy Classic ASP Problem for "Someone"

Hello,

I haven't done much programming in .asp and was wondering if someone
could provide me with some sample code to do the following task...

I have a Web Service called:

http://abc.def.com:8088/wsABC.asmx

It has a Web Method called:

public string getReportId(string sKey)
{
<code>
return sValue
}

When you call this Web Method with an input string (ie: sKey) it will
return (in the form of a string) an sValue.

I would like this classic asp (ie: test.asp) to consume this web
service and method, and pass an example "Key" to it, and return the
sValue.

I would then like to "append" this sValue on the end of another URL I
have, namely:

http://reports.def.com:8088/Reports/...iew.asp?id=123

(where 123 is the sValue in this case)

and redirect (via Http Redirect) to this ReportView.asp

I believe this is quite simple for all you knowledgeable folks. I'm
just not too versed in regular .asp, and am getting a lot of compile
errors as the debug environment I have is almost non-existent.

Also, is there an easy way to read the values of these URL's from a
Web.config file?

THANKS so much in advance to all you "gurus"...
Jul 30 '08 #1
1 1121
<sa***********@yahoo.cawrote in message
news:58**********************************@i76g2000 hsf.googlegroups.com...

You're in the wrong newsgroup - this one is for ASP.NET.

For ASP Classic, please post in: microsoft.public.inetserver.asp.general
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Jul 30 '08 #2

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

Similar topics

36
6324
by: Andrea Griffini | last post by:
I did it. I proposed python as the main language for our next CAD/CAM software because I think that it has all the potential needed for it. I'm not sure yet if the decision will get through, but something I'll need in this case is some experience-based set of rules about how to use python in this context. For example... is defining...
99
6014
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. ...
235
11503
by: napi | last post by:
I think you would agree with me that a C compiler that directly produces Java Byte Code to be run on any JVM is something that is missing to software programmers so far. With such a tool one could stay with C and still be able to produce Java byte code for platform independent apps. Also, old programs (with some tweaking) could be...
4
1551
by: Shawn Berg | last post by:
A web site I am working on is built completely in classic ASP, and allows the user to choose different "skins" for the site. The term "skin" being used very generically. When a user selects a Skin it controls what stylesheet is sent to their web browser, and also changes some images that display. For example, in a classic ASP page we may...
6
6639
by: Richard Brown | last post by:
Ok, I celebrate and rejoice in the Anchor property. So wonderful compared to the horrible 'resize' code I had to write in VB6, there is just no end to the wonders of VB.NET..... uh, ok..... BUT... I have a form with a lot of controls side by side, etc. The Anchor is really only useful to resize 1 control on each line (and move all the...
9
1522
by: Ant | last post by:
Hi, I'm wondering if anybody can tell me what the Validate document button is used for & how to use it. When I deliberately put some tag in that shouldn't be there, (such as an extra body tag) & use this buton, nothing happens. Can anybody tell me what it's used for? Many thanks for your help Ant
169
8953
by: JohnQ | last post by:
(The "C++ Grammer" thread in comp.lang.c++.moderated prompted this post). It would be more than a little bit nice if C++ was much "cleaner" (less complex) so that it wasn't a major world wide untaking to create a toolchain for it. Way back when, there used to be something called "Small C". I wonder if the creator(s) of that would want to...
16
5122
by: mj.redfox.mj | last post by:
Can anyone help? I have a textbox which I'm programatically adding by using the following code: txtTest = New TextBox txtTest.ID = "txtLeft" + cntCount.ToString Page.FindControl("tdInput").Controls.Add(txtTest) This successfully creates a textbox called "txtLeft1" in the table
1
1626
by: samadams_2006 | last post by:
Hello, I haven't done much programming in .asp and was wondering if someone could provide me with some sample code to do the following task... I have a Web Service called: http://abc.def.com:8088/wsABC.asmx It has a Web Method called:
0
7270
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, 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...
0
7178
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...
1
7128
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7543
tracyyun
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...
0
5704
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
3255
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
1612
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
817
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
473
bsmnconsultancy
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...

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.