public boolean hasDesktopPanel() {
return true;
}
public JPanel buildOverviewPanel(WsdlTestRequestStep testStep) {
WsdlTestRequest request = testStep.getTestRequest();
JPropertiesTable<WsdlTestRequest> table = new JPropertiesTable<WsdlTestRequest>("TestRequest Properties");
// basic properties
table.addProperty("Name", "name", true);
table.addProperty("Description", "description", true);
table.addProperty("Message Size", "contentLength", false);
table.addProperty("Encoding", "encoding", new String[]{null, "UTF-8", "iso-8859-1"});
table.addProperty("Endpoint", "endpoint", request.getInterface() == null ? new String[0] : request
.getInterface().getEndpoints());
table.addProperty("Timeout", "timeout", true);
table.addProperty("Bind Address", "bindAddress", true);
table.addProperty("Follow Redirects", "followRedirects", JPropertiesTable.BOOLEAN_OPTIONS);
table.addProperty("Interface", "interfaceName");
table.addProperty("Operation", "operationName");
// security / authentication
table.addProperty("Username", "username", true);
table.addPropertyShadow("Password", "password", true);
table.addProperty("Domain", "domain", true);
table.addProperty("Authentication Type", "authType", new String[]{AuthType.GLOBAL_HTTP_SETTINGS.toString(),
AuthType.PREEMPTIVE.toString(), AuthType.SPNEGO_KERBEROS.toString(), AuthType.NTLM.toString()});
table.addProperty("WSS-Password Type", "wssPasswordType", new String[]{WsdlRequest.PW_TYPE_NONE,
WsdlRequest.PW_TYPE_TEXT, WsdlRequest.PW_TYPE_DIGEST});
table.addProperty("WSS TimeToLive", "wssTimeToLive", true);
StringList keystores = new StringList(request.getOperation().getInterface().getProject().getWssContainer()
.getCryptoNames());
keystores.add(0, null);
table.addProperty("SSL Keystore", "sslKeystore", keystores.toStringArray());
table.addProperty("Skip SOAP Action", "skipSoapAction", JPropertiesTable.BOOLEAN_OPTIONS);