Groups | Blog | Home
all groups > dotnet xml > january 2005 >

dotnet xml : SOAP Client SDK


Ioska
1/5/2005 11:47:06 AM
Hi

On a custom tailored XP installation, the following vbs script did not execute
dim SOAPClient
set SOAPClient = createobject("MSSOAP.SOAPClient30")
on error resume next
SOAPClient.mssoapinit("http://www.xmethods.net/sd/CurrencyExchangeService.wsdl")

if err then
wscript.echo SOAPClient.faultString
wscript.echo SOAPClient.detail
end if
wscript.echo SOAPClient.getRate("England","Japan")
if err then
wscript.echo SOAPClient.faultString
wscript.echo SOAPClient.detail
end if

Note that MSSOAP is registered, but at the run time we've got:

N:\Soap_VB>cscript exc.vbs
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. Tous droits réservés.

N:\Soap_VB\exc.vbs(2, 1) Erreur d'exécution Microsoft VBScript: Un composant
Act
iveX ne peut pas créer un objet.: 'MSSOAP.SOAPClient30'

i.e: An ActiveX component can not create the object MSSOAP.SOAPClient30

What is missing ?

Dino Chiesa [Microsoft]
1/11/2005 4:16:12 PM
1st - wrong group.
There is a group for the soap toolkit.
try microsoft.public.msdn.soaptoolkit
or
microsoft.public.xml.soapsdk

---
2nd
are you sure you have the Soap toolkit v3.0 installed?
I tried it here and it works.

-Dino



[quoted text, click to view]

AddThis Social Bookmark Button