woolfel     2004/06/09 09:21:42

  Modified:    src/protocol/http/org/apache/jmeter/protocol/http/control/gui
                        WebServiceSamplerGui.java
  Log:
  Get the authmanager and pass it to the WSDLHelper.

  

  peter
  
  Revision  Changes    Path
  1.12      +10 -3     
jakarta-jmeter/src/protocol/http/org/apache/jmeter/protocol/http/control/gui/WebServiceSamplerGui.java
  
  Index: WebServiceSamplerGui.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jmeter/src/protocol/http/org/apache/jmeter/protocol/http/control/gui/WebServiceSamplerGui.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- WebServiceSamplerGui.java 5 Mar 2004 01:38:02 -0000       1.11
  +++ WebServiceSamplerGui.java 9 Jun 2004 16:21:42 -0000       1.12
  @@ -42,6 +42,7 @@
   import org.apache.jorphan.gui.JLabeledTextField;
   import org.apache.jorphan.gui.layout.VerticalLayout;
   import org.apache.jmeter.protocol.http.util.WSDLHelper;
  +import org.apache.jmeter.protocol.http.control.AuthManager;
   
   /**
    * This is the GUI for the webservice samplers. It extends
  @@ -418,7 +419,13 @@
       {
           try
           {
  -            HELPER = new WSDLHelper(url);
  +             // We get the AuthManager and pass it to the WSDLHelper
  +             // once the sampler is updated to Axis, all of this stuff
  +             // should not be necessary. Now I just need to find the
  +             // time and motivation to do it.
  +                     WebServiceSampler sampler = 
(WebServiceSampler)this.createTestElement();
  +             AuthManager manager = sampler.getAuthManager();
  +            HELPER = new WSDLHelper(url,manager);
               HELPER.parse();
               return HELPER.getWebMethods();
           }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to