servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject svn commit: r994939 - in /servicemix/components/bindings/servicemix-cxf-bc/trunk/src/test/resources: HelloWorld-DOC-Input-extra-namespace.xml HelloWorld-DOC.wsdl log4j-tests.properties log4j.properties
Date Wed, 08 Sep 2010 09:36:50 GMT
Author: ffang
Date: Wed Sep  8 09:36:49 2010
New Revision: 994939

URL: http://svn.apache.org/viewvc?rev=994939&view=rev
Log:
[SMXCOMP-799]don't set log as DEBUG for smx-cxf-bc test as it can hide stream consume problem
in real env

Added:
    servicemix/components/bindings/servicemix-cxf-bc/trunk/src/test/resources/HelloWorld-DOC-Input-extra-namespace.xml
Modified:
    servicemix/components/bindings/servicemix-cxf-bc/trunk/src/test/resources/HelloWorld-DOC.wsdl
    servicemix/components/bindings/servicemix-cxf-bc/trunk/src/test/resources/log4j-tests.properties
    servicemix/components/bindings/servicemix-cxf-bc/trunk/src/test/resources/log4j.properties

Added: servicemix/components/bindings/servicemix-cxf-bc/trunk/src/test/resources/HelloWorld-DOC-Input-extra-namespace.xml
URL: http://svn.apache.org/viewvc/servicemix/components/bindings/servicemix-cxf-bc/trunk/src/test/resources/HelloWorld-DOC-Input-extra-namespace.xml?rev=994939&view=auto
==============================================================================
--- servicemix/components/bindings/servicemix-cxf-bc/trunk/src/test/resources/HelloWorld-DOC-Input-extra-namespace.xml
(added)
+++ servicemix/components/bindings/servicemix-cxf-bc/trunk/src/test/resources/HelloWorld-DOC-Input-extra-namespace.xml
Wed Sep  8 09:36:49 2010
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    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.
+
+-->
+<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns2="uri:HelloWorld"><soap:Body><ns2:SayHiRequest><text>hello</text></ns2:SayHiRequest></soap:Body></soap:Envelope>

Modified: servicemix/components/bindings/servicemix-cxf-bc/trunk/src/test/resources/HelloWorld-DOC.wsdl
URL: http://svn.apache.org/viewvc/servicemix/components/bindings/servicemix-cxf-bc/trunk/src/test/resources/HelloWorld-DOC.wsdl?rev=994939&r1=994938&r2=994939&view=diff
==============================================================================
--- servicemix/components/bindings/servicemix-cxf-bc/trunk/src/test/resources/HelloWorld-DOC.wsdl
(original)
+++ servicemix/components/bindings/servicemix-cxf-bc/trunk/src/test/resources/HelloWorld-DOC.wsdl
Wed Sep  8 09:36:49 2010
@@ -40,6 +40,20 @@
                     </all>
                 </complexType>
             </element>
+            <element name="SayHiRequest">
+                <complexType>
+                    <all>
+                        <element name="text" type="string"/>
+                    </all>
+                </complexType>
+            </element>
+            <element name="SayHiResponse">
+                <complexType>
+                    <all>
+                        <element name="text" type="string"/>
+                    </all>
+                </complexType>
+            </element>
             <element name="HelloHeader">
                 <complexType>
                     <all>
@@ -74,6 +88,15 @@
         <part name="header1" element="tns:HelloHeader"/>
     </message>
 
+    <message name="SayHiRequest">
+        <part name="body" element="tns:SayHiRequest"/>
+    </message>
+
+    <message name="SayHiResponse">
+        <part name="body" element="tns:SayHiResponse"/>
+    </message>
+
+
     <message name="HelloFault">
         <part name="body" element="tns:HelloFault"/>
     </message>
@@ -88,6 +111,10 @@
             <output message="tns:HelloResponse"/>
             <fault name="fault" message="tns:HelloFault" />
         </operation>
+        <operation name="SayHi">
+            <input message="tns:SayHiRequest"/>
+            <output message="tns:SayHiResponse"/>
+        </operation>
     </portType>
 
     <binding name="HelloSoapBinding" type="tns:HelloPortType">
@@ -107,6 +134,16 @@
                 <soap:fault name="fault" use="literal" />
             </fault>
         </operation>
+        <operation name="SayHi">
+            <soap:operation soapAction=""/>
+            <input>
+                <soap:body use="literal"/>
+            </input>
+            <output>
+                <soap:body use="literal"/>
+            </output>
+        </operation>
+
     </binding>
 
     <service name="HelloService">

Modified: servicemix/components/bindings/servicemix-cxf-bc/trunk/src/test/resources/log4j-tests.properties
URL: http://svn.apache.org/viewvc/servicemix/components/bindings/servicemix-cxf-bc/trunk/src/test/resources/log4j-tests.properties?rev=994939&r1=994938&r2=994939&view=diff
==============================================================================
--- servicemix/components/bindings/servicemix-cxf-bc/trunk/src/test/resources/log4j-tests.properties
(original)
+++ servicemix/components/bindings/servicemix-cxf-bc/trunk/src/test/resources/log4j-tests.properties
Wed Sep  8 09:36:49 2010
@@ -21,14 +21,13 @@
 #
 # The logging properties used during tests..
 #
-log4j.rootLogger=DEBUG, out
+log4j.rootLogger=INFO, out
 
 log4j.logger.org.springframework=INFO
 log4j.logger.org.apache.activemq=INFO
 log4j.logger.org.apache.activemq.spring=WARN
 log4j.logger.org.apache.activemq.store.journal=INFO
 log4j.logger.org.activeio.journal=INFO
-
 # CONSOLE appender not used by default
 log4j.appender.stdout=org.apache.log4j.ConsoleAppender
 log4j.appender.stdout.layout=org.apache.log4j.PatternLayout

Modified: servicemix/components/bindings/servicemix-cxf-bc/trunk/src/test/resources/log4j.properties
URL: http://svn.apache.org/viewvc/servicemix/components/bindings/servicemix-cxf-bc/trunk/src/test/resources/log4j.properties?rev=994939&r1=994938&r2=994939&view=diff
==============================================================================
--- servicemix/components/bindings/servicemix-cxf-bc/trunk/src/test/resources/log4j.properties
(original)
+++ servicemix/components/bindings/servicemix-cxf-bc/trunk/src/test/resources/log4j.properties
Wed Sep  8 09:36:49 2010
@@ -21,7 +21,7 @@
 #
 # The logging properties used during tests..
 #
-log4j.rootLogger=DEBUG, stdout
+log4j.rootLogger=INFO, stdout
 
 log4j.logger.org.springframework=INFO
 log4j.logger.org.apache.activemq=INFO



Mime
View raw message