Rubén
Tue May 25 12:05:17 CDT 2004
Thanks Franco, I'll give it a try and tell you what happends.
Regards,
Rubén
"Franco Figún" <franfig@fibertel.com.ar> wrote in message
news:OYngMjnQEHA.3220@TK2MSFTNGP12.phx.gbl...
> 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
>
> --
> FF
> www.francofigun.com.ar
> www.microsofties.com.ar
> MSN: francofigun@hotmail.com
> UIN: 305336919
> Yahoo MSN: frankofm@yahoo.com.ar
>
> "Rubén Valenzuela T." <rvalenzuela@mapfreseguros.cl> wrote in message
> news:u7IK6YnQEHA.1340@TK2MSFTNGP12.phx.gbl...
> > 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
> >
> >
>
>