Author: bfitzpat
Date: 2012-01-20 12:43:54 -0500 (Fri, 20 Jan 2012)
New Revision: 38003
Modified:
trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/views/JAXRSWSTestView2.java
Log:
[JBIDE-10609] Fixing a couple of minor issues found while integrating JAX-RS tooling with
the WS Tester
Modified:
trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/views/JAXRSWSTestView2.java
===================================================================
---
trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/views/JAXRSWSTestView2.java 2012-01-20
14:22:22 UTC (rev 38002)
+++
trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/views/JAXRSWSTestView2.java 2012-01-20
17:43:54 UTC (rev 38003)
@@ -215,6 +215,7 @@
this.methodCombo.setText(DELETE);
else if (uCaseMethod.equalsIgnoreCase(OPTIONS))
this.methodCombo.setText(OPTIONS);
+ getCurrentHistoryEntry().setMethod(methodCombo.getText());
setControlsForWSType(JAX_RS);
setControlsForMethodType(methodCombo.getText());
setControlsForSelectedURL();
@@ -1481,6 +1482,8 @@
} catch (Exception e) {
String result = tester.getResultBody();
+ if (result.isEmpty())
+ result = e.getLocalizedMessage();
// put the results in the result text field
String cleanedUp = WSTestUtils.addNLsToXML(result);
Show replies by date