You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by gn...@apache.org on 2008/08/28 17:35:20 UTC
svn commit: r689853 - in /servicemix/smx4/nmr/trunk/nmr/api/src:
main/java/org/apache/servicemix/nmr/api/Pattern.java
test/java/org/apache/servicemix/nmr/api/MEPCompatibilityTest.java
Author: gnodet
Date: Thu Aug 28 08:35:19 2008
New Revision: 689853
URL: http://svn.apache.org/viewvc?rev=689853&view=rev
Log:
SMX4NMR-45: The NMR does not correctly handle the http://www.w3.org/2004/08/wsdl/in-opt-out mep
Added:
servicemix/smx4/nmr/trunk/nmr/api/src/test/java/org/apache/servicemix/nmr/api/MEPCompatibilityTest.java
Modified:
servicemix/smx4/nmr/trunk/nmr/api/src/main/java/org/apache/servicemix/nmr/api/Pattern.java
Modified: servicemix/smx4/nmr/trunk/nmr/api/src/main/java/org/apache/servicemix/nmr/api/Pattern.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/nmr/trunk/nmr/api/src/main/java/org/apache/servicemix/nmr/api/Pattern.java?rev=689853&r1=689852&r2=689853&view=diff
==============================================================================
--- servicemix/smx4/nmr/trunk/nmr/api/src/main/java/org/apache/servicemix/nmr/api/Pattern.java (original)
+++ servicemix/smx4/nmr/trunk/nmr/api/src/main/java/org/apache/servicemix/nmr/api/Pattern.java Thu Aug 28 08:35:19 2008
@@ -45,7 +45,7 @@
case InOnly:
return "http://www.w3.org/ns/wsdl/in-only";
case InOptionalOut:
- return "http://www.w3.org/ns/wsdl/in-optional-out";
+ return "http://www.w3.org/ns/wsdl/in-opt-out";
case InOut:
return "http://www.w3.org/ns/wsdl/in-out";
case RobustInOnly:
Added: servicemix/smx4/nmr/trunk/nmr/api/src/test/java/org/apache/servicemix/nmr/api/MEPCompatibilityTest.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/nmr/trunk/nmr/api/src/test/java/org/apache/servicemix/nmr/api/MEPCompatibilityTest.java?rev=689853&view=auto
==============================================================================
--- servicemix/smx4/nmr/trunk/nmr/api/src/test/java/org/apache/servicemix/nmr/api/MEPCompatibilityTest.java (added)
+++ servicemix/smx4/nmr/trunk/nmr/api/src/test/java/org/apache/servicemix/nmr/api/MEPCompatibilityTest.java Thu Aug 28 08:35:19 2008
@@ -0,0 +1,35 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.servicemix.nmr.api;
+
+import static junit.framework.Assert.assertNotNull;
+
+import org.junit.Test;
+
+/**
+ * MessageExchange pattern compatibility test
+ *
+ * @author Volodymyr Zhabiuk
+ */
+public class MEPCompatibilityTest {
+
+ @Test
+ public void inOptOutCompatibilityTest() {
+ assertNotNull(Pattern.fromWsdlUri("http://www.w3.org/2004/08/wsdl/in-opt-out"));
+ }
+
+}