John,
I think this is a good patch.  The patch needs to have the string message go in the message file (in  utils.axisNLS.properties) and needs to be applied to the current source.
 
John, can you rev the patch, then we can stick it in.
 
I wil try and get to a revised patch, but if I am slow, someone else can feel free to apply it.
 
Thanks John!
--
Tom Jordahl
Macromedia
 
-----Original Message-----
From: John Brothers [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 28, 2002 1:55 PM
To: [EMAIL PROTECTED]
Subject: Proposed change to RPCElement.java & BodyBuilder.java

Hello,
 
   I have been learning SOAP via Axis, and I encountered a NullPointerException in RPCElement() when trying to test out a new service that I had written.  I eventually discovered that this was caused by Axis's inability to find the class file(s) for my service (I had used a link instead of copying the directory). 
 
   I submit that it would be more informative to the user (and more elegant) to throw a ClassNotFoundException instead of a NullPointerException in that case, to help the user more quickly discover the "directory tree copy" requirement.
 
  I have been able to test the failure case using SimpleAxisServer and the 5-27 build (it successfully throws the exception), but I haven't been able to test the success case, and I can't spend any more time on it right now.  I am attaching the change diffs, in the hopes that you might be able to incorporate them and save someone else the pain that I went through.
 
Thanks,
    jb
 
----------
[EMAIL PROTECTED]                   (678) 467  3504

Reply via email to