Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / May 2004

Tip: Looking for answers? Try searching our database.

Consume webservices from ASP

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rub?n Valenzuela T. - 25 May 2004 17:34 GMT
Hi,

I'm wondering if there is a way of consuming webservices from any technology
(.NET, JAVA based) from and ASP based application - not ASP.NET. If so
please direct me on the steps to follow or to any URL you might know

On the same issue, must I jave W2003 Server to use ASP.NET, I downloaded the
.NET framework and installed it on my W2K and seem to work. But I'd like to
know if I go into production with my website using this configuration if
everything will work - it's more like a mix ASP/ASP.NET. The if this is
possible maybe I could consume webservices using .NET ASP's and pass them to
my ASP applications...any comments?

regards,

Rub?n Valenzuela T.
Jefe de Proyecto
MAPFRE Compa??a de Seguros de Chile
Teatinos 280, Piso 4-6
Fono 6947136
Franco Fig?n - 25 May 2004 17:53 GMT
Hello
If you want to consume a web serv in traditional ASP 3.0, you nedd to use
something like this:

<SCRIPT LANGUAGE="VBSCRIPT" RUNAT="SERVER">
OPTION EXPLICIT

SUB APPLICATION_ONSTART()
APPLICATION("CONNECTSTRING") = GETAPPSETTINGS("CONNECTSTRING")
END SUB

function getappsetting(key)

dim url, xmlhttp, dom, node

url = "http://localhost/appservice.asmx"
url = url & "getappsettings?key=" & key

set xmlhttp = server.createobject("microsoft.xmlhttp")
call xmlhttp.open("GET", url, false)
call xmlhttp.send

set dom = server.createobject("microsoft.xmldom")
dom.load(xmlhttp.responsebody)
set node = dom.selectsinglenode("//string")

if not node is nothing then
getappsettings = node.text
end if
end function
</script>

If you want to learn more about this i recommended the book "Building
ASP.NET web services"...
Best regards

Signature

FF
www.francofigun.com.ar
www.microsofties.com.ar
MSN: francofigun@hotmail.com
UIN: 305336919
Yahoo MSN: frankofm@yahoo.com.ar

> Hi,
>
[quoted text clipped - 16 lines]
> Teatinos 280, Piso 4-6
> Fono 6947136
Rub?n Valenzuela T. - 25 May 2004 18:05 GMT
Thanks Franco, I'll give it a try and tell you what happends.

Regards,

Rub?n

> Hello
> If you want to consume a web serv in traditional ASP 3.0, you nedd to use
[quoted text clipped - 56 lines]
> > Teatinos 280, Piso 4-6
> > Fono 6947136

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.