Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
XML
data.xmlanalysis
mappoint.webservice
msf
msxml-webrelease
netmyservices.sdk
passport.sdk
soap
soapsdk
uddi.general
uddi.programming
uddi.specification
xml
xmlsqlwebrelease
xsl
  
 
date: 8 Mar 2007 07:46:33 -0800,    group: microsoft.public.xml.soap        back       


Consuming a web service function   
Hello,

I'm trying to consume a web service from ASP classic.

I searched a lot but i've found only a lot o variant way to do this
and noone is working or fit to my question.

I have a web service at

http://172.16.4.60:8090/WEB-TT/services/publicEvent?method=send


I have a working script in PHP.... but I need to use the web service
from ASP (vbscript).

The "send" method (function, web service, something else?) must
receive some parameters (I think) in XML format, like this:

<?xml version="1.0" encoding="UTF-8"?>
			<data
			xmlns=""http://localhost:8090/WEB-TT"
			xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
			xsi:schemaLocation="http://http://localhost:8090/WEB-TT schema.xsd"
>
			<id>1289312908</id>
			<applicativo>la mia applicazione</applicativo>
			<data>08/03/2007</data>
			<note>Test di consumo del Web Service</note>
			<id_rif>4234324</id_rif>
			<tipo>APERTURA</tipo>
			<nome>TDgroup</nome>
			</data>


Can you explain me what ASP code is needed to execute that web service
function?

I'm working on it from this morning, but I found nothing REALLY
useful....

Thank you, guys.
date: 8 Mar 2007 07:46:33 -0800   author:   Pictor

Re: Consuming a web service function   
Download the XML sdk that comes with msxml core services and look at the 
msxml2.XmlHttp.x.0 class. You should try to use version 6 but version 3 will 
probably suffice.
There are plenty of examples of using the POST option in the Send() method 
to pass XML to a web service.

-- 

Joe Fawcett (MVP - XML)
http://joe.fawcett.name

"Pictor"  wrote in message 
news:1173368792.987231.47930@c51g2000cwc.googlegroups.com...
> Hello,
>
> I'm trying to consume a web service from ASP classic.
>
> I searched a lot but i've found only a lot o variant way to do this
> and noone is working or fit to my question.
>
> I have a web service at
>
> http://172.16.4.60:8090/WEB-TT/services/publicEvent?method=send
>
>
> I have a working script in PHP.... but I need to use the web service
> from ASP (vbscript).
>
> The "send" method (function, web service, something else?) must
> receive some parameters (I think) in XML format, like this:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <data
> xmlns=""http://localhost:8090/WEB-TT"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://http://localhost:8090/WEB-TT schema.xsd"
>>
> <id>1289312908</id>
> <applicativo>la mia applicazione</applicativo>
> <data>08/03/2007</data>
> <note>Test di consumo del Web Service</note>
> <id_rif>4234324</id_rif>
> <tipo>APERTURA</tipo>
> <nome>TDgroup</nome>
> </data>
>
>
> Can you explain me what ASP code is needed to execute that web service
> function?
>
> I'm working on it from this morning, but I found nothing REALLY
> useful....
>
> Thank you, guys.
>
date: Mon, 12 Mar 2007 11:00:01 -0000   author:   Joe Fawcett am

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us