[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 7392
  • Last Modified:

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

0
pankajgharge
Asked:
pankajgharge
1 Solution
 
sybeCommented:
use regsvr32.exe from the command prompt

http://www.ss64.com/nt/regsvr32.html
0
 
pankajghargeAuthor Commented:
Thanks sybe,
What are the libraries I have to register manually?
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now