cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r494369 [5/6] - in /incubator/cxf/trunk/tools2: common/ common/src/main/java/org/apache/cxf/tools/common/ wsdlto/core/ wsdlto/core/src/main/java/org/apache/cxf/tools/wsdlto/ wsdlto/core/src/main/java/org/apache/cxf/tools/wsdlto/core/ wsdlto...
Date Tue, 09 Jan 2007 10:50:52 GMT
Added: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/interoptestdoclit.wsdl
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/interoptestdoclit.wsdl?view=auto&rev=494369
==============================================================================
--- incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/interoptestdoclit.wsdl (added)
+++ incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/interoptestdoclit.wsdl Tue Jan  9 02:50:47 2007
@@ -0,0 +1,158 @@
+<?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.
+-->
+<definitions name="WSDLInteropTestDocLitService"
+    targetNamespace="http://soapinterop.org/WSDLInteropTestDocLit"
+    xmlns="http://schemas.xmlsoap.org/wsdl/"
+    xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
+    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+    xmlns:tns="http://soapinterop.org/WSDLInteropTestDocLit"
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+    xmlns:xsd1="http://soapinterop.org/xsd"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+    <types>
+        <schema targetNamespace="http://soapinterop.org/xsd"
+            xmlns="http://www.w3.org/2001/XMLSchema"
+            xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+            elementFormDefault="qualified">
+            <complexType name="ArrayOfstring_literal">
+                <sequence>
+                    <element maxOccurs="unbounded" minOccurs="1" name="string" type="xsd:string"/>
+                </sequence>
+            </complexType>
+            <complexType name="SOAPStruct">
+                <all>
+                    <element name="varFloat" type="xsd:float"/>
+                    <element name="varInt" type="xsd:int"/>
+                    <element name="varString" type="xsd:string"/>
+                </all>
+            </complexType>
+  
+
+            <element name="echoStringParam" type="xsd:string"/>
+         
+
+            <element name="echoStringReturn" type="xsd:string"/>
+            <element name="echoStringArrayParam" type="xsd1:ArrayOfstring_literal"/>
+                
+
+            <element name="echoStringArrayReturn" type="xsd1:ArrayOfstring_literal"/>
+               
+
+            <element name="echoStructParam" type="xsd1:SOAPStruct"/>
+                   
+
+            <element name="echoStructReturn" type="xsd1:SOAPStruct"/>
+        </schema>
+    </types>
+    <message name="echoString">
+        <part element="xsd1:echoStringParam" name="a"/>
+    </message>
+    <message name="echoStringResponse">
+        <part element="xsd1:echoStringReturn" name="result"/>
+    </message>
+    <message name="echoStringArray">
+        <part element="xsd1:echoStringArrayParam" name="a"/>
+    </message>
+    <message name="echoStringArrayResponse">
+        <part element="xsd1:echoStringArrayReturn" name="result"/>
+    </message>
+    <message name="echoStruct">
+        <part element="xsd1:echoStructParam" name="a"/>
+    </message>
+    <message name="echoStructResponse">
+        <part element="xsd1:echoStructReturn" name="result"/>
+    </message>
+    <message name="echoVoid"/>
+    <message name="echoVoidResponse"/>
+
+    <portType name="WSDLInteropTestDocLitPortType">
+        <operation name="echoString">
+            <input message="tns:echoString" name="echoString"/>
+            <output message="tns:echoStringResponse" name="echoStringResponse"/>
+        </operation>
+        <operation name="echoStringArray">
+            <input message="tns:echoStringArray" name="echoStringArray"/>
+            <output message="tns:echoStringArrayResponse" name="echoStringArrayResponse"/>
+        </operation>
+        <operation name="echoStruct">
+            <input message="tns:echoStruct" name="echoStruct"/>
+            <output message="tns:echoStructResponse" name="echoStructResponse"/>
+        </operation>
+        <operation name="echoVoid">
+            <input message="tns:echoVoid" name="echoVoid"/>
+            <output message="tns:echoVoidResponse" name="echoVoidResponse"/>
+        </operation>
+    </portType>
+    <binding name="WSDLInteropTestDocLitPortBinding"
+        type="tns:WSDLInteropTestDocLitPortType">
+        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+        <operation name="echoString">
+            <soap:operation soapAction="http://soapinterop.org/" style="document"/>
+            <input name="echoString">
+                <soap:body namespace="http://soapinterop.org/WSDLInteropTestDocLit"
+                    use="literal"/>
+            </input>
+            <output name="echoStringResponse">
+                <soap:body namespace="http://soapinterop.org/WSDLInteropTestDocLit"
+                    use="literal"/>
+            </output>
+        </operation>
+        <operation name="echoStringArray">
+            <soap:operation soapAction="http://soapinterop.org/" style="document"/>
+            <input name="echoStringArray">
+                <soap:body namespace="http://soapinterop.org/WSDLInteropTestDocLit"
+                    use="literal"/>
+            </input>
+            <output name="echoStringArrayResponse">
+                <soap:body namespace="http://soapinterop.org/WSDLInteropTestDocLit"
+                    use="literal"/>
+            </output>
+        </operation>
+        <operation name="echoStruct">
+            <soap:operation soapAction="http://soapinterop.org/" style="document"/>
+            <input name="echoStruct">
+                <soap:body namespace="http://soapinterop.org/WSDLInteropTestDocLit"
+                    use="literal"/>
+            </input>
+            <output name="echoStructResponse">
+                <soap:body namespace="http://soapinterop.org/WSDLInteropTestDocLit"
+                    use="literal"/>
+            </output>
+        </operation>
+        <operation name="echoVoid">
+            <soap:operation soapAction="http://soapinterop.org/" style="document"/>
+            <input name="echoVoid">
+                <soap:body namespace="http://soapinterop.org/WSDLInteropTestDocLit"
+                    use="literal"/>
+            </input>
+            <output name="echoVoidResponse">
+                <soap:body namespace="http://soapinterop.org/WSDLInteropTestDocLit"
+                    use="literal"/>
+            </output>
+        </operation>
+    </binding>
+    <service name="WSDLInteropTestDocLitService">
+        <port binding="tns:WSDLInteropTestDocLitPortBinding"
+            name="WSDLInteropTestDocLitPort">
+            <soap:address
+                location="http://mssoapinterop.org/stkv3/wsdl/interopTestDocLit.wsdl"/>
+        </port>
+    </service>
+</definitions>

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/interoptestdoclit.wsdl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/interoptestdoclit.wsdl
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/interoptestdoclit.wsdl
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/invalid_mep.wsdl
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/invalid_mep.wsdl?view=auto&rev=494369
==============================================================================
--- incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/invalid_mep.wsdl (added)
+++ incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/invalid_mep.wsdl Tue Jan  9 02:50:47 2007
@@ -0,0 +1,58 @@
+<?xml version="1.0"?>
+<!--
+  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.
+-->
+<wsdl:definitions name="CorretorWSDL"
+	targetNamespace="http://services.medial.com.br/echo"
+	xmlns:tns="http://services.medial.com.br/echo"
+	xmlns:xs="http://www.w3.org/2001/XMLSchema"
+	xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+	xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
+	xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
+	xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
+	<wsdl:types>
+		<xs:schema
+			targetNamespace="http://services.medial.com.br/echoTypes"
+			xmlns:xs="http://www.w3.org/2001/XMLSchema"
+			xmlns:s1="http://services.medial.com.br/echoTypes" />
+	</wsdl:types>
+
+	<wsdl:message name="EchoOut"/>
+
+	<wsdl:portType name="EchoNotification">
+		<wsdl:operation name="notify">
+			<wsdl:output name="Notification1" message="EchoOut" />
+		</wsdl:operation>
+	</wsdl:portType>
+
+	<wsdl:binding name="EchoNotifyBinding" type="EchoNotification">
+		<soap:binding style="document"
+			transport="http://schemas.xmlsoap.org/soap/http" />
+		<wsdl:operation name="notify">
+			<soap:operation style="document" />
+			<wsdl:output name="Notification1">
+				<soap:body use="literal" />
+			</wsdl:output>
+		</wsdl:operation>
+	</wsdl:binding>
+	<wsdl:service name="EchoService">
+		<wsdl:port name="EchoNotify" binding="EchoNotifyBinding">
+			<soap:address location="www.exampleLocation.com/Port1" />
+		</wsdl:port>
+	</wsdl:service>
+</wsdl:definitions>

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/invalid_mep.wsdl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/invalid_mep.wsdl
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/invalid_mep.wsdl
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/jms_test.wsdl
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/jms_test.wsdl?view=auto&rev=494369
==============================================================================
--- incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/jms_test.wsdl (added)
+++ incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/jms_test.wsdl Tue Jan  9 02:50:47 2007
@@ -0,0 +1,221 @@
+<?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.
+-->
+<definitions name="HelloWorldService" targetNamespace="http://cxf.apache.org/hello_world_jms" 
+    xmlns="http://schemas.xmlsoap.org/wsdl/" 
+    xmlns:jms="http://cxf.apache.org/transports/jms" 
+    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
+    xmlns:tns="http://cxf.apache.org/hello_world_jms" xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
+    xmlns:xsd1="http://cxf.apache.org/hello_world_jms/xsd">
+    <message name="greetMe">
+        <part name="stringParam0" type="xsd:string"/>
+    </message>
+    <message name="greetMeResponse">
+        <part name="return" type="xsd:string"/>
+    </message>
+    <message name="sayHi"/>
+    <message name="sayHiResponse">
+        <part name="return" type="xsd:string"/>
+    </message>
+    <message name="greetMeOneWay">
+        <part name="stringParam0" type="xsd:string"/>
+    </message>
+    
+    <portType name="HelloWorldPortType">
+        <operation name="greetMe">
+            <input message="tns:greetMe" name="greetMe"/>
+            <output message="tns:greetMeResponse" name="greetMeResponse"/>
+        </operation>
+        <operation name="sayHi">
+            <input message="tns:sayHi" name="sayHi"/>
+            <output message="tns:sayHiResponse" name="sayHiResponse"/>
+        </operation>
+        <operation name="greetMeOneWay">
+            <input message="tns:greetMeOneWay" name="greetMeOneWay"/>
+        </operation>
+    </portType>
+    
+    <portType name="HelloWorldOneWayPort">
+        <operation name="greetMeOneWay">
+            <input message="tns:greetMeOneWay" name="greetMeOneWay"/>
+        </operation>
+    </portType>
+    
+    <portType name="HelloWorldPubSubPort">
+        <operation name="greetMeOneWay">
+            <input message="tns:greetMeOneWay" name="greetMeOneWay"/>
+        </operation>
+    </portType>
+    
+    <binding name="HelloWorldPortBinding" type="tns:HelloWorldPortType">
+        <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
+        <operation name="greetMe">
+            <soap:operation soapAction="" style="rpc"/>
+            <input name="greetMe">
+                <soap:body 
+                    namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
+            </input>
+            <output name="greetMeResponse">
+                <soap:body  
+                    namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
+            </output>
+        </operation>
+        <operation name="sayHi">
+            <soap:operation soapAction="" style="rpc"/>
+            <input name="sayHi">
+                <soap:body 
+                    namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
+            </input>
+            <output name="sayHiResponse">
+                <soap:body 
+                    namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
+            </output>
+        </operation>
+        <operation name="greetMeOneWay">
+            <soap:operation style="rpc"/>
+            <input name="greetMeOneWay">
+                <soap:body 
+                    namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
+            </input>
+        </operation>
+    </binding>
+
+    <binding name="HelloWorldQueueBinMsgBinding" type="tns:HelloWorldPortType">
+        <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
+        <operation name="greetMe">
+            <soap:operation soapAction="" style="rpc"/>
+            <input name="greetMe">
+                <soap:body 
+                    namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
+            </input>
+            <output name="greetMeResponse">
+                <soap:body  
+                    namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
+            </output>
+        </operation>
+        <operation name="sayHi">
+            <soap:operation soapAction="" style="rpc"/>
+            <input name="sayHi">
+                <soap:body 
+                    namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
+            </input>
+            <output name="sayHiResponse">
+                <soap:body 
+                    namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
+            </output>
+        </operation>
+        <operation name="greetMeOneWay">
+            <soap:operation style="rpc"/>
+            <input name="greetMeOneWay">
+                <soap:body 
+                    namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
+            </input>
+        </operation>
+    </binding>
+    
+    
+    <binding name="HelloWorldOneWayBinding" type="tns:HelloWorldOneWayPort">
+        <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
+        <operation name="greetMeOneWay">
+            <soap:operation style="rpc"/>
+            <input name="greetMeOneWay">
+                <soap:body 
+                    namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
+            </input>
+        </operation>
+    </binding>
+    
+     <binding name="HelloWorldPubSubBinding" type="tns:HelloWorldPubSubPort">
+            <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
+            <operation name="greetMeOneWay">
+                <soap:operation style="rpc"/>
+                <input name="greetMeOneWay">
+                    <soap:body 
+                        namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
+                </input>
+            </operation>
+    </binding>
+    
+    <service name="HelloWorldQueueBinMsgService">
+        <port binding="tns:HelloWorldQueueBinMsgBinding" name="HelloWorldQueueBinMsgPort">
+            <jms:address 
+               destinationStyle="queue" 
+               jndiProviderURL="tcp://localhost:61616" 
+               initialContextFactory="org.activemq.jndi.ActiveMQInitialContextFactory" 
+               jndiConnectionFactoryName="ConnectionFactory" 
+               jndiDestinationName="dynamicQueues/test.jmstransport"
+               messageType="binary"
+               useMessageIDAsCorrelationID="true"
+               durableSubscriberName="CXF_subscriber"
+            />
+            <soap:address location="http://cxf.apache.org/transports/jms"/>
+        </port>
+    </service>
+    
+    <service name="HelloWorldService">
+           <port binding="tns:HelloWorldPortBinding" name="HelloWorldPort">
+              
+               <jms:address 
+                   destinationStyle="queue" 
+                   jndiProviderURL="tcp://localhost:61616" 
+                   initialContextFactory="org.activemq.jndi.ActiveMQInitialContextFactory" 
+                   jndiConnectionFactoryName="ConnectionFactory" 
+                   jndiDestinationName="dynamicQueues/test.jmstransport"
+                   messageType="text"
+                   useMessageIDAsCorrelationID="true"   
+                   durableSubscriberName="CXF_subscriber"
+                   />
+               <soap:address location="http://cxf.apache.org/transports/jms"/>
+           </port>
+    </service>
+    
+    <service name="HelloWorldOneWayQueueService">
+        <port binding="tns:HelloWorldOneWayBinding" name="HelloWorldOneWayQueuePort">
+            <jms:address
+                destinationStyle="queue" 
+                jndiProviderURL="tcp://localhost:61616"
+                initialContextFactory="org.activemq.jndi.ActiveMQInitialContextFactory" 
+                jndiConnectionFactoryName="ConnectionFactory" 
+                jndiDestinationName="dynamicQueues/test.jmstransport.oneway"
+                messageType="text"
+                useMessageIDAsCorrelationID="true"   
+                durableSubscriberName="CXF_Queue_subscriber"
+            />
+            <soap:address location="http://cxf.apache.org/transports/jms"/>
+        </port>
+    </service>
+    
+    <service name="HelloWorldPubSubService">
+            <port binding="tns:HelloWorldPubSubBinding" name="HelloWorldPubSubPort">
+                <jms:address
+                    destinationStyle="topic" 
+                    jndiProviderURL="tcp://localhost:61616"
+                    initialContextFactory="org.activemq.jndi.ActiveMQInitialContextFactory" 
+                    jndiConnectionFactoryName="ConnectionFactory" 
+                    jndiDestinationName="dynamicTopics/test.jmstransport.oneway.topic"
+                    messageType="text"
+                    useMessageIDAsCorrelationID="true"   
+                />
+                <soap:address location="http://cxf.apache.org/transports/jms"/>
+            </port>
+    </service>
+    
+</definitions>
+
+

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/jms_test.wsdl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/jms_test.wsdl
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/jms_test.wsdl
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/mapping-doc-literal.wsdl
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/mapping-doc-literal.wsdl?view=auto&rev=494369
==============================================================================
--- incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/mapping-doc-literal.wsdl (added)
+++ incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/mapping-doc-literal.wsdl Tue Jan  9 02:50:47 2007
@@ -0,0 +1,78 @@
+<?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.
+-->
+<definitions name="mapping.wsdl" targetNamespace="http://apache.org/mapping" 
+    xmlns="http://schemas.xmlsoap.org/wsdl/" 
+    xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" 
+    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
+    xmlns:tns="http://apache.org/mapping" 
+    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+    <types>
+        <schema targetNamespace="http://apache.org/mapping" 
+            xmlns="http://www.w3.org/2001/XMLSchema">
+            <element name="doSomething">
+                <complexType>
+                    <sequence>
+                        <element name="x" type="int"/>
+                        <element name="y" type="long"/>
+                    </sequence>
+                </complexType>
+            </element>
+            <element name="doSomethingResponse">
+                <complexType>
+                    <sequence>
+                        <element name="y" type="long"/>
+                        <element name="z" type="float"/>
+                        <element name="return" type="boolean"/>
+                    </sequence>
+                </complexType>
+            </element>
+        </schema>
+    </types>
+    <message name="doSomething">
+        <part element="tns:doSomething" name="parameters"/>
+    </message>
+    <message name="doSomethingResponse">
+        <part element="tns:doSomethingResponse" name="parameters"/>
+    </message>
+    <portType name="SomethingServer">
+        <operation name="doSomething">
+            <input message="tns:doSomething" name="doSomething"/>
+            <output message="tns:doSomethingResponse" name="doSomethingResponse"/>
+        </operation>
+    </portType>
+    <binding name="SomethingServerSOAPBinding" type="tns:SomethingServer">
+        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+        <operation name="doSomething">
+            <soap:operation soapAction="" style="document"/>
+            <input name="doSomething">
+                <soap:body use="literal"/>
+            </input>
+            <output name="doSomethingResponse">
+                <soap:body use="literal"/>
+            </output>
+        </operation>
+    </binding>
+    <service name="SomethingService">
+        <port binding="tns:SomethingServerSOAPBinding" name="SOAPOverHTTPPort">
+            <soap:address location="http://localhost:9010/Something"/>
+        </port>
+    </service>
+</definitions>

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/mapping-doc-literal.wsdl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/mapping-doc-literal.wsdl
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/mapping-doc-literal.wsdl
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/mime-inout.wsdl
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/mime-inout.wsdl?view=auto&rev=494369
==============================================================================
--- incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/mime-inout.wsdl (added)
+++ incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/mime-inout.wsdl Tue Jan  9 02:50:47 2007
@@ -0,0 +1,106 @@
+<?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.
+-->
+<wsdl:definitions name="SwAService" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+  xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+  xmlns:tns="http://cxf.apache.org/swa" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
+  xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd" xmlns:types="http://cxf.apache.org/swa/types"
+  xmlns:xmime="http://www.w3.org/2005/05/xmlmime" targetNamespace="http://cxf.apache.org/swa"
+  xmlns:jaxws="http://java.sun.com/xml/ns/jaxws">
+
+  <wsdl:types>
+    <xsd:schema xmlns:xmime="http://www.w3.org/2005/05/xmlmime"
+      targetNamespace="http://cxf.apache.org/swa/types">
+      <xsd:import namespace="http://ws-i.org/profiles/basic/1.1/xsd"/>
+      <xsd:element name="DataStruct">
+        <xsd:complexType>
+          <xsd:sequence>
+            <xsd:element name="DataRef" type="wsi:swaRef"
+        xmime:expectedContentTypes="application/octet-stream" />
+          </xsd:sequence>
+        </xsd:complexType>
+      </xsd:element>
+      
+    </xsd:schema>
+
+    <xsd:schema targetNamespace="http://ws-i.org/profiles/basic/1.1/xsd"
+      xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+      <xsd:simpleType name="swaRef">
+        <xsd:restriction base="xsd:anyURI" />
+      </xsd:simpleType>
+    </xsd:schema>
+  </wsdl:types>
+
+  <wsdl:message name="echoDataRequest">
+    <wsdl:part name="text" element="types:DataStruct" />
+    <wsdl:part name="data" type="xsd:base64Binary"/>
+  </wsdl:message>
+
+  <wsdl:message name="echoDataResponse">
+    <wsdl:part name="text" type="xsd:string" />
+    <wsdl:part name="data" element="xsd:base64Binary" />
+  </wsdl:message>
+
+  <wsdl:portType name="SwAServiceInterface">
+
+    <wsdl:operation name="echoData">
+      <wsdl:input message="tns:echoDataRequest" />
+      <wsdl:output message="tns:echoDataRequest" />
+    </wsdl:operation>
+
+  </wsdl:portType>
+
+  <wsdl:binding name="SwAServiceBinding" type="tns:SwAServiceInterface">
+    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
+
+    <wsdl:operation name="echoData">
+      <soap:operation soapAction="" style="literal" />
+      <wsdl:input>
+        <mime:multipartRelated>
+          <mime:part name="body">
+            <soap:body parts="text" use="literal" />
+          </mime:part>
+          <mime:part name="data">
+            <mime:content part="data" type="application/octet-stream" />
+          </mime:part>
+        </mime:multipartRelated>
+      </wsdl:input>
+      <wsdl:output>
+        <mime:multipartRelated>
+          <mime:part name="body">
+            <soap:body parts="text" use="literal" />
+          </mime:part>
+          <mime:part name="data">
+            <mime:content part="data" type="application/octet-stream" />
+          </mime:part>
+        </mime:multipartRelated>
+      </wsdl:output>
+    </wsdl:operation>
+
+  </wsdl:binding>
+
+  <wsdl:service name="SwAService">
+    <wsdl:port name="SwAServiceHttpPort" binding="tns:SwAServiceBinding">
+      <soap:address location="http://localhost:9036/swa" />
+    </wsdl:port>
+  </wsdl:service>
+
+</wsdl:definitions>

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/mime-inout.wsdl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/mime-inout.wsdl
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/mime-inout.wsdl
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/mime_binding.wsdl
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/mime_binding.wsdl?view=auto&rev=494369
==============================================================================
--- incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/mime_binding.wsdl (added)
+++ incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/mime_binding.wsdl Tue Jan  9 02:50:47 2007
@@ -0,0 +1,27 @@
+<!--
+  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.
+-->
+<bindings 
+	xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
+	xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"  
+    xmlns="http://java.sun.com/xml/ns/jaxws"
+    wsdlLocation="binary_attachment.wsdl">
+    <bindings node="wsdl:definitions">
+		<enableMIMEContent>true</enableMIMEContent>
+    </bindings>
+</bindings>
\ No newline at end of file

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/mime_binding.wsdl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/mime_binding.wsdl
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/mime_binding.wsdl
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/mime_fail_diff_parts.wsdl
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/mime_fail_diff_parts.wsdl?view=auto&rev=494369
==============================================================================
--- incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/mime_fail_diff_parts.wsdl (added)
+++ incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/mime_fail_diff_parts.wsdl Tue Jan  9 02:50:47 2007
@@ -0,0 +1,131 @@
+<?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.
+-->
+<wsdl:definitions name="binary_attachment" 
+    targetNamespace="http://apache.org/binary_attachment" 
+    xmlns="http://schemas.xmlsoap.org/wsdl/" 
+    xmlns:http-conf="http://schemas.iona.com/transports/http/configuration" 
+    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" 
+    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
+    xmlns:tns="http://apache.org/binary_attachment"  
+    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+    xmlns:xsd1="http://xmlbus.com/AttachmentAppService/xsd"
+    xmlns:jaxws="http://java.sun.com/xml/ns/jaxws">
+    <wsdl:message name="echoImageRequest">
+        <wsdl:part name="para0" type="xsd:base64Binary"/>
+    </wsdl:message>
+    <wsdl:message name="echoImageResponse">
+        <wsdl:part name="retn" type="xsd:base64Binary"/>
+    </wsdl:message>
+    <wsdl:message name="echoMultipleImageRequest">
+        <wsdl:part name="para0" type="xsd:base64Binary"/>
+        <wsdl:part name="para1" type="xsd:base64Binary"/>
+    </wsdl:message>
+    <wsdl:message name="echoMultipleImageResponse">
+        <wsdl:part name="retn0" type="xsd:base64Binary"/>
+        <wsdl:part name="retn1" type="xsd:base64Binary"/>
+    </wsdl:message>
+    <wsdl:portType name="binaryAttachmentPortType">
+        <wsdl:operation name="echoImage">
+            <wsdl:input message="tns:echoImageRequest" name="echoImageRequest"/>
+            <wsdl:output message="tns:echoImageResponse" name="echoImageResponse"/>
+        </wsdl:operation>
+        <wsdl:operation name="echoMultipleImage">
+            <wsdl:input message="tns:echoMultipleImageRequest" 
+                name="echoMultipleImageRequest"/>
+            <wsdl:output message="tns:echoMultipleImageResponse" 
+                name="echoMultipleImageResponse"/>
+        </wsdl:operation>
+    </wsdl:portType>
+    <wsdl:binding name="binaryAttachmentPortType_SOAPBinding" 
+        type="tns:binaryAttachmentPortType">
+        <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
+        <wsdl:operation name="echoImage">
+            <soap:operation soapAction="urn:AttachmentService/echoImage" style="rpc"/>
+            <wsdl:input name="echoImageRequest">
+                <mime:multipartRelated>
+                    <mime:part name="part1">
+                        <soap:body 
+                            encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" 
+                            namespace="urn:AttachmentService" use="literal"/>
+                    </mime:part>
+                    <mime:part name="part3">
+                        <mime:content part="para0" type="image/jpeg"/>
+                        <mime:content part="para1" type="image/jpeg"/>
+                    </mime:part>
+                </mime:multipartRelated>
+            </wsdl:input>
+            <wsdl:output name="echoImageResponse">
+                <mime:multipartRelated>
+                    <mime:part name="part1">
+                        <soap:body 
+                            encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" 
+                            namespace="urn:AttachmentService" use="literal"/>
+                    </mime:part>
+                    <mime:part name="part2">
+                        <mime:content part="retn" type="image/jpeg"/>
+                    </mime:part>
+                </mime:multipartRelated>
+            </wsdl:output>
+        </wsdl:operation>
+        <wsdl:operation name="echoMultipleImage">
+            <soap:operation soapAction="urn:AttachmentService/echoMultipleImage" style="rpc"/>
+    	    <jaxws:bindings>
+				<enableMIMEContent>true</enableMIMEContent>
+			</jaxws:bindings>
+            <wsdl:input name="echoMultipleImageRequest">
+                <mime:multipartRelated>
+                    <mime:part name="part1">
+                        <soap:body 
+                            encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" 
+                            namespace="urn:AttachmentService" use="literal"/>
+                    </mime:part>
+                    <mime:part name="part2">
+                        <mime:content part="para0" type="image/jpeg"/>
+                    </mime:part>
+                    <mime:part name="part3">
+		        <mime:content part="para1" type="image/jpeg"/>
+                    </mime:part>
+                </mime:multipartRelated>
+            </wsdl:input>
+            <wsdl:output name="echoMultipleImageResponse">
+                <mime:multipartRelated>
+                    <mime:part name="part1">
+                        <soap:body 
+                            encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" 
+                            namespace="urn:AttachmentService" use="literal"/>
+                    </mime:part>
+                    <mime:part name="part2">
+                        <mime:content part="retn0" type="image/jpeg"/>
+                    </mime:part>
+                    <mime:part name="part3">
+		        		<mime:content part="retn1" type="image/jpeg"/>
+		    			<mime:content part="retn1" type="image/gif"/>
+                    </mime:part>
+                </mime:multipartRelated>
+            </wsdl:output>
+        </wsdl:operation>
+    </wsdl:binding>
+    <wsdl:service name="SWAService">
+        <wsdl:port binding="tns:binaryAttachmentPortType_SOAPBinding" name="SWAPort">
+            <soap:address location="http://localhost:9000"/>
+        </wsdl:port>
+    </wsdl:service>
+</wsdl:definitions>

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/mime_fail_diff_parts.wsdl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/mime_fail_diff_parts.wsdl
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/mime_fail_diff_parts.wsdl
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/mime_fail_unique_root.wsdl
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/mime_fail_unique_root.wsdl?view=auto&rev=494369
==============================================================================
--- incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/mime_fail_unique_root.wsdl (added)
+++ incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/mime_fail_unique_root.wsdl Tue Jan  9 02:50:47 2007
@@ -0,0 +1,135 @@
+<?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.
+-->
+<wsdl:definitions name="binary_attachment" 
+    targetNamespace="http://apache.org/binary_attachment" 
+    xmlns="http://schemas.xmlsoap.org/wsdl/" 
+    xmlns:http-conf="http://schemas.iona.com/transports/http/configuration" 
+    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" 
+    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
+    xmlns:tns="http://apache.org/binary_attachment"  
+    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+    xmlns:xsd1="http://xmlbus.com/AttachmentAppService/xsd"
+    xmlns:jaxws="http://java.sun.com/xml/ns/jaxws">
+    <wsdl:message name="echoImageRequest">
+        <wsdl:part name="para0" type="xsd:base64Binary"/>
+    </wsdl:message>
+    <wsdl:message name="echoImageResponse">
+        <wsdl:part name="retn" type="xsd:base64Binary"/>
+    </wsdl:message>
+    <wsdl:message name="echoMultipleImageRequest">
+        <wsdl:part name="para0" type="xsd:base64Binary"/>
+        <wsdl:part name="para1" type="xsd:base64Binary"/>
+    </wsdl:message>
+    <wsdl:message name="echoMultipleImageResponse">
+        <wsdl:part name="retn0" type="xsd:base64Binary"/>
+        <wsdl:part name="retn1" type="xsd:base64Binary"/>
+    </wsdl:message>
+    <wsdl:portType name="binaryAttachmentPortType">
+        <wsdl:operation name="echoImage">
+            <wsdl:input message="tns:echoImageRequest" name="echoImageRequest"/>
+            <wsdl:output message="tns:echoImageResponse" name="echoImageResponse"/>
+        </wsdl:operation>
+        <wsdl:operation name="echoMultipleImage">
+            <wsdl:input message="tns:echoMultipleImageRequest" 
+                name="echoMultipleImageRequest"/>
+            <wsdl:output message="tns:echoMultipleImageResponse" 
+                name="echoMultipleImageResponse"/>
+        </wsdl:operation>
+    </wsdl:portType>
+    <wsdl:binding name="binaryAttachmentPortType_SOAPBinding" 
+        type="tns:binaryAttachmentPortType">
+        <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
+        <wsdl:operation name="echoImage">
+            <soap:operation soapAction="urn:AttachmentService/echoImage" style="rpc"/>
+            <wsdl:input name="echoImageRequest">
+                <mime:multipartRelated>
+                    <mime:part name="part1">
+                        <soap:body 
+                            encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" 
+                            namespace="urn:AttachmentService" use="literal"/>
+                    </mime:part>
+                    <mime:part name="part2">
+                        <soap:body 
+                            encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" 
+                            namespace="urn:AttachmentService" use="literal"/>
+                    </mime:part>
+                    <mime:part name="part3">
+                        <mime:content part="para0" type="image/jpeg"/>
+                    </mime:part>
+                </mime:multipartRelated>
+            </wsdl:input>
+            <wsdl:output name="echoImageResponse">
+                <mime:multipartRelated>
+                    <mime:part name="part1">
+                        <soap:body 
+                            encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" 
+                            namespace="urn:AttachmentService" use="literal"/>
+                    </mime:part>
+                    <mime:part name="part2">
+                        <mime:content part="retn" type="image/jpeg"/>
+                    </mime:part>
+                </mime:multipartRelated>
+            </wsdl:output>
+        </wsdl:operation>
+        <wsdl:operation name="echoMultipleImage">
+            <soap:operation soapAction="urn:AttachmentService/echoMultipleImage" style="rpc"/>
+    	    <jaxws:bindings>
+				<enableMIMEContent>true</enableMIMEContent>
+			</jaxws:bindings>
+            <wsdl:input name="echoMultipleImageRequest">
+                <mime:multipartRelated>
+                    <mime:part name="part1">
+                        <soap:body 
+                            encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" 
+                            namespace="urn:AttachmentService" use="literal"/>
+                    </mime:part>
+                    <mime:part name="part2">
+                        <mime:content part="para0" type="image/jpeg"/>
+                    </mime:part>
+                    <mime:part name="part3">
+		        <mime:content part="para1" type="image/jpeg"/>
+                    </mime:part>
+                </mime:multipartRelated>
+            </wsdl:input>
+            <wsdl:output name="echoMultipleImageResponse">
+                <mime:multipartRelated>
+                    <mime:part name="part1">
+                        <soap:body 
+                            encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" 
+                            namespace="urn:AttachmentService" use="literal"/>
+                    </mime:part>
+                    <mime:part name="part2">
+                        <mime:content part="retn0" type="image/jpeg"/>
+                    </mime:part>
+                    <mime:part name="part3">
+		        		<mime:content part="retn1" type="image/jpeg"/>
+		    			<mime:content part="retn1" type="image/gif"/>
+                    </mime:part>
+                </mime:multipartRelated>
+            </wsdl:output>
+        </wsdl:operation>
+    </wsdl:binding>
+    <wsdl:service name="SWAService">
+        <wsdl:port binding="tns:binaryAttachmentPortType_SOAPBinding" name="SWAPort">
+            <soap:address location="http://localhost:9000"/>
+        </wsdl:port>
+    </wsdl:service>
+</wsdl:definitions>

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/mime_fail_unique_root.wsdl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/mime_fail_unique_root.wsdl
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/mime_fail_unique_root.wsdl
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/multi_schema.wsdl
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/multi_schema.wsdl?view=auto&rev=494369
==============================================================================
--- incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/multi_schema.wsdl (added)
+++ incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/multi_schema.wsdl Tue Jan  9 02:50:47 2007
@@ -0,0 +1,83 @@
+<!--
+  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.
+-->
+<definitions 
+    xmlns="http://schemas.xmlsoap.org/wsdl/" 
+    xmlns:Header="http://tempuri.org/Header" 
+    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
+    xmlns:tns="http://tempuri.org/FooBar" 
+    targetNamespace="http://tempuri.org/FooBar">
+
+    <types>
+	<schema elementFormDefault="qualified" 
+		targetNamespace="http://tempuri.org/Header" 
+		xmlns:Header="http://tempuri.org/Header" 
+		xmlns="http://www.w3.org/2001/XMLSchema">
+	    
+	    <element name="WSHeader">
+		<complexType>
+		    <sequence>
+			<element minOccurs="0" name="id" type="string"/>
+		    </sequence>
+		</complexType>
+	    </element>			
+	</schema>
+	
+	<schema  elementFormDefault="qualified"
+		 targetNamespace="http://tempuri.org/FooBar" 
+		 xmlns:Header="http://tempuri.org/Header" 
+		 xmlns="http://www.w3.org/2001/XMLSchema">
+	    
+	    <import namespace="http://tempuri.org/Header"/>
+	    <element name="FooRequest">
+		<complexType>
+		    <sequence>
+			<element ref="Header:WSHeader"/>
+		    </sequence>
+		</complexType>
+	    </element>
+	</schema>
+    </types>
+    
+    <message name="FooRequest">
+	<part name="FooRequest" element="tns:FooRequest"/>
+    </message>
+    
+    
+    <portType name="FooBarPortType">
+	<operation name="Foo">
+	    <input name="FooRequest" message="tns:FooRequest"/>
+	</operation>
+	
+    </portType>
+    <binding name="FooBarSOAPBinding" type="tns:FooBarPortType">
+	<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+	<operation name="Foo">
+	    <soap:operation/>
+	    <input>
+		<soap:body use="literal"/>
+	    </input>
+	</operation>
+	
+    </binding>
+    <service name="httpService">
+	<port name="SOAPPort" binding="tns:FooBarSOAPBinding">
+	    <soap:address location="http://localhost:9000/FooService"/>
+	</port>
+    </service>
+</definitions>

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/multi_schema.wsdl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/multi_schema.wsdl
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/multi_schema.wsdl
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/router.wsdl
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/router.wsdl?view=auto&rev=494369
==============================================================================
--- incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/router.wsdl (added)
+++ incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/router.wsdl Tue Jan  9 02:50:47 2007
@@ -0,0 +1,45 @@
+<?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.
+-->
+<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="http://cxf.apache.org/routing/configuration" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://apache.org/HWRouter" xmlns:tns1="http://apache.org/hello_world_doc_lit" targetNamespace="http://apache.org/HWRouter" name="HWRouter">
+	<import namespace="http://apache.org/hello_world_doc_lit" location="./hello_world_doc_lit_router.wsdl"/>
+	<service name="HTTPSoapServiceSource">
+		<port name="HTTPSoapPortSource" binding="tns1:Greeter_SOAPBinding">
+			<soap:address location="http://localhost:9001/SOAPDocLitService/SoapPort"/>
+		</port>
+	</service>
+	<service name="HTTPSoapServiceDestination">
+		<port name="HTTPSoapPortDestination" binding="tns1:Greeter_SOAPBinding">
+			<soap:address location="http://localhost:9003/HTTPSoapServiceDestination/HTTPSoapPortDestination"/>
+		</port>
+	</service>
+	<service name="HTTPXMLServiceSource">
+		<port name="HTTPXMLPortSource" binding="tns1:Greeter_XMLBinding">
+			<soap:address location="http://localhost:9003"/>
+		</port>
+	</service>
+	<ns1:route name="route_0">
+		<ns1:source port="HTTPSoapPortSource" service="tns:HTTPSoapServiceSource"/>
+		<ns1:destination port="HTTPSoapPortDestination" service="tns:HTTPSoapServiceDestination"/>
+	</ns1:route>
+	<ns1:route name="route_1">
+		<ns1:source port="HTTPXMLPortSource" service="tns:HTTPXMLServiceSource"/>
+		<ns1:destination port="HTTPSoapPortDestination" service="tns:HTTPSoapServiceDestination"/>
+	</ns1:route>
+</definitions>
\ No newline at end of file

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/router.wsdl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/router.wsdl
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/router.wsdl
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/schema1.xsd
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/schema1.xsd?view=auto&rev=494369
==============================================================================
--- incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/schema1.xsd (added)
+++ incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/schema1.xsd Tue Jan  9 02:50:47 2007
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<!--
+  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.
+-->
+<xs:schema version="1.0" targetNamespace="http://apache.org/hello_world_soap_http/types" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+  <xs:import namespace="http://apache.org/hello_world_soap_http/types" schemaLocation="./schema2.xsd"/>
+
+  <xs:import namespace="http://apache.org/hello_world_soap_http/types" schemaLocation="./schema3.xsd"/>
+
+  <xs:element name="pingMe">
+    <xs:complexType/>
+  </xs:element>
+
+  <xs:element name="faultDetail">
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element name="minor" type="xs:short" form="qualified" minOccurs="0"/>
+        <xs:element name="major" type="xs:short" form="qualified" minOccurs="0"/>
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+
+  <xs:element name="pingMeResponse">
+    <xs:complexType/>
+  </xs:element>
+</xs:schema>
+

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/schema1.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/schema1.xsd
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/schema1.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/schema2.xsd
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/schema2.xsd?view=auto&rev=494369
==============================================================================
--- incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/schema2.xsd (added)
+++ incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/schema2.xsd Tue Jan  9 02:50:47 2007
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<!--
+  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.
+-->
+<xs:schema version="1.0" targetNamespace="http://apache.org/hello_world_soap_http/types" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+  <xs:import namespace="http://apache.org/hello_world_soap_http/types" schemaLocation="./schema4.xsd"/>
+
+  <xs:element name="sayHi">
+    <xs:complexType/>
+  </xs:element>
+
+  <xs:element name="sayHiResponse">
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element name="responseType" type="xs:string" form="qualified" minOccurs="0"/>
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+
+</xs:schema>
+

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/schema2.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/schema2.xsd
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/schema2.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/schema3.xsd
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/schema3.xsd?view=auto&rev=494369
==============================================================================
--- incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/schema3.xsd (added)
+++ incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/schema3.xsd Tue Jan  9 02:50:47 2007
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<!--
+  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.
+-->
+<xs:schema version="1.0" targetNamespace="http://apache.org/hello_world_soap_http/types" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+  <xs:element name="greetMe">
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element name="requestType" type="xs:string" form="qualified" minOccurs="0"/>
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+
+  <xs:element name="greetMeResponse">
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element name="responseType" type="xs:string" form="qualified" minOccurs="0"/>
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+
+
+</xs:schema>
+

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/schema3.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/schema3.xsd
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/schema3.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/schema4.xsd
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/schema4.xsd?view=auto&rev=494369
==============================================================================
--- incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/schema4.xsd (added)
+++ incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/schema4.xsd Tue Jan  9 02:50:47 2007
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<!--
+  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.
+-->
+<xs:schema version="1.0" targetNamespace="http://apache.org/hello_world_soap_http/types" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+  <xs:element name="greetMeOneWay">
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element name="requestType" type="xs:string" form="qualified" minOccurs="0"/>
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+
+</xs:schema>
+

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/schema4.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/schema4.xsd
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/schema4.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/soap_header.wsdl
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/soap_header.wsdl?view=auto&rev=494369
==============================================================================
--- incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/soap_header.wsdl (added)
+++ incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/soap_header.wsdl Tue Jan  9 02:50:47 2007
@@ -0,0 +1,170 @@
+<?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.
+-->
+<definitions name="soap_header" targetNamespace="http://apache.org/headers" 
+    xmlns="http://schemas.xmlsoap.org/wsdl/" 
+    xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" 
+    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
+    xmlns:tns="http://apache.org/headers" 
+    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+    <types>
+        <schema targetNamespace="http://apache.org/headers" 
+            xmlns="http://www.w3.org/2001/XMLSchema" 
+            xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
+
+            <complexType name="SOAPHeaderData">
+                <sequence>
+                    <element maxOccurs="1" minOccurs="1" name="originator" type="string"/>
+                    <element maxOccurs="1" minOccurs="1" name="message" type="string"/>
+                </sequence>
+            </complexType>
+            <element name="SOAPHeaderInfo" type="tns:SOAPHeaderData"/>
+
+        <element name="inHeader">
+           <complexType>
+                    <sequence>
+                        <element name="requestType" type="xsd:string"/>
+                    </sequence>
+                </complexType>
+        </element>
+        <element name="inHeaderResponse">
+           <complexType>
+                    <sequence>
+                        <element name="responseType" type="xsd:string"/>
+                    </sequence>
+                </complexType>
+        </element>
+
+        <element name="outHeader">
+           <complexType>
+                    <sequence>
+                        <element name="requestType" type="xsd:string"/>
+                    </sequence>
+                </complexType>
+        </element>
+        <element name="outHeaderResponse">
+           <complexType>
+                    <sequence>
+                        <element name="responseType" type="xsd:string"/>
+                    </sequence>
+                </complexType>
+        </element>
+
+        <element name="inoutHeader">
+           <complexType>
+                    <sequence>
+                        <element name="requestType" type="xsd:string"/>
+                    </sequence>
+                </complexType>
+        </element>
+        <element name="inoutHeaderResponse">
+           <complexType>
+                    <sequence>
+                        <element name="responseType" type="xsd:string"/>
+                    </sequence>
+                </complexType>
+        </element>
+
+        </schema>
+    </types>
+
+    <message name="inHeaderRequest">
+        <part element="tns:inHeader" name="me"/>
+        <part element="tns:SOAPHeaderInfo" name="header_info"/>
+    </message>
+    <message name="inHeaderResponse">
+        <part element="tns:inHeaderResponse" name="the_response"/>
+    </message>
+    <message name="outHeaderRequest">
+        <part element="tns:outHeader" name="me"/>
+    </message>
+    <message name="outHeaderResponse">
+        <part element="tns:outHeaderResponse" name="the_response"/>
+        <part element="tns:SOAPHeaderInfo" name="header_info"/>
+    </message>
+    <message name="inoutHeaderRequest">
+        <part element="tns:inoutHeader" name="me"/>
+        <part element="tns:SOAPHeaderInfo" name="header_info"/>
+    </message>
+    <message name="inoutHeaderResponse">
+        <part element="tns:inoutHeaderResponse" name="the_response"/>
+        <part element="tns:SOAPHeaderInfo" name="header_info"/>
+    </message>
+
+    <portType name="headerTester">
+        <operation name="inHeader">
+            <input message="tns:inHeaderRequest" name="inHeaderRequest"/>
+            <output message="tns:inHeaderResponse" name="inHeaderResponse"/>
+        </operation>
+        <operation name="outHeader">
+            <input message="tns:outHeaderRequest" name="outHeaderRequest"/>
+            <output message="tns:outHeaderResponse" name="outHeaderResponse"/>
+        </operation>
+        <operation name="inoutHeader">
+            <input message="tns:inoutHeaderRequest" name="inoutHeaderRequest"/>
+            <output message="tns:inoutHeaderResponse" name="inoutHeaderResponse"/>
+        </operation>
+    </portType>
+
+    <binding name="headerTesterSOAPBinding" type="tns:headerTester">
+        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+        <operation name="inHeader">
+            <soap:operation soapAction="" style="document"/>
+            <input name="inHeaderRequest">
+                <soap:body parts="me" use="literal"/>
+                <soap:header message="tns:inHeaderRequest" part="header_info" 
+                    use="literal"/>
+            </input>
+            <output name="inHeaderResponse">
+                <soap:body use="literal"/>
+            </output>
+        </operation>
+        <operation name="outHeader">
+            <soap:operation soapAction="" style="document"/>
+            <input name="outHeaderRequest">
+                <soap:body use="literal"/>
+            </input>
+            <output name="outHeaderResponse">
+                <soap:body parts="the_response" use="literal"/>
+                <soap:header message="tns:outHeaderResponse" part="header_info" 
+                    use="literal"/>
+            </output>
+        </operation>
+        <operation name="inoutHeader">
+            <soap:operation soapAction="" style="document"/>
+            <input name="inoutHeaderRequest">
+                <soap:body parts="me" use="literal"/>
+                <soap:header message="tns:inoutHeaderRequest" part="header_info" 
+                    use="literal"/>
+            </input>
+            <output name="inoutHeaderResponse">
+                <soap:body parts="the_response" use="literal"/>
+                <soap:header message="tns:inoutHeaderResponse" part="header_info" 
+                    use="literal"/>
+            </output>
+        </operation>
+    </binding>
+
+    <service name="HeaderService">
+        <port binding="tns:headerTesterSOAPBinding" name="SoapPort">
+            <soap:address location="http://localhost:9000/headers"/>
+        </port>
+    </service>
+</definitions>

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/soap_header.wsdl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/soap_header.wsdl
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/soap_header.wsdl
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/soapheader_test.wsdl
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/soapheader_test.wsdl?view=auto&rev=494369
==============================================================================
--- incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/soapheader_test.wsdl (added)
+++ incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/soapheader_test.wsdl Tue Jan  9 02:50:47 2007
@@ -0,0 +1,208 @@
+<?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.
+-->
+<wsdl:definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:http-conf="http://schemas.iona.com/transports/http/configuration" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://apache.org/header_test" xmlns:x1="http://apache.org/header_test/types" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://apache.org/header_test" name="TestHeaderWSDL">
+	<wsdl:types>
+		<schema targetNamespace="http://apache.org/header_test/types" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:x1="http://apache.org/header_test/types" elementFormDefault="qualified">
+			<element name="testHeader1">
+				<complexType/>
+			</element>
+			<element name="testHeader1Response">
+				<complexType>
+					<sequence>
+						<element name="responseType" type="string"/>
+					</sequence>
+				</complexType>
+			</element>
+			<element name="testHeader2">
+				<complexType>
+					<sequence>
+						<element name="requestType" type="string"/>
+					</sequence>
+				</complexType>
+			</element>
+			<element name="testHeader2Response">
+				<complexType>
+					<sequence>
+						<element name="responseType" type="string"/>
+					</sequence>
+				</complexType>
+			</element>
+			<element name="testHeader3">
+				<complexType>
+					<sequence>
+						<element name="requestType" nillable="true" type="string"/>
+					</sequence>
+				</complexType>
+			</element>
+			<element name="testHeader3Response">
+				<complexType>
+					<sequence>
+						<element name="responseType" nillable="true" type="string"/>
+					</sequence>
+				</complexType>
+			</element>
+			<element name="testHeader4">
+				<complexType>
+					<sequence>
+						<element name="requestType" type="string"/>
+					</sequence>
+				</complexType>
+			</element>
+			<element name="testHeader4Response">
+				<complexType/>
+			</element>
+			<element name="testHeaderMessage">
+				<complexType>
+					<sequence>
+						<element name="requestType" nillable="true" type="string"/>
+					</sequence>
+				</complexType>
+			</element>
+			<element name="testHeader5">
+				<complexType>
+					<sequence>
+						<element name="requestType" type="string"/>
+					</sequence>
+				</complexType>
+			</element>
+		</schema>
+	</wsdl:types>
+	<wsdl:message name="testHeader1Request">
+		<wsdl:part name="in" element="x1:testHeader1"/>
+		<wsdl:part name="inHeader" element="x1:testHeader1"/>
+	</wsdl:message>
+	<wsdl:message name="testHeader1Response">
+		<wsdl:part name="out" element="x1:testHeader1Response"/>
+	</wsdl:message>
+	<wsdl:message name="testHeader2Request">
+		<wsdl:part name="in" element="x1:testHeader2"/>
+	</wsdl:message>
+	<wsdl:message name="testHeader2Response">
+		<wsdl:part name="out" element="x1:testHeader2Response"/>
+		<wsdl:part name="outHeader" element="x1:testHeader2Response"/>
+	</wsdl:message>
+	<wsdl:message name="testHeader3Request">
+		<wsdl:part name="in" element="x1:testHeader3"/>
+		<wsdl:part name="inoutHeader" element="x1:testHeader3"/>
+	</wsdl:message>
+	<wsdl:message name="testHeader3Response">
+		<wsdl:part name="out" element="x1:testHeader3Response"/>
+		<wsdl:part name="inoutHeader" element="x1:testHeader3"/>
+	</wsdl:message>
+	<wsdl:message name="testHeader4Request">
+		<wsdl:part name="in" element="x1:testHeader4"/>
+	</wsdl:message>
+	<wsdl:message name="testHeader4Response">
+		<wsdl:part name="out" element="x1:testHeader4Response"/>
+	</wsdl:message>
+	<wsdl:message name="testHeader5Request">
+		<wsdl:part name="in" element="x1:testHeader5"/>
+	</wsdl:message>
+	<wsdl:message name="testHeader5Response">
+    	<wsdl:part name="outHeader" element="x1:testHeader5"/>
+	</wsdl:message>
+	<wsdl:message name="testHeaderMessage">
+		<wsdl:part name="inoutHeader" element="x1:testHeaderMessage"/>
+	</wsdl:message>
+	<wsdl:portType name="TestHeader">
+		<wsdl:operation name="testHeader1">
+			<wsdl:input name="testHeader1Request" message="tns:testHeader1Request"/>
+			<wsdl:output name="testHeader1Response" message="tns:testHeader1Response"/>
+		</wsdl:operation>
+		<wsdl:operation name="testHeader2">
+			<wsdl:input name="testHeader2Request" message="tns:testHeader2Request"/>
+			<wsdl:output name="testHeader2Response" message="tns:testHeader2Response"/>
+		</wsdl:operation>
+		<wsdl:operation name="testHeader3">
+			<wsdl:input name="testHeader3Request" message="tns:testHeader3Request"/>
+			<wsdl:output name="testHeader3Response" message="tns:testHeader3Response"/>
+		</wsdl:operation>
+		<wsdl:operation name="testHeader4">
+			<wsdl:input name="testHeader4Request" message="tns:testHeader4Request"/>
+			<wsdl:output name="testHeader4Response" message="tns:testHeader4Response"/>
+		</wsdl:operation>
+		<wsdl:operation name="testHeader5">
+			<wsdl:input name="testHeader5Request" message="tns:testHeader5Request"/>
+			<wsdl:output name="testHeader5Response" message="tns:testHeader5Response"/>
+		</wsdl:operation>
+	</wsdl:portType>
+	<wsdl:binding name="TestHeader_SOAPBinding" type="tns:TestHeader">
+		<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+		<wsdl:operation name="testHeader1">
+			<soap:operation style="document"/>
+			<wsdl:input>
+				<soap:body parts="in" use="literal"/>
+				<soap:header message="tns:testHeader1Request" part="inHeader" use="literal"/>
+			</wsdl:input>
+			<wsdl:output>
+				<soap:body use="literal"/>
+			</wsdl:output>
+		</wsdl:operation>
+		<wsdl:operation name="testHeader2">
+			<soap:operation style="document"/>
+			<wsdl:input>
+				<soap:body use="literal"/>
+			</wsdl:input>
+			<wsdl:output>
+				<soap:body parts="out" use="literal"/>
+				<soap:header message="tns:testHeader2Response" part="outHeader" use="literal"/>
+			</wsdl:output>
+		</wsdl:operation>
+		<wsdl:operation name="testHeader3">
+			<soap:operation style="document"/>
+			<wsdl:input>
+				<soap:body parts="in" use="literal"/>
+				<soap:header message="tns:testHeader3Request" part="inoutHeader" use="literal"/>
+			</wsdl:input>
+			<wsdl:output>
+				<soap:body parts="out" use="literal"/>
+				<soap:header message="tns:testHeader3Response" part="inoutHeader" use="literal"/>
+			</wsdl:output>
+		</wsdl:operation>
+		<wsdl:operation name="testHeader4">
+			<soap:operation style="document"/>
+			<wsdl:input>
+				<soap:body use="literal"/>
+				<soap:header message="tns:testHeaderMessage" part="inoutHeader" use="literal"/>
+			</wsdl:input>
+			<wsdl:output>
+				<soap:body use="literal"/>
+				<soap:header message="tns:testHeaderMessage" part="inoutHeader" use="literal"/>
+			</wsdl:output>
+		</wsdl:operation>
+		<wsdl:operation name="testHeader5">
+			<soap:operation style="document"/>
+			<wsdl:input>
+				<soap:body use="literal"/>
+			</wsdl:input>
+			<wsdl:output>
+				<soap:body parts="" use="literal"/>
+				<soap:header message="tns:testHeader5Response" part="outHeader" use="literal"/>
+			</wsdl:output>
+		</wsdl:operation>
+	</wsdl:binding>
+	<wsdl:service name="SOAPHeaderService">
+		<wsdl:port name="SoapHeaderPort" binding="tns:TestHeader_SOAPBinding">
+			<soap:address location="http://localhost:9100/SoapHeaderContext/SoapHeaderPort"/>
+			<http-conf:client/>
+			<http-conf:server/>
+		</wsdl:port>
+	</wsdl:service>
+</wsdl:definitions>

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/soapheader_test.wsdl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/soapheader_test.wsdl
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/soapheader_test.wsdl
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/ws_address_binding.wsdl
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/ws_address_binding.wsdl?view=auto&rev=494369
==============================================================================
--- incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/ws_address_binding.wsdl (added)
+++ incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/ws_address_binding.wsdl Tue Jan  9 02:50:47 2007
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<!--
+  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.
+-->
+
+<bindings 
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+    xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
+    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+    wsdlLocation="hello_world_addr.wsdl"
+    xmlns="http://java.sun.com/xml/ns/jaxws">    
+  <bindings node="wsdl:definitions" xmlns:jws="http://java.sun.com/xml/ns/javaee">
+    <jws:handler-chains>
+      <jws:handler-chain>
+	<jws:handler>
+	  <jws:handler-class>org.apache.cxf.bus.ws.addressing.MAPAggregator</jws:handler-class>
+	</jws:handler>
+	<jws:handler>
+          <jws:handler-class>org.apache.cxf.bus.ws.addressing.soap.MAPCodec</jws:handler-class>
+	</jws:handler>
+	<jws:handler>
+          <jws:handler-class>demo.ws_addressing.common.HeaderSnooper</jws:handler-class>
+	</jws:handler>
+      </jws:handler-chain>
+    </jws:handler-chains>
+  </bindings>
+</bindings>
+

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/ws_address_binding.wsdl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/ws_address_binding.wsdl
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/tools2/wsdlto/test/src/test/resources/wsdl2java_wsdl/ws_address_binding.wsdl
------------------------------------------------------------------------------
    svn:mime-type = text/xml



Mime
View raw message