AS2.0 Example checked in.
Troy Gardner <[email protected]>
| Newsgroups | gmane.comp.java.openamf.user |
|---|---|
| Message-ID | <[email protected]> |
If you get the latest code from CVS you will find the files (just the AS2.0 version of Client2 at this point). This hasn't been released as a war, so you'll have to copy the client2_as2 (html, swf) files to the examples folder of your openam/examples/ folder. For compiling the as2.0 files are in the WEB-INF/openamf/examples/org/openamf/examples/ directory. for the updated examples in WEB-INF/openamf-config-examples.xml you'll need to rename to openam-config.xml and restart tomcat for them to work. Then go to the url: http://localhost:8080/openamf/examples/client2_as2.html This checkin has a minor bug fix where if you have only a singler parameter like in the Client2 example). like getPerson(name:String) and getPerson(zip:Number). If passed in a number it got sent to the getPerson(name) incorrectly. Which is also why AS1.0 Class mapping often failed. I also added /docs/understanding.htm folder, which gives a better overview of services to java classes. And more information on setting up AS1.0 or As2.0 mapping to java classes. Troy Gardner -"How you live your seconds, is how you live your days, is how you live your life..." http://www.troygardner.com -my world http://www.troyworks.com - building Rich Internet Applications http://www.intrio.com -helping bridge the gap between the humans and machines. Home of the Flickey ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click