Hi Michael, Thanks for your help. I have modified the web service. % Set oXmlHTTP = CreateObject("MSXML2.ServerXMLHTTP") oXmlHTTP.Open "POST", "http://localhost/test/service.wsdl", False oXmlHTTP.setRequestHeader "SOAPAction", "http://localhost/test/service.wsdl" oXmlHTTP.setRequestHeader "Content-Type", "text/xml; charset=utf-8" oXmlHTTP.setRequestHeader "Content-Length", "length" SOAPRequest = _ " soapenv:Envelope xmlns:soapenv="" schemas.xmlsoap.org/.../"" xmlns:wsin="" tempuri.org/wmapserv"" " &_ " soapenv:Header/ " &_ " soapenv:Body " &_ " wsin:Read/ " &_ " /soapenv:Body " &_ " /soapenv:Envelope " oXmlHTTP.send SOAPRequest response.write oXmlHTTP.responseText % http://localhost/test/service.wsdl - The location where i kept my WSDL file. http://172.20.111.155:86/ - I have hosted the service in an instance named TEST in enterprise server http://tempuri.org/wmapserv - Namespace given while hosting service in enterprise server Please let me know if this is correct or what i need to change now. Regards, Senthil
↧