I have a few objects/code I have been meaning to post to the community but have been very busy, but this is ready.

It is a XCode 2 project for a witango compatible java bean that "cleans" xml for witango consumption. It is extremely fast, and much faster than the old external action I was using.

Compiled bean and witango test taf included. Even if you don't use xcode or mac, the java source is readable in anything.

This bean requires java 1.5+ jvm, it doesn't use any third part classes, should work with what comes with 1.5+.

Some notes, I wouldn't try to import into your studio, on the mac, when importing bean into studio, I get constant crashes. Just call from code.

I have tried other datatypes in the bean, but I get all kinds of errors, even with a boolean. I have asked witango for documentation, but have not received any. My suggestion is, if you need to pass multiple parameters into a bean, use xml in, and parse the parameters out. I have another bean that displays how to use java and xpath to quickly get at values, I will post that when I get a chance.

Also, pay attention to the text encoding issues. Witango expects ASCII from the bean, but if you take the string from the bean, and output to results, it converts it to ISO-8859-1. It is not documented, and can be very confusing why you get jumbled chars if you don't realize that.

http://www.bighead.net/tools/

Let me know if you find it useful, if you make any good changes, post them back to me, and I will update it.

--

Robert Garcia
President - BigHead Technology
VP Application Development - eventpix.com
13653 West Park Dr
Magalia, Ca 95954
ph: 530.645.4040 x222 fax: 530.645.4040
[EMAIL PROTECTED] - [EMAIL PROTECTED]
http://bighead.net/ - http://eventpix.com/

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to