You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by la...@apache.org on 2011/10/19 18:16:22 UTC

svn commit: r1186300 - /incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpretorEventListener.java

Author: lahiru
Date: Wed Oct 19 16:16:22 2011
New Revision: 1186300

URL: http://svn.apache.org/viewvc?rev=1186300&view=rev
Log:
fixing AIRAVATA-150.

Modified:
    incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpretorEventListener.java

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpretorEventListener.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpretorEventListener.java?rev=1186300&r1=1186299&r2=1186300&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpretorEventListener.java (original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpretorEventListener.java Wed Oct 19 16:16:22 2011
@@ -148,16 +148,17 @@ public class WorkflowInterpretorEventLis
 	 */
 	public void handleNotification(String message) {
 		try {
-			String soapBody = WorkFlowUtils.getSoapBodyContent(message);
-			XmlElement event = XMLUtil.stringToXmlElement(soapBody);
+//			String soapBody = WorkFlowUtils.getSoapBodyContent(message);
+			XmlElement event = XMLUtil.stringToXmlElement(message);
 			handleEvent(new MonitorEvent(event), true, this.workflow.getGraph());
 
-		} catch (XMLStreamException e) {
-			// Just log them because they can be unrelated messages sent to
-			// this topic by accident.
-			logger.warn("Could not parse received notification: " + message,
-					e);
-		} catch (RuntimeException e) {
+//		} catch (XMLStreamException e) {
+//			// Just log them because they can be unrelated messages sent to
+//			// this topic by accident.
+//			logger.warn("Could not parse received notification: " + message,
+//					e);
+//		}
+        }catch (RuntimeException e) {
 			logger.warn("Failed to process notification: " + message, e);
 		}
 	}