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