Solved

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

Posted on 2009-04-14
2
6,519 Views
Last Modified: 2013-11-05
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
Comment
Question by:pankajgharge
2 Comments
 
LVL 28

Accepted Solution

by:
sybe earned 20 total points
ID: 24145147
use regsvr32.exe from the command prompt

http://www.ss64.com/nt/regsvr32.html
0
 
LVL 1

Author Comment

by:pankajgharge
ID: 24182180
Thanks sybe,
What are the libraries I have to register manually?
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question