2-Oct-2005
SOAP (continued)
(What would you expect?)
SOAP configured according the manual and following experiences from a project where it is used as well. Did some setup of user environment to have all the required logicals set(JAVA$CLASSPATH - to bypass a typically UNIX way of "solving" references) and compile at least two of the tools that are used anyay in that project: WSDL2Java and SOAPMonitor. The gory detail: When case is important (which is normal for java) strings need to be enclosed in double quotes. And that means: practically all options MUST be within quotes.
Tried the examples - same problems as in the projects. Again, the full path need to be specified, even if in current directory! Deployment of a service requires a lot of typing:
$ java "org.apache.axis.client.AdminClient" -
_$ "samples/userguide/example3/deploy.wsdd"
Nor does SOAPMonitor show anything, but that could well be a matter of configuration (one more!).
Still, it doesn't work as expected, but later it was found that this was partly the result of a typo in the commandprocedure that sets the paths (set_axis.com): used "-" in stead of "_" and some access matter in example1. But for the rest, all went all right in the projects, so to be tested here as well - guess it's all Ok now:
$ java "samples.userguide.example1.TestClient"
java.net.UnknownHostException: nagoya.apache.org
$ java "samples.userguide.example2.CalcClient" add 1 2
Got result : 3
$ java "samples.userguide.example3.Client" "Test me!"
You typed : Test me!
$ java "samples.userguide.example4.Client"
Hi, you've reached the testMethod.
$ java "samples.userguide.example5.Client"
Hi, Glen Daniels!
You seem to have ordered the following:
1 of item : mp3 jukebox
4 of item : 1600mah Battery
If this had been a real order processing system, we'd probably have charged you about now.
example 6 seems NOT to have an entry point????
On the project, WSDL2Java for a server created deployment files, because this was specified. But without, above message caused a stop at that point.
Will try in the project, and after that, here as well.
Monthly Maintenance
New month = zip logs of previous month. Not all, yet, but operator logs to start with. Still need to do something on the web- and FTP logs, and the ones from the router.
Checked updates for PC's - there are some, but no time to install them. (There rea for the VMS boxes as well but none critical, it seems).
By the way: have to test the new router/firewall. Has been set up (mostly, just Communigate needs to be enabled) but it requires a test. If that succeeds, Charon can be swithed off (saving power).
0 Comments:
Post a Comment
<< Home