OpenNTF.org - Stubby
    Advanced
   Application Catalog
About This Document
Rating:
Not Rated Yet 
Title:
Stubby 
Version:
Stubby 1.1 
Release date:
08/29/2006 12:00:00 AM 
Author:
Julian Robichaux 
 
Category:
Software Development Tools 
Type:
Open Source (see project for licensing information) 
Supported Notes Version:
R 7.0.x 
 
Document Release:
08/22/2006 01:00:47 AM 
Contributor:
OpenNTF.org 
Last Modified:
10 Feb 2012 
Notification:
Notify me when comments are added 
 
Download location:
OpenNTF.org 
Download URL:
http://www.openntf.org/projects/pmt.nsf/ProjectVersions/25D3BA7ED616DD30862571DA0018BE8D

All of the program code and information presented in the OpenNTF.org Freeware Catalog are provided "as-is", and should be used at your own risk. OpenNTF.org make no express or implied warranty about anything in the Freeware Catalog, and OpenNTF.org will not be responsible or liable for any damage caused by the use or misuse of anything from this site. OpenNTF.org makes no guarantees about anything. Please thoroughly test all of the knowledge and code you find here before you attempt to use them in your production environment.
Description
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!
Screenshots


 Comments

No documents found

 Add your comment!
Subject:


Comment:


     Notify me when comments are added