View Single Post
  #1 (permalink)  
Old March 20th, 2006, 07:32 AM
atahmed atahmed is offline
Registered User
 
Join Date: Mar 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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

Reply With Quote