Link to home
Start Free TrialLog in
Avatar of pankajgharge
pankajghargeFlag for India

asked on

Server.CreateObject("MSSOAP.SoapClient30") Fails to create object.

Hello,
I have simple ASP page which calls .NET web service. The code is working fine on my local machine but it is not working on server. On my local machine I have mssoap1.dll under directory C:\Program Files\Common Files\MSSoap\Binaries.
On server I do not have such a libraries. I have installed SOAP Toolkit 3.0.  On server I have following libraries under directory C:\Program Files (x86)\Common Files\MSSoap\Binaries
1. MSSOAP30.dll
2. SOAPIS30.dll
3. WHSC30.dll
4. WISC30.dll
Do I need to register MSSOAP30.dll?
<html>
<head>
<title></title>
</head>
<body>
 
<%
 
         Dim oSOAP      
         Dim objDOMDoc
         Dim objResponse
         Set oSOAP = Server.CreateObject("MSSOAP.SoapClient30")	
         oSOAP.ClientProperty("ServerHTTPRequest") = True			
         oSOAP.mssoapinit("http://cpp.abc.com/XYZ/ABCD/ABCD.asmx?wsdl")     
         Set objDOMDoc = Server.CreateObject("Msxml2.DOMDocument.4.0")
         objResponse = objDOMDoc.loadXML(CStr(oSOAP.AuthenticateCiscoUser(1,"UserName","Password")))
         Response.Write(objResponse)	  
         
%>
 
</body>
</html>

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of sybe
sybe

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of pankajgharge

ASKER

Thanks sybe,
What are the libraries I have to register manually?