wsf

WSF and ADO with DB2 , recordset.MoveNext not supported error in vbscript

I am trying to loop on a recordset returned from db2 using a .wsf file and vbscript . the vbscript libfile(lib.vbs) is as follows '*************** Const ADOCon="Provider=IBMDADB2.1;Password=*****;User ID=*****;Data Source=yourdatasourc;" '************************ 'ADO environment is Initialised here '************************* F...

Is there a log4j equivalent for VBScript?

I need to instrument a series of .wsf and .vbs files with debug statements; before I go off and roll my own, does something like log4j exist for WSF/VBScript? ...

Connecting to SQLCE from windows scripting host on a Win32 platform

Is it possible to connect to SQLCE on a Win32 platform using Windows scripting host? I've tried using the ADODB.Connection activeX object to no avail. ...

Can I initialize objects written in JScript from VBScript?

I am trying to write a WSH logon script. Administrators throughout the company need to be able to customize the execution of the script, and execute additional scripts, for specific locations and users. In order to make their jobs easier, I would like to provide an API that the administrators can access in their scripts. If I write my AP...

Running multiple JScript files in a separate process

I am looking for a way to launch multiple scripts in a separate process from my main script, but in such a way that they can access copies of variables I've declared. Consider the following example: Serializable.js: // Represents serializable data. function Serializable() { /* ... */ } SecondaryScript.wsf // Serializable is not defi...

How can I edit the SOAP envelope and header with Perl's SOAP::Lite?

I'm trying to modify the soapenv:Header to include addressing in my soap request my $header=SOAP::Header->name("Header")->prefix("soap")->uri("http://www.w3.org/2005/08/addressing"); When I send the request: print $soap->call($header, $security->value(\$userToken, $action, $message))->result; I receive the following... <"soap:Hea...

Cannot retrieve referenced URL

I have JavaScript inside a .wsf file and I'm getting the error: C:\bin\LDLSInfo.wsf(53, 34) Windows Script Host: Cannot retrieve referenced URL: S:\tools\JScript\lib\StandardWSH.js At line 53, it says <script language="JScript" src="S:\tools\JScript\lib\StandardWSH.js"/> I know that LDLSInfo.wsf (the main script) and StandardWSH....

PHP WSO2's WSF/PHP

I am trying to use WSO2' WSF for PHP and I am using a WS Security object. I am making the request to the server and getting an Authentication error. I believe the WS Security Object is missing something, so I would like to see the RAW SOAP message being sent...Is there a way to do this. I am not doing this locally. ...

Missing UsernameToken element

I am getting a request in the following method but the soap message does not appear to contain the UsernameToken Element: $policy = new WSPolicy( array( 'useUsernameToken'=>true ) ); $security = new WSSecurityToken( array( 'user'=>$username, 'passwordType'=>'PlainText', 'password'=>$password ...

WSO2 WSF/PHP - Soap fault: XML builder done with pulling. Pull parser cannot pull any more

Hi I use WSO2 WSF/PHP. I have the WSF extension compiled and enabled in PHP. But I receive this Soap fault response when sending a request to the webservice: soapenv:Client XML builder done with pulling. Pull parser cannot pull any more The last lines from the wsf_php_server.log is: [Mon Sep 6 11:54:04 2010] [debug] /root/download/w...

Getting exit code of WSF inside .bat file

I'm running a WSF script from the following .BAT file cmd /c cscript "C:\Tests\Test_scripts\script.wsf" /repository:%1 /revision:%2 /config:"C:\Repositories\SVN_Test\scripts\config\svn_report_config.xml" >c:\temp\testLogSvn.txt EXIT %ERRORLEVEL% I thought from the calling application I should get the error from the script, but even if...