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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Call a web service from html

Status
Not open for further replies.

manjulam

Programmer
Feb 27, 2002
103
US
My client has two different applications running on different servers. One is a .net application with sql server database and the other is a set of pure html pages hosted on a linux server. Now,if i need to fetch some data from the sql server in one of the html pages on the linux server, will this work?

* Create a web service (.asmx) on my .net application which can access the database and return data in xml.
* Call the web service from the html pages on the linux server using webservice.htc file.

Any input is appreciated.

Thanks,
Manjula
 
sounds good is theory. once you have the service working how you call it is up to you. treat each piece as a separate unit.

1. create a working web service independent of the website.
2. once that is working then adapt the website to contact the web serivce.

there is plenty of online help on how to create/test a web serivce (asmx).

Jason Meckley
Programmer
Specialty Bakers, Inc.

faq855-7190
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top