469,286 Members | 2,404 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

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


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

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

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,
Mar 7 '06 #1
1 1396
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Borr | last post: by
1 post views Thread by Fred W | last post: by
2 posts views Thread by Dany C. | last post: by
3 posts views Thread by tim.cavins | last post: by
6 posts views Thread by Peter | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.