473,405 Members | 2,334 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,405 software developers and data experts.

Call .Net Webservice from server side script on an ASP only server

Hi,

I want a do the following:

From a (client side) web form, post to server side script (I'm using
Javascript but anything will do), which in turn--and this is the important
bit that I can't find out how to do--calls a webservice on a separate
server...

Client ASP server (no .net)
ASP.Net Server
HTML Form -------> Server Side ASP Code --------> WebService
Can anyone tell me a simple way to access a webservice from server side asp
script?

Here's how far I've got so far ;) ...

<%
// Make call to webservice
%>

I can do it very nicely from the client thanks to the webservice.htc html
component (http://msdn.microsoft.com/workshop/a...vice/using.asp)
but what I really need is to access the webservice from the ASP server.

The reason I want to do things this way is that if I use the webservice html
component I will have to expose the address of the machine that hosts the
webservice to the client: something I don't want to do for security
reasons. I want the webservice machine to stay hidden from the client.

I've looked at a method using SOAP but the code looked pretty busy compared
to the webservice.htc stuff and microsoft are going to stop support anyhow,
so it's not really ideal.

Can anyone tell me how to achieve this? Javascript would be cool but
anything's better than nothing. I'm really tearing my hair out (and I've not
got a lot) over this because I can't find anything that tells me how to
handle this kind of interaction.
Thanks for your help,
Sam
Mar 7 '06 #1
1 1587
Sorry... formatted page wasn't quite as I intended...

"Mr Bojangles" wrote:
HTML Form -------> Server Side ASP Code --------> WebService


Client -------> ASP server (no .net) --------> ASP.Net Server

Mar 7 '06 #2

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

Similar topics

17
by: Patrick | last post by:
I am almost certain that I could use HTTP Post/Get to submit XML Web Service call (over SSL as well, if using Version 3 of MSXML2) from an ASP Application? However, would I only be able to call...
3
by: Borr | last post by:
Hi, I have an ASP .NET page, that runs client side timer that does something on the Server side and after that loads another page. So I have on client side something like : function...
1
by: Fred W | last post by:
I have 2 dependent dropdowns and would like to populate the contents of the child dropdown dynamically based on the selected item of the parent. Pretty standard requirement. However, can this...
7
by: Alessandro Benedetti | last post by:
Hi. I'm calling two methods of a .NET Webservice (A) from another Webservice (B). The A Webservice is made like this: public class WSA: System.Web.Services.WebService { private int X = 0;
2
by: Dany C. | last post by:
We have a client application running on VS2005 RC. Here is the issues. Each time the application is restrart, the fisrt webservice call takes a long time to complete (sometime more that 2 minutes)....
3
by: tim.cavins | last post by:
We have a page on our Intranet A main.aspx that is calling a webservice on another computer B. The intranet page loads fine and displays the data from the webservice but we keep getting error...
5
by: Simon | last post by:
I heard that we could do that by using AJAX. Could anybody share how to do it? Thanks.
3
by: Lance Wynn | last post by:
Hello, I am receiving this error when trying to instantiate a webservice component. I have 2 development machines, both are XP sp2 with VS 2008 installed. On one machine, the code works fine. On...
6
by: Peter | last post by:
I have a WebService which returns a List of RunningReport class How do I read this XML data on the client side. How do I convert List<RunningReportfrom the WebService side to List<RunningReporton...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: 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
Oralloy
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,...
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
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,...

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.