Solved

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

Posted on 2009-04-14
2
6,691 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VBSCRIPT string remove all characters to the right after extension 4 78
Select case on click 3 29
href return to normal window 5 43
Hide and Unhide Table 6 42
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
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/…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

739 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