OpenNTF.org - Stubby
Stubby[/Projects/pmt.nsf/ProjectView?ReadForm&Query=]
My Links (Not logged in)
User Name Password
Swing Software
Swing software


Hosted by Prominic.NET
   Project: Stubby (Managed by Julian Robichaux)
Actions:

Download File

Open Source Licensing for this Release - Please visit http://www.opensource.org for more information on licensing.

Academic Free License
File(s)
stubby1_1.zip (283 Kbytes)


This release:2133
All releases:2198
Release Info
Release NameStubby 1.1
Build Number1.1 (used by version checker)
Released On08/29/2006
Released ByJulian Robichaux
Released for ND versionR 7.0.x
StatusReleased
Feature Requests addressedNo feature requests addressed in this release
Reported Bugs fixedNo reported bug fixes addressed in this release
Added information about passing a name and password for web services that require authentication
Project CategorySoftware Development Tools
Sub Category
Download ClassificationAnonymous
What's new
New in Release 1.1:

* Added the ability to pass a user name and password to authenticate (for basic authentication) or pass a session cookie (for session-based authentication) when you're calling a web service, and provided information on how this works in the example code

* Source files are now also zipped up with their directory structure intact, for convenience if you want to recompile the source files yourself

Otherwise...

All you have to do is create a new Stub Doc in the database, enter the URL of the WSDL file you want to make stubs for, and click the "Generate Stub Files" button. Everything you need to start writing an agent will be generated for you!

The magic that happens when you click the "Generate Stub Files" button is mainly controlled by the "StubGenerator" script library. The methods in this library will:

* Read and parse the WSDL file
* Generate stub files (Java source files) in a temporary directory
* Package the stub files up in a zip file
* Compile those stub files into java class files
* Package the class files up into a JAR file
* Generate sample agent code based on the stub files

The normal course of action after doing all this (it's all done with the single button click) is to create a new Java agent, paste the sample code into it, and use the "Edit Project" button in the agent to attach the JAR file. You now have a working agent that can call a web service!

Minimum Reqirements
Lotus Notes 7.x client/server (this will NOT work on clients or servers earlier than 7.0)

Known issues
If you access a service that returns a complex data type (normally only a problem with nested complex types), you may get an error like this:

org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.

Not sure what to do about that one I'm afraid. It's due to the old version of Apache Axis that is used by Notes. I've read in some places that upgrading to the latest version of Axis will fix it, but that's not necessarily an option here. I'm still looking for a good workaround...


Modification history
Entered 29-Aug-2006 23:30 by Julian Robichaux. Last Modified <none> by <none>.

Feedback

New in Release 1.1: * Added the abi... ( on 08/29/2006 11:30:16 PM )
Check out other projects
Switch to project: