ws-sandesha-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chamik...@apache.org
Subject svn commit: r544153 - /webservices/sandesha/branches/sandesha2/java/1_2/modules/core/src/main/java/org/apache/sandesha2/handlers/SequenceIDDispatcher.java
Date Mon, 04 Jun 2007 14:24:26 GMT
Author: chamikara
Date: Mon Jun  4 07:24:25 2007
New Revision: 544153

URL: http://svn.apache.org/viewvc?view=rev&rev=544153
Log:
A bug fix.


Modified:
    webservices/sandesha/branches/sandesha2/java/1_2/modules/core/src/main/java/org/apache/sandesha2/handlers/SequenceIDDispatcher.java

Modified: webservices/sandesha/branches/sandesha2/java/1_2/modules/core/src/main/java/org/apache/sandesha2/handlers/SequenceIDDispatcher.java
URL: http://svn.apache.org/viewvc/webservices/sandesha/branches/sandesha2/java/1_2/modules/core/src/main/java/org/apache/sandesha2/handlers/SequenceIDDispatcher.java?view=diff&rev=544153&r1=544152&r2=544153
==============================================================================
--- webservices/sandesha/branches/sandesha2/java/1_2/modules/core/src/main/java/org/apache/sandesha2/handlers/SequenceIDDispatcher.java
(original)
+++ webservices/sandesha/branches/sandesha2/java/1_2/modules/core/src/main/java/org/apache/sandesha2/handlers/SequenceIDDispatcher.java
Mon Jun  4 07:24:25 2007
@@ -73,10 +73,13 @@
 				rmdFindBean.setSequenceID(sequenceID);
 
 				RMDBean rmdBean = rmdBeanMgr.findUnique(rmdFindBean);
-				String serviceName = rmdBean.getServiceName();
-				if (serviceName != null) {
-					service = configurationContext.getAxisConfiguration()
-							.getService(serviceName);
+				if (rmdBean != null) {
+
+					String serviceName = rmdBean.getServiceName();
+					if (serviceName != null) {
+						service = configurationContext.getAxisConfiguration()
+								.getService(serviceName);
+					}
 				}
 
 				if (service == null && rmdBean == null) {
@@ -87,10 +90,13 @@
 
 					RMSBean rmsBean = rmsBeanMgr.findUnique(rmsfindBean);
 
-					serviceName = rmsBean.getServiceName();
-					if (serviceName != null) {
-						service = configurationContext.getAxisConfiguration()
-								.getService(serviceName);
+					if (rmsBean != null) {
+						String serviceName = rmsBean.getServiceName();
+						if (serviceName != null) {
+							service = configurationContext
+									.getAxisConfiguration().getService(
+											serviceName);
+						}
 					}
 				}
 



---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org


Mime
View raw message