From: Sherlock on 20 Dec 2009 06:34 snip[ ..using the following code to consume a web service in VO. SELF:oWebEx := OLEAutoObject{"MSSOAP.SoapClient"} snip[ > However on some Windows 2003 servers the fInit fails. Researching this on > the MSDN they recomment not to use the SOAP Toolkit Version 2.0 but use .NET ] Gary IF SELF:oSoapClient = NULL_OBJECT cClient := "MSSOAP.SoapClient" SELF:oSoapClient := OLEAutoObject{ cClient } // Dont .. does not work 30" "MSSOAP.SoapClient" IF ! SELF:oSoapClient:fInit cClient += "30" SELF:oSoapClient := OLEAutoObject{ cClient } // if SOAP TOOLKIT installed "MSSOAP.SoapClient30" ENDIF IF SELF:oSoapClient:fInit SELF:oSoapClient:mssoapinit( SELF:cUrl, "", "", "" ) ELSE ErrorBox{, "The required " + cClient + " was not initialised.. aborting." + CRLF + CRLF + ; "You can install the SOAP toolkit from the Sherlock website" + CRLF + CRLF + ; "www.sherlock.com.au/sherlock32/soapsdk.exe" + CRLF + CRLF + ; "You must Reboot your machine after installation for it to work." }:Show() ENDIF ENDIF I think WIndows 7 and Vista, 2003 or 2008 do not have it installed but XP certainly does and there are different version numbers. I put it on my site but it is on the MS site. If I can open the "MSSOAP.SoapClient" I use that if not try "MSSOAP.SoapClient30" and I give them a URL link to install it and no problems in pure VO. http://www.microsoft.com/downloads/details.aspx?FamilyId=C943C0DD-CEEC-4088-9753-86F052EC8450&displaylang=en Works fine. Phil McGuinness ----------------
From: Ginny Caughey on 20 Dec 2009 07:20 Phil and all, I'm updating my paper on using C# with VO to include consuming a web service from VO. This stuff is just so easy in .NET. I hope to have the updated paper ready tomorrow. -- Ginny Caughey www.wasteworks.com "Sherlock" <sherlock(a)sherlock.com.au> wrote in message news:168c9959-e79a-40d5-b2ac-71984a890c0f(a)d9g2000prh.googlegroups.com... > snip[ ..using the following code to consume a web service in VO. > SELF:oWebEx := OLEAutoObject{"MSSOAP.SoapClient"} > snip[ > However on some Windows 2003 servers the fInit fails. > Researching this on >> the MSDN they recomment not to use the SOAP Toolkit Version 2.0 but use >> .NET ] > > Gary > > IF SELF:oSoapClient = NULL_OBJECT > cClient := "MSSOAP.SoapClient" > SELF:oSoapClient := OLEAutoObject{ cClient } // Dont .. does > not work 30" "MSSOAP.SoapClient" > IF ! SELF:oSoapClient:fInit > cClient += "30" > SELF:oSoapClient := OLEAutoObject{ cClient } // if SOAP > TOOLKIT installed "MSSOAP.SoapClient30" > ENDIF > IF SELF:oSoapClient:fInit > SELF:oSoapClient:mssoapinit( SELF:cUrl, "", "", "" ) > ELSE > ErrorBox{, "The required " + cClient + " was not initialised.. > aborting." + CRLF + CRLF + ; > "You can install the SOAP toolkit from the Sherlock > website" + CRLF + CRLF + ; > "www.sherlock.com.au/sherlock32/soapsdk.exe" + CRLF > + CRLF + ; > "You must Reboot your machine after installation for > it to work." }:Show() > ENDIF > ENDIF > > I think WIndows 7 and Vista, 2003 or 2008 do not have it installed but > XP certainly does and there are different version numbers. I put it on > my site but it is on the MS site. If I can open the > "MSSOAP.SoapClient" I use that if not try "MSSOAP.SoapClient30" and I > give them a URL link to install it and no problems in pure VO. > > http://www.microsoft.com/downloads/details.aspx?FamilyId=C943C0DD-CEEC-4088-9753-86F052EC8450&displaylang=en > > Works fine. > > Phil McGuinness > ---------------- >
From: Harry B. on 20 Dec 2009 09:29 Great! Looking forward to the new version(-number) of your paper. ;-)
From: Ginny Caughey on 20 Dec 2009 09:54 Thanks, Harry. The free web service I'm using in the demo is down right now, but when it comes back up I'll finish up the paper and send it to Lars. -- Ginny Caughey www.wasteworks.com "Harry B." <bongoplayer(a)gmail.com> wrote in message news:hglcc2$v4e$1(a)news01.versatel.de... > Great! > > Looking forward to the new version(-number) of your paper. ;-)
From: Lars Broberg on 20 Dec 2009 10:08 Hi Ginny, Will upload it as soon as possible, but I have some Christmas "obligations" that also has to be taken care of (at least my wife says so)! <g> Merry Christmas and a Happy New Year! ---- Lars Broberg Elbe-Data AB lars at elbe-data dot se Ginny Caughey wrote: > Thanks, Harry. The free web service I'm using in the demo is down right > now, but when it comes back up I'll finish up the paper and send it to > Lars. >
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 Prev: bCheckColumn - bbrowser stuff Next: Thanks and Happy New Year |