p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   .NET Web Services (http://p2p.wrox.com/forumdisplay.php?f=102)
-   -   Need Help Regarding .Net WebService (http://p2p.wrox.com/showthread.php?t=40067)

atahmed March 20th, 2006 07:32 AM

Need Help Regarding .Net WebService
 

Hello All
I need expertise help regarding XML Web Services (.Net)

i m showing details of my problem in points.

1. Client like to input its XML in our web services for some particular calculation by using this asp code.

<%
set toXML = server.CreateObject("MSXML2.DomDocument.3.0")

toXML.load(server.MapPath(<Filename.xml>)

outXML = toXML.xml ' An object having xml file in it

Set objHttp = Server.CreateObject("MSXML2.ServerXMLHTTP.4.0")

objHTTP.Open "POST", <WebService URL>, false

objHTTP.SetRequestHeader "Host", "(automatic)"
objHTTP.SetRequestHeader "SOAPAction", <URL>
objHTTP.SetRequestHeader "Content-Type", "text/xml; charset=utf-8"
objHTTP.SetRequestHeader "Content-Length", "(automatic)"

objHTTP.Send(outXML)

response.Write objHTTP.responsetext

%>


2. I would like to receive object name "outXML" in my webservices

3. How can i get object in my webservice (.asmx) file.

please help me in this regard
thanks
bye



All times are GMT -4. The time now is 06:43 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.