You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by ga...@apache.org on 2007/04/17 16:02:57 UTC
svn commit: r529607 -
/webservices/sandesha/trunk/java/src/org/apache/sandesha2/SandeshaModule.java
Author: gatfora
Date: Tue Apr 17 07:02:56 2007
New Revision: 529607
URL: http://svn.apache.org/viewvc?view=rev&rev=529607
Log:
Check for AxisOperation in SandeshaModule.engageNotify as well as AxisService when deciding if it is an out in operation for RM Auto offering
Modified:
webservices/sandesha/trunk/java/src/org/apache/sandesha2/SandeshaModule.java
Modified: webservices/sandesha/trunk/java/src/org/apache/sandesha2/SandeshaModule.java
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/java/src/org/apache/sandesha2/SandeshaModule.java?view=diff&rev=529607&r1=529606&r2=529607
==============================================================================
--- webservices/sandesha/trunk/java/src/org/apache/sandesha2/SandeshaModule.java (original)
+++ webservices/sandesha/trunk/java/src/org/apache/sandesha2/SandeshaModule.java Tue Apr 17 07:02:56 2007
@@ -186,7 +186,24 @@
break;
}
}
- }
+ } else if(axisDescription instanceof AxisOperation) {
+ AxisOperation op = (AxisOperation) axisDescription;
+ log.debug("Examining operation " + op.getName() + ", mep " + op.getAxisSpecifMEPConstant());
+
+ String name = null;
+ QName qName = op.getName();
+ if(qName != null) name = qName.getLocalPart();
+ if(name != null && !name.startsWith(Sandesha2Constants.SANDESHA_OP_PREFIX)) {
+
+ // If we get to here then we must have one of the user's operations, so
+ // check the MEP.
+ if(op.getAxisSpecifMEPConstant() == WSDLConstants.MEP_CONSTANT_OUT_IN) {
+ Parameter p = new Parameter(Sandesha2Constants.SERVICE_CONTAINS_OUT_IN_MEPS, Boolean.TRUE);
+ op.getParent().addParameter(p);
+ }
+ }
+ }
+
if(log.isDebugEnabled()) log.debug("Exit: SandeshaModule::engageNotify");
}
---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org