Oh, I had a brainstorm and I was able to test the success path for samples.stock.GetQuote XXX and AOL
 
    jb
 
----- Original Message -----
Sent: Tuesday, May 28, 2002 10:54 AM
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