Thursday, November 27, 2008

Launching command prompt (cmd) on remote Windows machines

Another feature, I was always missing in Windows, is the ability to launch the command prompt on the remote windows machines.
In Unix it's trivial: telnet or ssh allows to launch the shell.

It appears that in Windows PsExec of the Sysinternal Suite solves this problem:
The following command launches an interactive command prompt on \\marklap:

psexec \\marklap cmd

Tuesday, November 25, 2008

Axis: Creating Stub with custom WSDD file

And here is another Axis (1.4) tip:

In order to create a stub with a custom WSDD file you'll need to do the following:

import org.apache.axis.configuration.FileProvider;
InputStream is = new FileInputStream(new File("D:/custom-client-config.wsdd"));
MyServiceLocator locator = new MyServiceLocator(new FileProvider(is));

Pay Attention!

In the client side there is a bug in parsing wsdd: when the handlers are configured in the service flow and service contains additional configuration (e.g. provider, style, user, mappings, etc.), the handler will not run. This happens since client configuration does not contain className with the service implementation class.

It's possible to put "dummy" class name. But the better solution is to configure handler in the global flow.

Monday, November 24, 2008

Encoder's Downloads Statistics

You can call me bored, but here are some statistics of downloads of the Encoder Tool:
VersionAvailable (days)DownloadsDownloads per day
0.1.0 Plugin10161.6
0.1.0 Zip1010.1
0.2.0 Plugin20321.6
0.2.0+0.2.1 Zip20412.05
0.3.0 Plugin56440.78
0.3.0 Zip56571.02

Total: 191 downloads

Interesting how many people are continue to use it occasionally. And how many people are checking for the new versions.
Unlike the tarlog-plugins, I didn't receive any issues regarding the encoder. May be there are no bugs... Or may be nobody uses it... But there are 191 downloads.

Anyway, if you are using the encoder and you are reading this post, I will really appreciate your feedback. Any feedback.

Thanks for reading :-)

Sunday, November 23, 2008

Encoder 0.4.0

The new iteration of the Encoder was just released. Previously, I planned to release an iteration once a month, but I had almost nothing to release at the end of October and it took some more time to code new features.
And the new features are:

1. History of steps was added. So the user can restore the input and output of a specific step and start it over.
2. Enable flag was added to encoders and encoder groups. The flag can be changed from the Properties. Only the enabled encoders will appear in the UI.
3. "Escaping" encoder was added. This encoder performs the following escapings: Escape XML, Unescape XML, Escape HTML, Unescape HTML, Escape Java, Unescape Java, Escape Javascript, Unescape Javascript and Escape Sql. This encoder is based on the org.apache.commons.lang.StringEscapeUtils.