dug         2002/09/26 05:20:39

  Modified:    java/test/MSGDispatch TestService.java
  Log:
  Expand the test a little to make sure we don't restrict too much.
  From the comment in the test:
  Adding these dummy methods to make sure that when we deploy this
  service using "allowedMethods="*" that we don't barf on them.
  This will ensure that people can take classes that have public
  methods (some available thru Axis and some not) and still be able
  to deploy them.  (We used to throw exceptions about it)
  
  Revision  Changes    Path
  1.2       +9 -0      xml-axis/java/test/MSGDispatch/TestService.java
  
  Index: TestService.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/test/MSGDispatch/TestService.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestService.java  24 Sep 2002 20:45:20 -0000      1.1
  +++ TestService.java  26 Sep 2002 12:20:39 -0000      1.2
  @@ -75,6 +75,15 @@
    * @author Glen Daniels ([EMAIL PROTECTED])
    */
   public class TestService {
  +    // Adding these dummy methods to make sure that when we deploy this
  +    // service using "allowedMethods="*" that we don't barf on them.
  +    // This will ensure that people can take classes that have public
  +    // methods (some available thru Axis and some not) and still be able
  +    // to deploy them.  (We used to throw exceptions about it)
  +    public void testBody(int t) {}
  +    public void testElement(int t) {}
  +    public void testEnvelope(int t) {}
  +
       public SOAPBodyElement [] testBody(SOAPBodyElement [] bodies)
               throws Exception {
   
  
  
  


Reply via email to