sebb        2004/07/02 19:43:45

  Modified:    src/protocol/http/org/apache/jmeter/protocol/http/control/gui
                        WebServiceSamplerGui.java
  Log:
  Pick up constants from HTTPSamplerBase class
  
  Revision  Changes    Path
  1.13      +5 -4      
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.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- WebServiceSamplerGui.java 9 Jun 2004 16:21:42 -0000       1.12
  +++ WebServiceSamplerGui.java 3 Jul 2004 02:43:45 -0000       1.13
  @@ -32,6 +32,7 @@
   import javax.swing.border.Border;
   import javax.swing.border.EmptyBorder;
   
  +import org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase;
   import org.apache.jmeter.protocol.http.sampler.WebServiceSampler;
   import org.apache.jmeter.samplers.gui.AbstractSamplerGui;
   import org.apache.jmeter.testelement.TestElement;
  @@ -182,7 +183,7 @@
                   sampler.setPort(80);
               }
               sampler.setProtocol(url.getProtocol());
  -            sampler.setMethod(WebServiceSampler.POST);
  +            sampler.setMethod(HTTPSamplerBase.POST);
               sampler.setPath(url.getPath());
               sampler.setSoapAction(soapAction.getText());
               sampler.setXmlData(soapXml.getText());
  @@ -221,7 +222,7 @@
                   sampler.setPort(80);
               }
               sampler.setProtocol(url.getProtocol());
  -            sampler.setMethod(WebServiceSampler.POST);
  +            sampler.setMethod(HTTPSamplerBase.POST);
               sampler.setPath(url.getPath());
               sampler.setSoapAction(soapAction.getText());
               sampler.setXmlData(soapXml.getText());
  
  
  

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

Reply via email to