Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Call webservice from server side ASP? 1

Status
Not open for further replies.
Jun 1, 2004
18
GB
Hi,

NB: I also posted this in ASP.Net thread as it sort of spans both realms. Just in case you thought you were having deja vu!


I want a client side form to call a server side asp page, which in turn calls a webservice on a separate server...


HTML Form -------> Server Side ASP Code --------> WebService


Can anyone tell me a simple way to access a webservice from server side asp script?

I can do it very nicely on the client side thanks to the webservice.htc html component
(but I really need to access the webservice from the server side.

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.


Thanks for your help,
Sam
 
Well, haven't found solution so far but that stuff is quite interesting, so thanks (and star).

Everything I'm finding covers to asp server: can't find anything on asp server to (any old other) server. That would be a great starting point I think. Any other ideas?

Thanks,
Sam
 
couple of useful threads...

thread333-1121121
thread333-1114192

-DNG
 
Yeah XMLHTTP is good for firing XML documents about and getting XML responses, but it depends if you are accessing a WSDL for the webservice.

This is something I looked at, and any asp/php looked long and complicated to configure. I chose to start using a .NET platform, as you can import the WSDL file and it contains all the objects within it and made development (in C#) very easy.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top