ASF Bugzilla – Attachment 27473 Details for
Bug 50424
Web Methods drop down list box inconsistent
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix to the issue
50424.patch (text/plain), 2.06 KB, created by
Philippe Mouawad
on 2011-09-08 08:11:48 UTC
(
hide
)
Description:
Fix to the issue
Filename:
MIME Type:
Creator:
Philippe Mouawad
Created:
2011-09-08 08:11:48 UTC
Size:
2.06 KB
patch
obsolete
>Index: src/protocol/http/org/apache/jmeter/protocol/http/control/gui/WebServiceSamplerGui.java >=================================================================== >--- src/protocol/http/org/apache/jmeter/protocol/http/control/gui/WebServiceSamplerGui.java (revision 1166194) >+++ src/protocol/http/org/apache/jmeter/protocol/http/control/gui/WebServiceSamplerGui.java (working copy) >@@ -176,7 +176,7 @@ > @Override > public void clearGui() { > super.clearGui(); >- >+ wsdlMethods.setValues(new String[0]); > domain.setText(""); //$NON-NLS-1$ > protocol.setText(""); //$NON-NLS-1$ > port.setText(""); //$NON-NLS-1$ >@@ -262,6 +262,11 @@ > super.configure(el); > WebServiceSampler sampler = (WebServiceSampler) el; > wsdlField.setText(sampler.getWsdlURL()); >+ final String wsdlText = wsdlField.getText(); >+ if (wsdlText != null && wsdlText.length() > 0) >+ { >+ fillWsdlMethods(wsdlField.getText()); >+ } > protocol.setText(sampler.getProtocol()); > domain.setText(sampler.getDomain()); > port.setText(sampler.getPropertyAsString(HTTPSamplerBase.PORT)); >@@ -361,11 +366,7 @@ > } else if (eventSource == wsdlButton){ > final String wsdlText = wsdlField.getText(); > if (wsdlText != null && wsdlText.length() > 0) { >- String[] wsdlData = browseWSDL(wsdlText); >- if (wsdlData != null) { >- wsdlMethods.setValues(wsdlData); >- wsdlMethods.repaint(); >- } >+ fillWsdlMethods(wsdlText); > } else { > JOptionPane.showConfirmDialog(this, > JMeterUtils.getResString("wsdl_url_error"), // $NON-NLS-1$ >@@ -375,4 +376,15 @@ > } > } > >+ /** >+ * @param wsdlText >+ */ >+ private void fillWsdlMethods(final String wsdlText) { >+ String[] wsdlData = browseWSDL(wsdlText); >+ if (wsdlData != null) { >+ wsdlMethods.setValues(wsdlData); >+ wsdlMethods.repaint(); >+ } >+ } >+ > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 50424
: 27473 |
27474
|
27475