You are viewing a plain text version of this content. The canonical link for it is here.
Posted to woden-dev@ws.apache.org by jk...@apache.org on 2007/07/31 13:26:04 UTC

svn commit: r561298 - /incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/InterfaceOperationImpl.java

Author: jkaputin
Date: Tue Jul 31 04:26:03 2007
New Revision: 561298

URL: http://svn.apache.org/viewvc?view=rev&rev=561298
Log:
WODEN-160 Default the MEP property of InterfaceOperation 
to in-out if the MEP attribute is not specified in the WSDL.

Modified:
    incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/InterfaceOperationImpl.java

Modified: incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/InterfaceOperationImpl.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/InterfaceOperationImpl.java?view=diff&rev=561298&r1=561297&r2=561298
==============================================================================
--- incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/InterfaceOperationImpl.java (original)
+++ incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/InterfaceOperationImpl.java Tue Jul 31 04:26:03 2007
@@ -73,7 +73,8 @@
      */
     public URI getMessageExchangePattern() 
     {
-        return fMessageExchangePattern;
+        return (fMessageExchangePattern != null) ?
+                fMessageExchangePattern : Constants.MEP_URI_IN_OUT;
     }
 
     /* (non-Javadoc)



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