cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r559909 [4/7] - in /incubator/cxf/trunk: benchmark/performance/soap_http_doc_lit/bin/ common/common/src/main/java/org/apache/cxf/configuration/spring/ common/common/src/main/java/org/apache/cxf/helpers/ rt/databinding/aegis/src/test/java/or...
Date Thu, 26 Jul 2007 17:57:59 GMT
Modified: incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/CustomizationParserTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/CustomizationParserTest.java?view=diff&rev=559909&r1=559908&r2=559909
==============================================================================
--- incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/CustomizationParserTest.java (original)
+++ incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/CustomizationParserTest.java Thu Jul 26 10:57:46 2007
@@ -1,159 +1,159 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.cxf.tools.wsdlto.frontend.jaxws.customiztion;
-
-import java.io.File;
-import java.io.FileOutputStream;
-
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-
-import org.apache.cxf.helpers.XMLUtils;
-import org.apache.cxf.tools.common.ProcessorTestBase;
-import org.junit.Test;
-
-public class CustomizationParserTest extends ProcessorTestBase {
-    CustomizationParser parser = new CustomizationParser();
-    CustomNodeSelector selector = new CustomNodeSelector();
-
-    @Test
-    public void testHasJaxbBindingDeclaration() throws Exception {
-        Element doc = getDocumentElement("resources/embeded_jaxb.xjb");
-
-        Node jaxwsBindingNode = selector.queryNode(doc, "//jaxws:bindings[@node]");
-
-        assertNotNull(jaxwsBindingNode);
-
-        assertTrue(parser.hasJaxbBindingDeclaration(jaxwsBindingNode));
-
-        doc = getDocumentElement("resources/external_jaxws.xml");
-        jaxwsBindingNode = selector.queryNode(doc, "//jaxws:bindings[@node]");
-        assertNotNull(jaxwsBindingNode);
-        assertFalse(parser.hasJaxbBindingDeclaration(jaxwsBindingNode));
-    }
-
-    @Test
-    public void testCopyAllJaxbDeclarations() throws Exception {
-        Element schema = getDocumentElement("resources/test.xsd");
-        Element binding = getDocumentElement("resources/embeded_jaxb.xjb");
-
-        String checkingPoint = "//xsd:annotation/xsd:appinfo/jaxb:schemaBindings/jaxb:package[@name]";
-        assertNull(selector.queryNode(schema, checkingPoint));
-
-        Node jaxwsBindingNode = selector.queryNode(binding, "//jaxws:bindings[@node]");
-        Node schemaNode = selector.queryNode(schema, "//xsd:schema");
-
-        parser.copyAllJaxbDeclarations(schemaNode, (Element)jaxwsBindingNode);
-
-        File file = new File(output, "custom_test.xsd");
-        XMLUtils.writeTo(schemaNode, new FileOutputStream(file));
-        Document testNode = XMLUtils.parse(file);
-
-        Node result = selector.queryNode(testNode, checkingPoint);
-        assertNotNull(result);
-    }
-
-    @Test
-    public void testInternalizeBinding1() throws Exception {
-        Element wsdlDoc = getDocumentElement("resources/test.wsdl");
-        Element jaxwsBinding = getDocumentElement("resources/external_jaxws.xml");
-
-        parser.setWSDLNode(wsdlDoc);
-        parser.internalizeBinding(jaxwsBinding, "");
-
-        File file = new File(output, "custom_test.wsdl");
-        XMLUtils.writeTo(wsdlDoc, new FileOutputStream(file));
-        Document testNode = XMLUtils.parse(file);
-
-        String[] checkingPoints =
-            new String[]{"wsdl:definitions/wsdl:portType/jaxws:bindings/jaxws:class",
-                         "wsdl:definitions/jaxws:bindings/jaxws:package"};
-        checking(testNode, checkingPoints);
-    }
-
-    @Test
-    public void testInternalizeBinding2() throws Exception {
-        Element wsdlDoc = getDocumentElement("resources/test.wsdl");
-        Element jaxwsBinding = getDocumentElement("resources/external_jaxws_embed_jaxb.xml");
-
-        parser.setWSDLNode(wsdlDoc);
-        parser.internalizeBinding(jaxwsBinding, "");
-
-        String base = "wsdl:definitions/wsdl:types/xsd:schema/xsd:annotation/xsd:appinfo/";
-        String[] checkingPoints =
-            new String[]{base + "jaxb:schemaBindings/jaxb:package"};
-
-        File file = new File(output, "custom_test.wsdl");
-        XMLUtils.writeTo(wsdlDoc, new FileOutputStream(file));
-        Document testNode = XMLUtils.parse(file);
-
-        checking(testNode, checkingPoints);
-    }
-
-    @Test
-    public void testInternalizeBinding3() throws Exception {
-        Element wsdlDoc = getDocumentElement("resources/test.wsdl");
-        Element jaxwsBinding = getDocumentElement("resources/external_jaxws_embed_jaxb_date.xml");
-        parser.setWSDLNode(wsdlDoc);
-        parser.internalizeBinding(jaxwsBinding, "");
-
-        String base = "wsdl:definitions/wsdl:types/xsd:schema/xsd:annotation/xsd:appinfo/";
-        String[] checkingPoints =
-            new String[]{base + "jaxb:globalBindings/jaxb:javaType"};
-
-        File file = new File(output, "custom_test.wsdl");
-        XMLUtils.writeTo(wsdlDoc, new FileOutputStream(file));
-        Document testNode = XMLUtils.parse(file);
-
-        checking(testNode, checkingPoints);
-    }
-
-    @Test
-    public void testInternalizeBinding4() throws Exception {
-        Element wsdlDoc = getDocumentElement("resources/hello_world.wsdl");
-        Element jaxwsBinding = getDocumentElement("resources/binding2.xml");
-        parser.setWSDLNode(wsdlDoc);
-        parser.internalizeBinding(jaxwsBinding, "");
-
-        String checkingPoint = "wsdl:definitions/wsdl:types/xsd:schema";
-        checkingPoint += "/xsd:element[@name='CreateProcess']/xsd:complexType/xsd:sequence";
-        checkingPoint += "/xsd:element[@name='MyProcess']/xsd:simpleType/xsd:annotation/xsd:appinfo";
-        checkingPoint += "/jaxb:typesafeEnumClass/jaxb:typesafeEnumMember[@name='BLUE']";
-
-        String[] checkingPoints =
-            new String[]{checkingPoint};
-
-        File file = new File(output, "custom_test4.wsdl");
-        XMLUtils.writeTo(wsdlDoc, new FileOutputStream(file));
-        Document testNode = XMLUtils.parse(file);
-
-        checking(testNode, checkingPoints);
-    }
-
-    private Element getDocumentElement(final String resource) throws Exception {
-        return XMLUtils.parse(getClass().getResourceAsStream(resource)).getDocumentElement();
-    }
-
-    private void checking(Node node, String[] checkingPoints) {
-        for (String checkingPoint : checkingPoints) {
-            assertNotNull(selector.queryNode(node, checkingPoint));
-        }
-    }
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.cxf.tools.wsdlto.frontend.jaxws.customiztion;
+
+import java.io.File;
+import java.io.FileOutputStream;
+
+import org.w3c.dom.Document;
+import org.w3c.dom.Element;
+import org.w3c.dom.Node;
+
+import org.apache.cxf.helpers.XMLUtils;
+import org.apache.cxf.tools.common.ProcessorTestBase;
+import org.junit.Test;
+
+public class CustomizationParserTest extends ProcessorTestBase {
+    CustomizationParser parser = new CustomizationParser();
+    CustomNodeSelector selector = new CustomNodeSelector();
+
+    @Test
+    public void testHasJaxbBindingDeclaration() throws Exception {
+        Element doc = getDocumentElement("resources/embeded_jaxb.xjb");
+
+        Node jaxwsBindingNode = selector.queryNode(doc, "//jaxws:bindings[@node]");
+
+        assertNotNull(jaxwsBindingNode);
+
+        assertTrue(parser.hasJaxbBindingDeclaration(jaxwsBindingNode));
+
+        doc = getDocumentElement("resources/external_jaxws.xml");
+        jaxwsBindingNode = selector.queryNode(doc, "//jaxws:bindings[@node]");
+        assertNotNull(jaxwsBindingNode);
+        assertFalse(parser.hasJaxbBindingDeclaration(jaxwsBindingNode));
+    }
+
+    @Test
+    public void testCopyAllJaxbDeclarations() throws Exception {
+        Element schema = getDocumentElement("resources/test.xsd");
+        Element binding = getDocumentElement("resources/embeded_jaxb.xjb");
+
+        String checkingPoint = "//xsd:annotation/xsd:appinfo/jaxb:schemaBindings/jaxb:package[@name]";
+        assertNull(selector.queryNode(schema, checkingPoint));
+
+        Node jaxwsBindingNode = selector.queryNode(binding, "//jaxws:bindings[@node]");
+        Node schemaNode = selector.queryNode(schema, "//xsd:schema");
+
+        parser.copyAllJaxbDeclarations(schemaNode, (Element)jaxwsBindingNode);
+
+        File file = new File(output, "custom_test.xsd");
+        XMLUtils.writeTo(schemaNode, new FileOutputStream(file));
+        Document testNode = XMLUtils.parse(file);
+
+        Node result = selector.queryNode(testNode, checkingPoint);
+        assertNotNull(result);
+    }
+
+    @Test
+    public void testInternalizeBinding1() throws Exception {
+        Element wsdlDoc = getDocumentElement("resources/test.wsdl");
+        Element jaxwsBinding = getDocumentElement("resources/external_jaxws.xml");
+
+        parser.setWSDLNode(wsdlDoc);
+        parser.internalizeBinding(jaxwsBinding, "");
+
+        File file = new File(output, "custom_test.wsdl");
+        XMLUtils.writeTo(wsdlDoc, new FileOutputStream(file));
+        Document testNode = XMLUtils.parse(file);
+
+        String[] checkingPoints =
+            new String[]{"wsdl:definitions/wsdl:portType/jaxws:bindings/jaxws:class",
+                         "wsdl:definitions/jaxws:bindings/jaxws:package"};
+        checking(testNode, checkingPoints);
+    }
+
+    @Test
+    public void testInternalizeBinding2() throws Exception {
+        Element wsdlDoc = getDocumentElement("resources/test.wsdl");
+        Element jaxwsBinding = getDocumentElement("resources/external_jaxws_embed_jaxb.xml");
+
+        parser.setWSDLNode(wsdlDoc);
+        parser.internalizeBinding(jaxwsBinding, "");
+
+        String base = "wsdl:definitions/wsdl:types/xsd:schema/xsd:annotation/xsd:appinfo/";
+        String[] checkingPoints =
+            new String[]{base + "jaxb:schemaBindings/jaxb:package"};
+
+        File file = new File(output, "custom_test.wsdl");
+        XMLUtils.writeTo(wsdlDoc, new FileOutputStream(file));
+        Document testNode = XMLUtils.parse(file);
+
+        checking(testNode, checkingPoints);
+    }
+
+    @Test
+    public void testInternalizeBinding3() throws Exception {
+        Element wsdlDoc = getDocumentElement("resources/test.wsdl");
+        Element jaxwsBinding = getDocumentElement("resources/external_jaxws_embed_jaxb_date.xml");
+        parser.setWSDLNode(wsdlDoc);
+        parser.internalizeBinding(jaxwsBinding, "");
+
+        String base = "wsdl:definitions/wsdl:types/xsd:schema/xsd:annotation/xsd:appinfo/";
+        String[] checkingPoints =
+            new String[]{base + "jaxb:globalBindings/jaxb:javaType"};
+
+        File file = new File(output, "custom_test.wsdl");
+        XMLUtils.writeTo(wsdlDoc, new FileOutputStream(file));
+        Document testNode = XMLUtils.parse(file);
+
+        checking(testNode, checkingPoints);
+    }
+
+    @Test
+    public void testInternalizeBinding4() throws Exception {
+        Element wsdlDoc = getDocumentElement("resources/hello_world.wsdl");
+        Element jaxwsBinding = getDocumentElement("resources/binding2.xml");
+        parser.setWSDLNode(wsdlDoc);
+        parser.internalizeBinding(jaxwsBinding, "");
+
+        String checkingPoint = "wsdl:definitions/wsdl:types/xsd:schema";
+        checkingPoint += "/xsd:element[@name='CreateProcess']/xsd:complexType/xsd:sequence";
+        checkingPoint += "/xsd:element[@name='MyProcess']/xsd:simpleType/xsd:annotation/xsd:appinfo";
+        checkingPoint += "/jaxb:typesafeEnumClass/jaxb:typesafeEnumMember[@name='BLUE']";
+
+        String[] checkingPoints =
+            new String[]{checkingPoint};
+
+        File file = new File(output, "custom_test4.wsdl");
+        XMLUtils.writeTo(wsdlDoc, new FileOutputStream(file));
+        Document testNode = XMLUtils.parse(file);
+
+        checking(testNode, checkingPoints);
+    }
+
+    private Element getDocumentElement(final String resource) throws Exception {
+        return XMLUtils.parse(getClass().getResourceAsStream(resource)).getDocumentElement();
+    }
+
+    private void checking(Node node, String[] checkingPoints) {
+        for (String checkingPoint : checkingPoints) {
+            assertNotNull(selector.queryNode(node, checkingPoint));
+        }
+    }
 }

Propchange: incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/CustomizationParserTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/CustomizationParserTest.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/expected/inline_jaxws.wsdl
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/expected/inline_jaxws.wsdl?view=diff&rev=559909&r1=559908&r2=559909
==============================================================================
--- incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/expected/inline_jaxws.wsdl (original)
+++ incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/expected/inline_jaxws.wsdl Thu Jul 26 10:57:46 2007
@@ -1,117 +1,117 @@
-<?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:jaxws="http:
-//java.sun.com/xml/ns/jaxws" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
-xmlns:tns="http://apache.org/hello_world_soap_http" xmlns:wsdl="http://schemas.x
-mlsoap.org/wsdl/" xmlns:x1="http://apache.org/hello_world_soap_http/types"
-xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="HelloWorld" targetNamespace="http:
-//apache.org/hello_world_soap_http">
-  <wsdl:types>
-    <xsd:schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://apach
-e.org/hello_world_soap_http/types" elementFormDefault="qualified" version="1.0">
-
-      <element name="sayHi">
-        <complexType/>
-      </element>
-      <element name="sayHiResponse">
-        <complexType>
-          <sequence>
-            <element name="responseType" type="string"/>
-          </sequence>
-        </complexType>
-      </element>
-      <element name="greetMe">
-        <complexType>
-          <sequence>
-            <element name="requestType" type="dateTime"/>
-          </sequence>
-        </complexType>
-      </element>
-      <element name="greetMeResponse">
-        <complexType>
-          <sequence>
-            <element name="responseType" type="string"/>
-          </sequence>
-        </complexType>
-      </element>
-    </xsd:schema>
-  </wsdl:types>
-  <wsdl:message name="sayHiRequest">
-    <wsdl:part element="x1:sayHi" name="in"/>
-  </wsdl:message>
-  <wsdl:message name="sayHiResponse">
-    <wsdl:part element="x1:sayHiResponse" name="out"/>
-  </wsdl:message>
-  <wsdl:message name="greetMeRequest">
-    <wsdl:part element="x1:greetMe" name="in"/>
-  </wsdl:message>
-  <wsdl:message name="greetMeResponse">
-    <wsdl:part element="x1:greetMeResponse" name="out"/>
-  </wsdl:message>
-
-  <wsdl:portType name="Greeter">
-    <wsdl:operation name="sayHi">
-      <wsdl:input message="tns:sayHiRequest" name="sayHiRequest"/>
-      <wsdl:output message="tns:sayHiResponse" name="sayHiResponse"/>
-    </wsdl:operation>
-
-    <wsdl:operation name="greetMe">
-      <wsdl:input message="tns:greetMeRequest" name="greetMeRequest"/>
-      <wsdl:output message="tns:greetMeResponse" name="greetMeResponse"/>
-    </wsdl:operation>
-  <jaxws:bindings>
-        <!-- change the generated SEI class -->
-        <jaxws:class name="MathUtil"/>
-
-        <!-- you can also override the following customization settings -->
-        <jaxws:enableWrapperStyle>true</jaxws:enableWrapperStyle>
-        <jaxws:enableAsyncMapping>false</jaxws:enableAsyncMapping>
-    </jaxws:bindings></wsdl:portType>
-
-  <wsdl:binding name="Greeter_SOAPBinding" type="tns:Greeter">
-    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/ht
-tp"/>
-
-    <wsdl:operation name="sayHi">
-      <soap:operation soapAction="" style="document"/>
-      <wsdl:input name="sayHiRequest">
-        <soap:body use="literal"/>
-      </wsdl:input>
-      <wsdl:output name="sayHiResponse">
-        <soap:body use="literal"/>
-      </wsdl:output>
-    </wsdl:operation>
-
-    <wsdl:operation name="greetMe">
-      <soap:operation soapAction="" style="document"/>
-      <wsdl:input name="greetMeRequest">
-        <soap:body use="literal"/>
-      </wsdl:input>
-      <wsdl:output name="greetMeResponse">
-        <soap:body use="literal"/>
-      </wsdl:output>
-    </wsdl:operation>
-  </wsdl:binding>
-  <wsdl:service name="SOAPService">
-    <wsdl:port binding="tns:Greeter_SOAPBinding" name="SoapPort">
-      <soap:address location="http://localhost:9000/SoapContext/SoapPort"/>
-    </wsdl:port>
-  </wsdl:service>
+<?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:jaxws="http:
+//java.sun.com/xml/ns/jaxws" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+xmlns:tns="http://apache.org/hello_world_soap_http" xmlns:wsdl="http://schemas.x
+mlsoap.org/wsdl/" xmlns:x1="http://apache.org/hello_world_soap_http/types"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="HelloWorld" targetNamespace="http:
+//apache.org/hello_world_soap_http">
+  <wsdl:types>
+    <xsd:schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://apach
+e.org/hello_world_soap_http/types" elementFormDefault="qualified" version="1.0">
+
+      <element name="sayHi">
+        <complexType/>
+      </element>
+      <element name="sayHiResponse">
+        <complexType>
+          <sequence>
+            <element name="responseType" type="string"/>
+          </sequence>
+        </complexType>
+      </element>
+      <element name="greetMe">
+        <complexType>
+          <sequence>
+            <element name="requestType" type="dateTime"/>
+          </sequence>
+        </complexType>
+      </element>
+      <element name="greetMeResponse">
+        <complexType>
+          <sequence>
+            <element name="responseType" type="string"/>
+          </sequence>
+        </complexType>
+      </element>
+    </xsd:schema>
+  </wsdl:types>
+  <wsdl:message name="sayHiRequest">
+    <wsdl:part element="x1:sayHi" name="in"/>
+  </wsdl:message>
+  <wsdl:message name="sayHiResponse">
+    <wsdl:part element="x1:sayHiResponse" name="out"/>
+  </wsdl:message>
+  <wsdl:message name="greetMeRequest">
+    <wsdl:part element="x1:greetMe" name="in"/>
+  </wsdl:message>
+  <wsdl:message name="greetMeResponse">
+    <wsdl:part element="x1:greetMeResponse" name="out"/>
+  </wsdl:message>
+
+  <wsdl:portType name="Greeter">
+    <wsdl:operation name="sayHi">
+      <wsdl:input message="tns:sayHiRequest" name="sayHiRequest"/>
+      <wsdl:output message="tns:sayHiResponse" name="sayHiResponse"/>
+    </wsdl:operation>
+
+    <wsdl:operation name="greetMe">
+      <wsdl:input message="tns:greetMeRequest" name="greetMeRequest"/>
+      <wsdl:output message="tns:greetMeResponse" name="greetMeResponse"/>
+    </wsdl:operation>
+  <jaxws:bindings>
+        <!-- change the generated SEI class -->
+        <jaxws:class name="MathUtil"/>
+
+        <!-- you can also override the following customization settings -->
+        <jaxws:enableWrapperStyle>true</jaxws:enableWrapperStyle>
+        <jaxws:enableAsyncMapping>false</jaxws:enableAsyncMapping>
+    </jaxws:bindings></wsdl:portType>
+
+  <wsdl:binding name="Greeter_SOAPBinding" type="tns:Greeter">
+    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/ht
+tp"/>
+
+    <wsdl:operation name="sayHi">
+      <soap:operation soapAction="" style="document"/>
+      <wsdl:input name="sayHiRequest">
+        <soap:body use="literal"/>
+      </wsdl:input>
+      <wsdl:output name="sayHiResponse">
+        <soap:body use="literal"/>
+      </wsdl:output>
+    </wsdl:operation>
+
+    <wsdl:operation name="greetMe">
+      <soap:operation soapAction="" style="document"/>
+      <wsdl:input name="greetMeRequest">
+        <soap:body use="literal"/>
+      </wsdl:input>
+      <wsdl:output name="greetMeResponse">
+        <soap:body use="literal"/>
+      </wsdl:output>
+    </wsdl:operation>
+  </wsdl:binding>
+  <wsdl:service name="SOAPService">
+    <wsdl:port binding="tns:Greeter_SOAPBinding" name="SoapPort">
+      <soap:address location="http://localhost:9000/SoapContext/SoapPort"/>
+    </wsdl:port>
+  </wsdl:service>
 <jaxws:bindings><jaxws:package name="external_customize.client"/><jaxws:enableWrapperStyle>true</jaxws:enableWrapperStyle><jaxws:enableAsyncMapping>false</jaxws:enableAsyncMapping></jaxws:bindings></wsdl:definitions>

Propchange: incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/expected/inline_jaxws.wsdl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/expected/inline_jaxws.wsdl
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/expected/inline_jaxws.wsdl
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/resources/embeded_jaxb.xjb
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/resources/embeded_jaxb.xjb?view=diff&rev=559909&r1=559908&r2=559909
==============================================================================
--- incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/resources/embeded_jaxb.xjb (original)
+++ incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/resources/embeded_jaxb.xjb Thu Jul 26 10:57:46 2007
@@ -1,31 +1,31 @@
-<!--
-  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.
--->
-<jaxws:bindings
-    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
-    xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
-    wsdlLocation="http://localhost:8080/jaxws-inline-customize/addnumbers?wsdl"
-    xmlns:jaxws="http://java.sun.com/xml/ns/jaxws">
-    <package name="inline_customize.client"/>
-    <jaxws:bindings node="wsdl:definitions/wsdl:types/xsd:schema[@targetNamespace='http://duke.org']">
-        <jaxb:schemaBindings>
-            <jaxb:package name="inline_customize.client"/>
-        </jaxb:schemaBindings>
-    </jaxws:bindings>
+<!--
+  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.
+-->
+<jaxws:bindings
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+    xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
+    wsdlLocation="http://localhost:8080/jaxws-inline-customize/addnumbers?wsdl"
+    xmlns:jaxws="http://java.sun.com/xml/ns/jaxws">
+    <package name="inline_customize.client"/>
+    <jaxws:bindings node="wsdl:definitions/wsdl:types/xsd:schema[@targetNamespace='http://duke.org']">
+        <jaxb:schemaBindings>
+            <jaxb:package name="inline_customize.client"/>
+        </jaxb:schemaBindings>
+    </jaxws:bindings>
 </jaxws:bindings>

Propchange: incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/resources/embeded_jaxb.xjb
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/resources/embeded_jaxb.xjb
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/resources/embeded_jaxb.xjb
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/resources/external_jaxws.xml
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/resources/external_jaxws.xml?view=diff&rev=559909&r1=559908&r2=559909
==============================================================================
--- incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/resources/external_jaxws.xml (original)
+++ incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/resources/external_jaxws.xml Thu Jul 26 10:57:46 2007
@@ -1,37 +1,37 @@
-<!--
-  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.
--->
-<jaxws:bindings
-    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
-    wsdlLocation="test.wsdl"
-    xmlns="http://java.sun.com/xml/ns/jaxws"
-    xmlns:jaxws="http://java.sun.com/xml/ns/jaxws">
-    <package name="external_customize.client"/>
-    <!-- default settings -->
-    <enableWrapperStyle>true</enableWrapperStyle>
-    <enableAsyncMapping>false</enableAsyncMapping>
-    <jaxws:bindings node="wsdl:definitions/wsdl:portType[@name='Greeter']">
-        <!-- change the generated SEI class -->
-        <class name="MathUtil"/>
-
-        <!-- you can also override the following customization settings -->
-        <enableWrapperStyle>true</enableWrapperStyle>
-        <enableAsyncMapping>false</enableAsyncMapping>
-    </jaxws:bindings>
+<!--
+  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.
+-->
+<jaxws:bindings
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+    wsdlLocation="test.wsdl"
+    xmlns="http://java.sun.com/xml/ns/jaxws"
+    xmlns:jaxws="http://java.sun.com/xml/ns/jaxws">
+    <package name="external_customize.client"/>
+    <!-- default settings -->
+    <enableWrapperStyle>true</enableWrapperStyle>
+    <enableAsyncMapping>false</enableAsyncMapping>
+    <jaxws:bindings node="wsdl:definitions/wsdl:portType[@name='Greeter']">
+        <!-- change the generated SEI class -->
+        <class name="MathUtil"/>
+
+        <!-- you can also override the following customization settings -->
+        <enableWrapperStyle>true</enableWrapperStyle>
+        <enableAsyncMapping>false</enableAsyncMapping>
+    </jaxws:bindings>
 </jaxws:bindings>

Propchange: incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/resources/external_jaxws.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/resources/external_jaxws.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/resources/external_jaxws.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/resources/external_jaxws_embed_jaxb.xml
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/resources/external_jaxws_embed_jaxb.xml?view=diff&rev=559909&r1=559908&r2=559909
==============================================================================
--- incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/resources/external_jaxws_embed_jaxb.xml (original)
+++ incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/resources/external_jaxws_embed_jaxb.xml Thu Jul 26 10:57:46 2007
@@ -1,13 +1,13 @@
-<jaxws:bindings
-    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
-    xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
-    wsdlLocation="test.wsdl"
-    xmlns:jaxws="http://java.sun.com/xml/ns/jaxws">
-  <package name="inline_customize.client"/>
-  <jaxws:bindings node="wsdl:definitions/wsdl:types/xsd:schema[@targetNamespace='http://apache.org/hello_world_soap_http/types']">
-    <jaxb:schemaBindings>
-      <jaxb:package name="inline_customize.client"/>
-    </jaxb:schemaBindings>
-  </jaxws:bindings>
+<jaxws:bindings
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+    xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
+    wsdlLocation="test.wsdl"
+    xmlns:jaxws="http://java.sun.com/xml/ns/jaxws">
+  <package name="inline_customize.client"/>
+  <jaxws:bindings node="wsdl:definitions/wsdl:types/xsd:schema[@targetNamespace='http://apache.org/hello_world_soap_http/types']">
+    <jaxb:schemaBindings>
+      <jaxb:package name="inline_customize.client"/>
+    </jaxb:schemaBindings>
+  </jaxws:bindings>
 </jaxws:bindings>

Propchange: incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/resources/external_jaxws_embed_jaxb.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/resources/external_jaxws_embed_jaxb.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/resources/external_jaxws_embed_jaxb.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/resources/external_jaxws_embed_jaxb_date.xml
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/resources/external_jaxws_embed_jaxb_date.xml?view=diff&rev=559909&r1=559908&r2=559909
==============================================================================
--- incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/resources/external_jaxws_embed_jaxb_date.xml (original)
+++ incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/resources/external_jaxws_embed_jaxb_date.xml Thu Jul 26 10:57:46 2007
@@ -1,13 +1,13 @@
-<jaxws:bindings wsdlLocation="test.wsdl"
-          xmlns:jaxws="http://java.sun.com/xml/ns/jaxws"
-          xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-          xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
-          xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
-  <jaxws:bindings  node="wsdl:definitions/wsdl:types/xsd:schema[@targetNamespace='http://apache.org/hello_world_soap_http/types']">
-      <jaxb:globalBindings>
-        <jaxb:javaType name="java.util.Date" xmlType="xs:dateTime"
-                      parseMethod="org.apache.cxf.tools.common.DataTypeAdapter.parseDateTime"
-                      printMethod="org.apache.cxf.tools.common.DataTypeAdapter.printDateTime"/>
-      </jaxb:globalBindings>
-  </jaxws:bindings>
+<jaxws:bindings wsdlLocation="test.wsdl"
+          xmlns:jaxws="http://java.sun.com/xml/ns/jaxws"
+          xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+          xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
+          xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
+  <jaxws:bindings  node="wsdl:definitions/wsdl:types/xsd:schema[@targetNamespace='http://apache.org/hello_world_soap_http/types']">
+      <jaxb:globalBindings>
+        <jaxb:javaType name="java.util.Date" xmlType="xs:dateTime"
+                      parseMethod="org.apache.cxf.tools.common.DataTypeAdapter.parseDateTime"
+                      printMethod="org.apache.cxf.tools.common.DataTypeAdapter.printDateTime"/>
+      </jaxb:globalBindings>
+  </jaxws:bindings>
 </jaxws:bindings>

Propchange: incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/resources/external_jaxws_embed_jaxb_date.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/resources/external_jaxws_embed_jaxb_date.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/resources/external_jaxws_embed_jaxb_date.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/resources/test.wsdl
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/resources/test.wsdl?view=diff&rev=559909&r1=559908&r2=559909
==============================================================================
--- incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/resources/test.wsdl (original)
+++ incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/resources/test.wsdl Thu Jul 26 10:57:46 2007
@@ -1,112 +1,112 @@
-<!--
-  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="HelloWorld" targetNamespace="http://apache.org/hello_world_soap_http"
-                  xmlns="http://schemas.xmlsoap.org/wsdl/"
-                  xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
-                  xmlns:tns="http://apache.org/hello_world_soap_http"
-                  xmlns:x1="http://apache.org/hello_world_soap_http/types"
-                  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
-                  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-  <wsdl:types>
-    <xsd:schema version="1.0"
-                targetNamespace="http://apache.org/hello_world_soap_http/types"
-                xmlns:tns="http://apache.org/hello_world_soap_http/types"
-                xmlns="http://www.w3.org/2001/XMLSchema"
-                xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-                elementFormDefault="qualified">
-      <element name="sayHi">
-        <complexType/>
-      </element>
-      <element name="sayHiResponse">
-        <complexType>
-          <sequence>
-            <element name="responseType" type="string"/>
-          </sequence>
-        </complexType>
-      </element>
-      <element name="greetMe">
-        <complexType>
-          <sequence>
-            <element name="requestType" type="dateTime"/>
-          </sequence>
-        </complexType>
-      </element>
-      <element name="greetMeResponse">
-        <complexType>
-          <sequence>
-            <element name="responseType" type="string"/>
-          </sequence>
-        </complexType>
-      </element>
-    </xsd:schema>
-  </wsdl:types>
-  <wsdl:message name="sayHiRequest">
-    <wsdl:part element="x1:sayHi" name="in"/>
-  </wsdl:message>
-  <wsdl:message name="sayHiResponse">
-    <wsdl:part element="x1:sayHiResponse" name="out"/>
-  </wsdl:message>
-  <wsdl:message name="greetMeRequest">
-    <wsdl:part element="x1:greetMe" name="in"/>
-  </wsdl:message>
-  <wsdl:message name="greetMeResponse">
-    <wsdl:part element="x1:greetMeResponse" name="out"/>
-  </wsdl:message>
-
-  <wsdl:portType name="Greeter">
-    <wsdl:operation name="sayHi">
-      <wsdl:input message="tns:sayHiRequest" name="sayHiRequest"/>
-      <wsdl:output message="tns:sayHiResponse" name="sayHiResponse"/>
-    </wsdl:operation>
-
-    <wsdl:operation name="greetMe">
-      <wsdl:input message="tns:greetMeRequest" name="greetMeRequest"/>
-      <wsdl:output message="tns:greetMeResponse" name="greetMeResponse"/>
-    </wsdl:operation>
-  </wsdl:portType>
-
-  <wsdl:binding name="Greeter_SOAPBinding" type="tns:Greeter">
-    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
-
-    <wsdl:operation name="sayHi">
-      <soap:operation soapAction="" style="document"/>
-      <wsdl:input name="sayHiRequest">
-        <soap:body use="literal"/>
-      </wsdl:input>
-      <wsdl:output name="sayHiResponse">
-        <soap:body use="literal"/>
-      </wsdl:output>
-    </wsdl:operation>
-
-    <wsdl:operation name="greetMe">
-      <soap:operation soapAction="" style="document"/>
-      <wsdl:input name="greetMeRequest">
-        <soap:body use="literal"/>
-      </wsdl:input>
-      <wsdl:output name="greetMeResponse">
-        <soap:body use="literal"/>
-      </wsdl:output>
-    </wsdl:operation>
-  </wsdl:binding>
-  <wsdl:service name="SOAPService">
-    <wsdl:port binding="tns:Greeter_SOAPBinding" name="SoapPort">
-      <soap:address location="http://localhost:9000/SoapContext/SoapPort"/>
-    </wsdl:port>
-  </wsdl:service>
+<!--
+  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="HelloWorld" targetNamespace="http://apache.org/hello_world_soap_http"
+                  xmlns="http://schemas.xmlsoap.org/wsdl/"
+                  xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+                  xmlns:tns="http://apache.org/hello_world_soap_http"
+                  xmlns:x1="http://apache.org/hello_world_soap_http/types"
+                  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+                  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+  <wsdl:types>
+    <xsd:schema version="1.0"
+                targetNamespace="http://apache.org/hello_world_soap_http/types"
+                xmlns:tns="http://apache.org/hello_world_soap_http/types"
+                xmlns="http://www.w3.org/2001/XMLSchema"
+                xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+                elementFormDefault="qualified">
+      <element name="sayHi">
+        <complexType/>
+      </element>
+      <element name="sayHiResponse">
+        <complexType>
+          <sequence>
+            <element name="responseType" type="string"/>
+          </sequence>
+        </complexType>
+      </element>
+      <element name="greetMe">
+        <complexType>
+          <sequence>
+            <element name="requestType" type="dateTime"/>
+          </sequence>
+        </complexType>
+      </element>
+      <element name="greetMeResponse">
+        <complexType>
+          <sequence>
+            <element name="responseType" type="string"/>
+          </sequence>
+        </complexType>
+      </element>
+    </xsd:schema>
+  </wsdl:types>
+  <wsdl:message name="sayHiRequest">
+    <wsdl:part element="x1:sayHi" name="in"/>
+  </wsdl:message>
+  <wsdl:message name="sayHiResponse">
+    <wsdl:part element="x1:sayHiResponse" name="out"/>
+  </wsdl:message>
+  <wsdl:message name="greetMeRequest">
+    <wsdl:part element="x1:greetMe" name="in"/>
+  </wsdl:message>
+  <wsdl:message name="greetMeResponse">
+    <wsdl:part element="x1:greetMeResponse" name="out"/>
+  </wsdl:message>
+
+  <wsdl:portType name="Greeter">
+    <wsdl:operation name="sayHi">
+      <wsdl:input message="tns:sayHiRequest" name="sayHiRequest"/>
+      <wsdl:output message="tns:sayHiResponse" name="sayHiResponse"/>
+    </wsdl:operation>
+
+    <wsdl:operation name="greetMe">
+      <wsdl:input message="tns:greetMeRequest" name="greetMeRequest"/>
+      <wsdl:output message="tns:greetMeResponse" name="greetMeResponse"/>
+    </wsdl:operation>
+  </wsdl:portType>
+
+  <wsdl:binding name="Greeter_SOAPBinding" type="tns:Greeter">
+    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+
+    <wsdl:operation name="sayHi">
+      <soap:operation soapAction="" style="document"/>
+      <wsdl:input name="sayHiRequest">
+        <soap:body use="literal"/>
+      </wsdl:input>
+      <wsdl:output name="sayHiResponse">
+        <soap:body use="literal"/>
+      </wsdl:output>
+    </wsdl:operation>
+
+    <wsdl:operation name="greetMe">
+      <soap:operation soapAction="" style="document"/>
+      <wsdl:input name="greetMeRequest">
+        <soap:body use="literal"/>
+      </wsdl:input>
+      <wsdl:output name="greetMeResponse">
+        <soap:body use="literal"/>
+      </wsdl:output>
+    </wsdl:operation>
+  </wsdl:binding>
+  <wsdl:service name="SOAPService">
+    <wsdl:port binding="tns:Greeter_SOAPBinding" name="SoapPort">
+      <soap:address location="http://localhost:9000/SoapContext/SoapPort"/>
+    </wsdl:port>
+  </wsdl:service>
 </wsdl:definitions>

Propchange: incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/resources/test.wsdl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/resources/test.wsdl
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/resources/test.wsdl
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/resources/test.xsd
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/resources/test.xsd?view=diff&rev=559909&r1=559908&r2=559909
==============================================================================
--- incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/resources/test.xsd (original)
+++ incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/resources/test.xsd Thu Jul 26 10:57:46 2007
@@ -1,50 +1,50 @@
-<?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.
--->
-<xsd:schema version="1.0"
-            targetNamespace="http://apache.org/hello_world_soap_http/types"
-            xmlns:tns="http://apache.org/hello_world_soap_http/types"
-            xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-            xmlns="http://www.w3.org/2001/XMLSchema"
-            elementFormDefault="qualified">
-  <xsd:element name="sayHi">
-    <complexType/>
-  </xsd:element>
-  <xsd:element name="sayHiResponse">
-    <xsd:complexType>
-      <xsd:sequence>
-        <xsd:element name="responseType" type="string"/>
-      </xsd:sequence>
-    </xsd:complexType>
-  </xsd:element>
-  <xsd:element name="greetMe">
-    <xsd:complexType>
-      <xsd:sequence>
-        <xsd:element name="requestType" type="dateTime"/>
-      </xsd:sequence>
-    </xsd:complexType>
-  </xsd:element>
-  <xsd:element name="greetMeResponse">
-    <xsd:complexType>
-      <xsd:sequence>
-        <xsd:element name="responseType" type="string"/>
-      </xsd:sequence>
-    </xsd:complexType>
-  </xsd:element>
+<?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.
+-->
+<xsd:schema version="1.0"
+            targetNamespace="http://apache.org/hello_world_soap_http/types"
+            xmlns:tns="http://apache.org/hello_world_soap_http/types"
+            xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+            xmlns="http://www.w3.org/2001/XMLSchema"
+            elementFormDefault="qualified">
+  <xsd:element name="sayHi">
+    <complexType/>
+  </xsd:element>
+  <xsd:element name="sayHiResponse">
+    <xsd:complexType>
+      <xsd:sequence>
+        <xsd:element name="responseType" type="string"/>
+      </xsd:sequence>
+    </xsd:complexType>
+  </xsd:element>
+  <xsd:element name="greetMe">
+    <xsd:complexType>
+      <xsd:sequence>
+        <xsd:element name="requestType" type="dateTime"/>
+      </xsd:sequence>
+    </xsd:complexType>
+  </xsd:element>
+  <xsd:element name="greetMeResponse">
+    <xsd:complexType>
+      <xsd:sequence>
+        <xsd:element name="responseType" type="string"/>
+      </xsd:sequence>
+    </xsd:complexType>
+  </xsd:element>
 </xsd:schema>

Propchange: incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/resources/test.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/resources/test.xsd
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/resources/test.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/ParameterProcessorTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/ParameterProcessorTest.java?view=diff&rev=559909&r1=559908&r2=559909
==============================================================================
--- incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/ParameterProcessorTest.java (original)
+++ incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/ParameterProcessorTest.java Thu Jul 26 10:57:46 2007
@@ -1,46 +1,46 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.cxf.tools.wsdlto.frontend.jaxws.processor.internal;
-
-import org.apache.cxf.tools.common.ToolContext;
-import org.apache.cxf.tools.common.model.JavaMethod;
-import org.apache.cxf.tools.common.model.JavaParameter;
-import org.apache.cxf.tools.common.model.JavaType;
-import org.junit.Assert;
-import org.junit.Test;
-
-public class ParameterProcessorTest extends Assert {
-    @Test
-    public void testAddParameter() throws Exception {
-        ParameterProcessor processor = new ParameterProcessor(new ToolContext());
-
-        JavaMethod method = new JavaMethod();
-        JavaParameter p1 = new JavaParameter("request", String.class.getName(), null);
-        p1.setStyle(JavaType.Style.IN);
-        processor.addParameter(method, p1);
-
-        JavaParameter p2 = new JavaParameter("request", String.class.getName(), null);
-        p2.setStyle(JavaType.Style.OUT);
-        processor.addParameter(method, p2);
-
-        assertEquals(1, method.getParameters().size());
-        assertEquals(JavaType.Style.INOUT, method.getParameters().get(0).getStyle());
-    }
-}
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.cxf.tools.wsdlto.frontend.jaxws.processor.internal;
+
+import org.apache.cxf.tools.common.ToolContext;
+import org.apache.cxf.tools.common.model.JavaMethod;
+import org.apache.cxf.tools.common.model.JavaParameter;
+import org.apache.cxf.tools.common.model.JavaType;
+import org.junit.Assert;
+import org.junit.Test;
+
+public class ParameterProcessorTest extends Assert {
+    @Test
+    public void testAddParameter() throws Exception {
+        ParameterProcessor processor = new ParameterProcessor(new ToolContext());
+
+        JavaMethod method = new JavaMethod();
+        JavaParameter p1 = new JavaParameter("request", String.class.getName(), null);
+        p1.setStyle(JavaType.Style.IN);
+        processor.addParameter(method, p1);
+
+        JavaParameter p2 = new JavaParameter("request", String.class.getName(), null);
+        p2.setStyle(JavaType.Style.OUT);
+        processor.addParameter(method, p2);
+
+        assertEquals(1, method.getParameters().size());
+        assertEquals(JavaType.Style.INOUT, method.getParameters().get(0).getStyle());
+    }
+}

Propchange: incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/ParameterProcessorTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/ParameterProcessorTest.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: incubator/cxf/trunk/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/jaxws/CatalogTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/jaxws/CatalogTest.java?view=diff&rev=559909&r1=559908&r2=559909
==============================================================================
--- incubator/cxf/trunk/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/jaxws/CatalogTest.java (original)
+++ incubator/cxf/trunk/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/jaxws/CatalogTest.java Thu Jul 26 10:57:46 2007
@@ -1,61 +1,61 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.cxf.tools.wsdlto.jaxws;
-
-import org.apache.cxf.tools.common.ProcessorTestBase;
-import org.apache.cxf.tools.common.ToolConstants;
-import org.apache.cxf.tools.wsdlto.core.DataBindingProfile;
-import org.apache.cxf.tools.wsdlto.core.FrontEndProfile;
-import org.apache.cxf.tools.wsdlto.core.PluginLoader;
-import org.apache.cxf.tools.wsdlto.frontend.jaxws.JAXWSContainer;
-import org.junit.After;
-import org.junit.Before;
-import org.junit.Test;
-
-public class CatalogTest extends ProcessorTestBase {
-    private JAXWSContainer processor;
-
-    @Before
-    public void setUp() throws Exception {
-        super.setUp();
-        env.put(FrontEndProfile.class, PluginLoader.getInstance().getFrontEndProfile("jaxws"));
-        env.put(DataBindingProfile.class, PluginLoader.getInstance().getDataBindingProfile("jaxb"));
-
-        env.put(ToolConstants.CFG_OUTPUTDIR, output.getCanonicalPath());
-        processor = new JAXWSContainer(null);
-    }
-
-    @After
-    public void tearDown() {
-        super.tearDown();
-        processor = null;
-    }
-
-    @Test
-    public void testCatalog() {
-        try {
-            env.put(ToolConstants.CFG_WSDLURL, getLocation("/wsdl2java_wsdl/test_catalog_service.wsdl"));
-            processor.setContext(env);
-
-            processor.execute();
-        } catch (Exception e) {
-            fail("Catalog resolve failed");
-        }
-    }
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.cxf.tools.wsdlto.jaxws;
+
+import org.apache.cxf.tools.common.ProcessorTestBase;
+import org.apache.cxf.tools.common.ToolConstants;
+import org.apache.cxf.tools.wsdlto.core.DataBindingProfile;
+import org.apache.cxf.tools.wsdlto.core.FrontEndProfile;
+import org.apache.cxf.tools.wsdlto.core.PluginLoader;
+import org.apache.cxf.tools.wsdlto.frontend.jaxws.JAXWSContainer;
+import org.junit.After;
+import org.junit.Before;
+import org.junit.Test;
+
+public class CatalogTest extends ProcessorTestBase {
+    private JAXWSContainer processor;
+
+    @Before
+    public void setUp() throws Exception {
+        super.setUp();
+        env.put(FrontEndProfile.class, PluginLoader.getInstance().getFrontEndProfile("jaxws"));
+        env.put(DataBindingProfile.class, PluginLoader.getInstance().getDataBindingProfile("jaxb"));
+
+        env.put(ToolConstants.CFG_OUTPUTDIR, output.getCanonicalPath());
+        processor = new JAXWSContainer(null);
+    }
+
+    @After
+    public void tearDown() {
+        super.tearDown();
+        processor = null;
+    }
+
+    @Test
+    public void testCatalog() {
+        try {
+            env.put(ToolConstants.CFG_WSDLURL, getLocation("/wsdl2java_wsdl/test_catalog_service.wsdl"));
+            processor.setContext(env);
+
+            processor.execute();
+        } catch (Exception e) {
+            fail("Catalog resolve failed");
+        }
+    }
 }

Propchange: incubator/cxf/trunk/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/jaxws/CatalogTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/jaxws/CatalogTest.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/jaxws/DummyXjcPlugin.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: incubator/cxf/trunk/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/jaxws/JAXWSBindingTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/jaxws/JAXWSBindingTest.java?view=diff&rev=559909&r1=559908&r2=559909
==============================================================================
--- incubator/cxf/trunk/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/jaxws/JAXWSBindingTest.java (original)
+++ incubator/cxf/trunk/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/jaxws/JAXWSBindingTest.java Thu Jul 26 10:57:46 2007
@@ -1,70 +1,70 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.cxf.tools.wsdlto.jaxws;
-
-import java.io.File;
-import java.io.FileInputStream;
-
-import org.apache.cxf.helpers.IOUtils;
-import org.apache.cxf.tools.common.ProcessorTestBase;
-import org.apache.cxf.tools.common.ToolConstants;
-import org.apache.cxf.tools.wsdlto.core.DataBindingProfile;
-import org.apache.cxf.tools.wsdlto.core.FrontEndProfile;
-import org.apache.cxf.tools.wsdlto.core.PluginLoader;
-import org.apache.cxf.tools.wsdlto.frontend.jaxws.JAXWSContainer;
-import org.junit.After;
-import org.junit.Before;
-import org.junit.Test;
-
-public class JAXWSBindingTest extends ProcessorTestBase {
-    private JAXWSContainer processor;
-
-    @Before
-    public void setUp() throws Exception {
-
-        super.setUp();
-        env.put(FrontEndProfile.class, PluginLoader.getInstance().getFrontEndProfile("jaxws"));
-        env.put(DataBindingProfile.class, PluginLoader.getInstance().getDataBindingProfile("jaxb"));
-        env.put(ToolConstants.CFG_OUTPUTDIR, output.getCanonicalPath());
-
-        processor = new JAXWSContainer(null);
-    }
-
-    @After
-    public void tearDown() {
-        super.tearDown();
-        processor = null;
-        env = null;
-    }
-
-    @Test
-    public void testDateTypeAdapter() throws Exception {
-        env.put(ToolConstants.CFG_WSDLURL, getLocation("/wsdl2java_wsdl/echo_date.wsdl"));
-        env.put(ToolConstants.CFG_BINDING, getLocation("/wsdl2java_wsdl/echo_date.xjb"));
-        processor.setContext(env);
-        processor.execute();
-
-        assertNotNull(output);
-
-        String path = "/org/apache/cxf/tools/fortest/date";
-        File sei = new File(output, path + "/EchoDate.java");
-        assertTrue(sei.exists());
-        assertTrue(IOUtils.toString(new FileInputStream(sei)).indexOf("java.util.Date") != -1);
-    }
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.cxf.tools.wsdlto.jaxws;
+
+import java.io.File;
+import java.io.FileInputStream;
+
+import org.apache.cxf.helpers.IOUtils;
+import org.apache.cxf.tools.common.ProcessorTestBase;
+import org.apache.cxf.tools.common.ToolConstants;
+import org.apache.cxf.tools.wsdlto.core.DataBindingProfile;
+import org.apache.cxf.tools.wsdlto.core.FrontEndProfile;
+import org.apache.cxf.tools.wsdlto.core.PluginLoader;
+import org.apache.cxf.tools.wsdlto.frontend.jaxws.JAXWSContainer;
+import org.junit.After;
+import org.junit.Before;
+import org.junit.Test;
+
+public class JAXWSBindingTest extends ProcessorTestBase {
+    private JAXWSContainer processor;
+
+    @Before
+    public void setUp() throws Exception {
+
+        super.setUp();
+        env.put(FrontEndProfile.class, PluginLoader.getInstance().getFrontEndProfile("jaxws"));
+        env.put(DataBindingProfile.class, PluginLoader.getInstance().getDataBindingProfile("jaxb"));
+        env.put(ToolConstants.CFG_OUTPUTDIR, output.getCanonicalPath());
+
+        processor = new JAXWSContainer(null);
+    }
+
+    @After
+    public void tearDown() {
+        super.tearDown();
+        processor = null;
+        env = null;
+    }
+
+    @Test
+    public void testDateTypeAdapter() throws Exception {
+        env.put(ToolConstants.CFG_WSDLURL, getLocation("/wsdl2java_wsdl/echo_date.wsdl"));
+        env.put(ToolConstants.CFG_BINDING, getLocation("/wsdl2java_wsdl/echo_date.xjb"));
+        processor.setContext(env);
+        processor.execute();
+
+        assertNotNull(output);
+
+        String path = "/org/apache/cxf/tools/fortest/date";
+        File sei = new File(output, path + "/EchoDate.java");
+        assertTrue(sei.exists());
+        assertTrue(IOUtils.toString(new FileInputStream(sei)).indexOf("java.util.Date") != -1);
+    }
 }

Propchange: incubator/cxf/trunk/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/jaxws/JAXWSBindingTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/jaxws/JAXWSBindingTest.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: incubator/cxf/trunk/tools/wsdlto/test/src/test/resources/META-INF/jax-ws-catalog.xml
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/wsdlto/test/src/test/resources/META-INF/jax-ws-catalog.xml?view=diff&rev=559909&r1=559908&r2=559909
==============================================================================
--- incubator/cxf/trunk/tools/wsdlto/test/src/test/resources/META-INF/jax-ws-catalog.xml (original)
+++ incubator/cxf/trunk/tools/wsdlto/test/src/test/resources/META-INF/jax-ws-catalog.xml Thu Jul 26 10:57:46 2007
@@ -1,22 +1,22 @@
-<?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.
--->
-<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="system">
-    <rewriteSystem systemIdStartString="nosuchpath" rewritePrefix="../wsdl2java_wsdl"/>
-</catalog>
+<?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.
+-->
+<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="system">
+    <rewriteSystem systemIdStartString="nosuchpath" rewritePrefix="../wsdl2java_wsdl"/>
+</catalog>

Propchange: incubator/cxf/trunk/tools/wsdlto/test/src/test/resources/META-INF/jax-ws-catalog.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools/wsdlto/test/src/test/resources/META-INF/jax-ws-catalog.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/tools/wsdlto/test/src/test/resources/META-INF/jax-ws-catalog.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml



Mime
View raw message