cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r630385 [4/5] - in /incubator/cxf/trunk: maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/ maven-plugins/java2ws-plugin/ maven-plugins/java2ws-plugin/src/main/java/org/apache/cxf/maven_plugin/ systests/src/test/java/or...
Date Sat, 23 Feb 2008 03:27:30 GMT
Modified: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/addr_fromwsdl/Server.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/addr_fromwsdl/Server.java?rev=630385&r1=630384&r2=630385&view=diff
==============================================================================
--- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/addr_fromwsdl/Server.java (original)
+++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/addr_fromwsdl/Server.java Fri Feb 22 19:27:26 2008
@@ -1,64 +1,64 @@
-/**
- * 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.systest.ws.addr_fromwsdl;
-
-
-import org.apache.cxf.BusFactory;
-import org.apache.cxf.jaxws.EndpointImpl;
-import org.apache.cxf.testutil.common.AbstractBusTestServerBase;
-import org.apache.cxf.ws.addressing.WSAddressingFeature;
-
-public class Server extends AbstractBusTestServerBase {
-
-    protected void run()  {    
-        Object implementor = new AddNumberImpl();
-        String address = "http://localhost:9091/jaxws/add";
-        
-        EndpointImpl ep = new EndpointImpl(BusFactory.getThreadDefaultBus(), 
-                                           implementor, 
-                                           null, 
-                                           getWsdl());
-
-        ep.getFeatures().add(new WSAddressingFeature());
-        ep.publish(address);
-    }
-
-    private String getWsdl() {
-        try {
-            java.net.URL wsdl = getClass().getResource("/wsdl/add_numbers.wsdl");
-            return wsdl.toString();
-        } catch (Exception e) {
-            e.printStackTrace();
-        }
-        return null;
-    }
-
-    public static void main(String[] args) {
-        try {
-            Server s = new Server();
-            s.start();
-        } catch (Exception ex) {
-            ex.printStackTrace();
-            System.exit(-1);
-        } finally {
-            System.out.println("done!");
-        }
-    }
-}
+/**
+ * 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.systest.ws.addr_fromwsdl;
+
+
+import org.apache.cxf.BusFactory;
+import org.apache.cxf.jaxws.EndpointImpl;
+import org.apache.cxf.testutil.common.AbstractBusTestServerBase;
+import org.apache.cxf.ws.addressing.WSAddressingFeature;
+
+public class Server extends AbstractBusTestServerBase {
+
+    protected void run()  {    
+        Object implementor = new AddNumberImpl();
+        String address = "http://localhost:9091/jaxws/add";
+        
+        EndpointImpl ep = new EndpointImpl(BusFactory.getThreadDefaultBus(), 
+                                           implementor, 
+                                           null, 
+                                           getWsdl());
+
+        ep.getFeatures().add(new WSAddressingFeature());
+        ep.publish(address);
+    }
+
+    private String getWsdl() {
+        try {
+            java.net.URL wsdl = getClass().getResource("/wsdl/add_numbers.wsdl");
+            return wsdl.toString();
+        } catch (Exception e) {
+            e.printStackTrace();
+        }
+        return null;
+    }
+
+    public static void main(String[] args) {
+        try {
+            Server s = new Server();
+            s.start();
+        } catch (Exception ex) {
+            ex.printStackTrace();
+            System.exit(-1);
+        } finally {
+            System.out.println("done!");
+        }
+    }
+}

Propchange: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/addr_fromwsdl/Server.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/addr_fromwsdl/Server.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/addr_fromwsdl/WSAFromWSDLTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/addr_fromwsdl/WSAFromWSDLTest.java?rev=630385&r1=630384&r2=630385&view=diff
==============================================================================
--- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/addr_fromwsdl/WSAFromWSDLTest.java (original)
+++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/addr_fromwsdl/WSAFromWSDLTest.java Fri Feb 22 19:27:26 2008
@@ -1,157 +1,157 @@
-/**
- * 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.systest.ws.addr_fromwsdl;
-
-import java.io.ByteArrayOutputStream;
-import java.net.URL;
-import javax.xml.namespace.QName;
-import javax.xml.ws.soap.AddressingFeature;
-
-import org.apache.cxf.systest.ws.AbstractWSATestBase;
-import org.apache.cxf.systest.ws.addr_feature.AddNumbersFault_Exception;
-import org.apache.cxf.systest.ws.addr_feature.AddNumbersPortType;
-import org.apache.cxf.systest.ws.addr_feature.AddNumbersService;
-import org.junit.Before;
-import org.junit.BeforeClass;
-import org.junit.Test;
-
-public class WSAFromWSDLTest extends AbstractWSATestBase {
-
-    private static final String BASE_URI = "http://apache.org/cxf/systest/ws/addr_feature/" 
-        + "AddNumbersPortType/";
-
-    private final QName serviceName = new QName("http://apache.org/cxf/systest/ws/addr_feature/",
-                                                "AddNumbersService");
-
-    @Before
-    public void setUp() throws Exception {
-        createBus();
-    }
-
-    @BeforeClass
-    public static void startServers() throws Exception {
-        assertTrue("server did not launch correctly", launchServer(Server.class));
-    }
-
-    @Test
-    public void testAddNumbers() throws Exception {
-        ByteArrayOutputStream input = setupInLogging();
-        ByteArrayOutputStream output = setupOutLogging();
-
-        AddNumbersPortType port = getPort();
-
-        assertEquals(3, port.addNumbers(1, 2));
-
-        String expectedOut = BASE_URI + "addNumbersRequest";
-        String expectedIn = BASE_URI + "addNumbersResponse";
-        
-        assertTrue(output.toString().indexOf(expectedOut) != -1);
-        assertTrue(input.toString().indexOf(expectedIn) != -1);
-    }
-
-    @Test
-    public void testAddNumbers2() throws Exception {
-        ByteArrayOutputStream input = setupInLogging();
-        ByteArrayOutputStream output = setupOutLogging();
-
-        AddNumbersPortType port = getPort();
-
-        assertEquals(3, port.addNumbers2(1, 2));
-
-        String expectedOut = BASE_URI + "add2In";
-        String expectedIn = BASE_URI + "add2Out";
-
-        assertTrue(output.toString().indexOf(expectedOut) != -1);
-        assertTrue(input.toString().indexOf(expectedIn) != -1);
-    }
-
-
-    @Test
-    public void testAddNumbers3() throws Exception {
-        ByteArrayOutputStream input = setupInLogging();
-        ByteArrayOutputStream output = setupOutLogging();
-
-        AddNumbersPortType port = getPort();
-
-        assertEquals(3, port.addNumbers3(1, 2));
-
-        String expectedOut = "3in";
-        String expectedIn = "3out";
-
-        assertTrue(output.toString().indexOf(expectedOut) != -1);
-        assertTrue(input.toString().indexOf(expectedIn) != -1);
-    }
-
-
-    @Test
-    public void testAddNumbersFault() throws Exception {
-        ByteArrayOutputStream input = setupInLogging();
-        ByteArrayOutputStream output = setupOutLogging();
-
-        AddNumbersPortType port = getPort();
-
-        try {
-            port.addNumbers(-1, 2);
-        } catch (AddNumbersFault_Exception ex) {
-            assert true;
-        } catch (Exception e) {
-            e.printStackTrace();
-            assert false;
-        }
-
-        String expectedOut = BASE_URI + "addNumbersRequest";
-        String expectedIn = BASE_URI + "Fault/addNumbersFault";
-
-        assertTrue(output.toString().indexOf(expectedOut) != -1);
-        assertTrue(input.toString().indexOf(expectedIn) != -1);
-    }
-
-    @Test
-    public void testAddNumbersFault3() throws Exception {
-        ByteArrayOutputStream input = setupInLogging();
-        ByteArrayOutputStream output = setupOutLogging();
-
-        AddNumbersPortType port = getPort();
-
-        try {
-            port.addNumbers3(-1, 2);
-        } catch (AddNumbersFault_Exception ex) {
-            assert true;
-        } catch (Exception e) {
-            e.printStackTrace();
-            assert false;
-        }
-
-        String expectedOut = "3in";
-        String expectedIn = "3fault";
-
-        assertTrue(output.toString().indexOf(expectedOut) != -1);
-        assertTrue(input.toString().indexOf(expectedIn) != -1);
-    }
-
-    private AddNumbersPortType getPort() {
-        URL wsdl = getClass().getResource("/wsdl/add_numbers.wsdl");
-        assertNotNull("WSDL is null", wsdl);
-
-        AddNumbersService service = new AddNumbersService(wsdl, serviceName);
-        assertNotNull("Service is null ", service);
-        return service.getAddNumbersPort(new AddressingFeature());
-    }
-}
+/**
+ * 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.systest.ws.addr_fromwsdl;
+
+import java.io.ByteArrayOutputStream;
+import java.net.URL;
+import javax.xml.namespace.QName;
+import javax.xml.ws.soap.AddressingFeature;
+
+import org.apache.cxf.systest.ws.AbstractWSATestBase;
+import org.apache.cxf.systest.ws.addr_feature.AddNumbersFault_Exception;
+import org.apache.cxf.systest.ws.addr_feature.AddNumbersPortType;
+import org.apache.cxf.systest.ws.addr_feature.AddNumbersService;
+import org.junit.Before;
+import org.junit.BeforeClass;
+import org.junit.Test;
+
+public class WSAFromWSDLTest extends AbstractWSATestBase {
+
+    private static final String BASE_URI = "http://apache.org/cxf/systest/ws/addr_feature/" 
+        + "AddNumbersPortType/";
+
+    private final QName serviceName = new QName("http://apache.org/cxf/systest/ws/addr_feature/",
+                                                "AddNumbersService");
+
+    @Before
+    public void setUp() throws Exception {
+        createBus();
+    }
+
+    @BeforeClass
+    public static void startServers() throws Exception {
+        assertTrue("server did not launch correctly", launchServer(Server.class));
+    }
+
+    @Test
+    public void testAddNumbers() throws Exception {
+        ByteArrayOutputStream input = setupInLogging();
+        ByteArrayOutputStream output = setupOutLogging();
+
+        AddNumbersPortType port = getPort();
+
+        assertEquals(3, port.addNumbers(1, 2));
+
+        String expectedOut = BASE_URI + "addNumbersRequest";
+        String expectedIn = BASE_URI + "addNumbersResponse";
+        
+        assertTrue(output.toString().indexOf(expectedOut) != -1);
+        assertTrue(input.toString().indexOf(expectedIn) != -1);
+    }
+
+    @Test
+    public void testAddNumbers2() throws Exception {
+        ByteArrayOutputStream input = setupInLogging();
+        ByteArrayOutputStream output = setupOutLogging();
+
+        AddNumbersPortType port = getPort();
+
+        assertEquals(3, port.addNumbers2(1, 2));
+
+        String expectedOut = BASE_URI + "add2In";
+        String expectedIn = BASE_URI + "add2Out";
+
+        assertTrue(output.toString().indexOf(expectedOut) != -1);
+        assertTrue(input.toString().indexOf(expectedIn) != -1);
+    }
+
+
+    @Test
+    public void testAddNumbers3() throws Exception {
+        ByteArrayOutputStream input = setupInLogging();
+        ByteArrayOutputStream output = setupOutLogging();
+
+        AddNumbersPortType port = getPort();
+
+        assertEquals(3, port.addNumbers3(1, 2));
+
+        String expectedOut = "3in";
+        String expectedIn = "3out";
+
+        assertTrue(output.toString().indexOf(expectedOut) != -1);
+        assertTrue(input.toString().indexOf(expectedIn) != -1);
+    }
+
+
+    @Test
+    public void testAddNumbersFault() throws Exception {
+        ByteArrayOutputStream input = setupInLogging();
+        ByteArrayOutputStream output = setupOutLogging();
+
+        AddNumbersPortType port = getPort();
+
+        try {
+            port.addNumbers(-1, 2);
+        } catch (AddNumbersFault_Exception ex) {
+            assert true;
+        } catch (Exception e) {
+            e.printStackTrace();
+            assert false;
+        }
+
+        String expectedOut = BASE_URI + "addNumbersRequest";
+        String expectedIn = BASE_URI + "Fault/addNumbersFault";
+
+        assertTrue(output.toString().indexOf(expectedOut) != -1);
+        assertTrue(input.toString().indexOf(expectedIn) != -1);
+    }
+
+    @Test
+    public void testAddNumbersFault3() throws Exception {
+        ByteArrayOutputStream input = setupInLogging();
+        ByteArrayOutputStream output = setupOutLogging();
+
+        AddNumbersPortType port = getPort();
+
+        try {
+            port.addNumbers3(-1, 2);
+        } catch (AddNumbersFault_Exception ex) {
+            assert true;
+        } catch (Exception e) {
+            e.printStackTrace();
+            assert false;
+        }
+
+        String expectedOut = "3in";
+        String expectedIn = "3fault";
+
+        assertTrue(output.toString().indexOf(expectedOut) != -1);
+        assertTrue(input.toString().indexOf(expectedIn) != -1);
+    }
+
+    private AddNumbersPortType getPort() {
+        URL wsdl = getClass().getResource("/wsdl/add_numbers.wsdl");
+        assertNotNull("WSDL is null", wsdl);
+
+        AddNumbersService service = new AddNumbersService(wsdl, serviceName);
+        assertNotNull("Service is null ", service);
+        return service.getAddNumbersPort(new AddressingFeature());
+    }
+}

Propchange: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/addr_fromwsdl/WSAFromWSDLTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/addr_fromwsdl/WSAFromWSDLTest.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/addr_wsdl/AddNumberImpl.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/addr_wsdl/AddNumberImpl.java?rev=630385&r1=630384&r2=630385&view=diff
==============================================================================
--- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/addr_wsdl/AddNumberImpl.java (original)
+++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/addr_wsdl/AddNumberImpl.java Fri Feb 22 19:27:26 2008
@@ -1,55 +1,55 @@
-/**
- * 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.systest.ws.addr_wsdl;
-
-import javax.jws.WebService;
-
-import org.apache.cxf.systest.ws.addr_feature.AddNumbersFault;
-import org.apache.cxf.systest.ws.addr_feature.AddNumbersFault_Exception;
-import org.apache.cxf.systest.ws.addr_feature.AddNumbersPortType;
-
-
-@WebService(serviceName = "AddNumbersService",
-            targetNamespace = "http://apache.org/cxf/systest/ws/addr_feature/")
-public class AddNumberImpl implements AddNumbersPortType {
-    public int addNumbers(int number1, int number2) throws AddNumbersFault_Exception {
-        return execute(number1, number2);
-    }
-
-    public int addNumbers2(int number1, int number2) {
-        return number1 + number2;
-    }
-
-    public int addNumbers3(int number1, int number2) throws AddNumbersFault_Exception {
-        return execute(number1, number2);
-    }
-
-    int execute(int number1, int number2) throws AddNumbersFault_Exception {
-        if (number1 < 0 || number2 < 0) {
-            AddNumbersFault fb = new AddNumbersFault();
-            fb.setDetail("Negative numbers cant be added!");
-            fb.setMessage("Numbers: " + number1 + ", " + number2);
-
-            throw new AddNumbersFault_Exception(fb.getMessage(), fb);
-        }
-
-        return number1 + number2;
-    }
-}
+/**
+ * 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.systest.ws.addr_wsdl;
+
+import javax.jws.WebService;
+
+import org.apache.cxf.systest.ws.addr_feature.AddNumbersFault;
+import org.apache.cxf.systest.ws.addr_feature.AddNumbersFault_Exception;
+import org.apache.cxf.systest.ws.addr_feature.AddNumbersPortType;
+
+
+@WebService(serviceName = "AddNumbersService",
+            targetNamespace = "http://apache.org/cxf/systest/ws/addr_feature/")
+public class AddNumberImpl implements AddNumbersPortType {
+    public int addNumbers(int number1, int number2) throws AddNumbersFault_Exception {
+        return execute(number1, number2);
+    }
+
+    public int addNumbers2(int number1, int number2) {
+        return number1 + number2;
+    }
+
+    public int addNumbers3(int number1, int number2) throws AddNumbersFault_Exception {
+        return execute(number1, number2);
+    }
+
+    int execute(int number1, int number2) throws AddNumbersFault_Exception {
+        if (number1 < 0 || number2 < 0) {
+            AddNumbersFault fb = new AddNumbersFault();
+            fb.setDetail("Negative numbers cant be added!");
+            fb.setMessage("Numbers: " + number1 + ", " + number2);
+
+            throw new AddNumbersFault_Exception(fb.getMessage(), fb);
+        }
+
+        return number1 + number2;
+    }
+}

Propchange: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/addr_wsdl/AddNumberImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/addr_wsdl/AddNumberImpl.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/addr_wsdl/Server.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/addr_wsdl/Server.java?rev=630385&r1=630384&r2=630385&view=diff
==============================================================================
--- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/addr_wsdl/Server.java (original)
+++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/addr_wsdl/Server.java Fri Feb 22 19:27:26 2008
@@ -1,62 +1,62 @@
-/**
- * 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.systest.ws.addr_wsdl;
-
-import org.apache.cxf.BusFactory;
-import org.apache.cxf.jaxws.EndpointImpl;
-import org.apache.cxf.testutil.common.AbstractBusTestServerBase;
-
-public class Server extends AbstractBusTestServerBase {
-
-    protected void run() {
-        Object implementor = new AddNumberImpl();
-        String address = "http://localhost:9094/jaxws/add";
-        
-        EndpointImpl ep = new EndpointImpl(BusFactory.getThreadDefaultBus(), 
-                                           implementor, 
-                                           null, 
-                                           getWsdl());
-
-        //EndpointImpl ep = (EndpointImpl) Endpoint.create(implementor);
-        ep.publish(address);
-    }
-    
-    private String getWsdl() {
-        try {
-            java.net.URL wsdl = getClass().getResource("/wsdl/add_numbers.wsdl");
-            return wsdl.toString();
-        } catch (Exception e) {
-            e.printStackTrace();
-        }
-        return null;
-    }    
-
-    public static void main(String[] args) {
-        try {
-            Server s = new Server();
-            s.start();
-        } catch (Exception ex) {
-            ex.printStackTrace();
-            System.exit(-1);
-        } finally {
-            System.out.println("done!");
-        }
-    }
-}
+/**
+ * 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.systest.ws.addr_wsdl;
+
+import org.apache.cxf.BusFactory;
+import org.apache.cxf.jaxws.EndpointImpl;
+import org.apache.cxf.testutil.common.AbstractBusTestServerBase;
+
+public class Server extends AbstractBusTestServerBase {
+
+    protected void run() {
+        Object implementor = new AddNumberImpl();
+        String address = "http://localhost:9094/jaxws/add";
+        
+        EndpointImpl ep = new EndpointImpl(BusFactory.getThreadDefaultBus(), 
+                                           implementor, 
+                                           null, 
+                                           getWsdl());
+
+        //EndpointImpl ep = (EndpointImpl) Endpoint.create(implementor);
+        ep.publish(address);
+    }
+    
+    private String getWsdl() {
+        try {
+            java.net.URL wsdl = getClass().getResource("/wsdl/add_numbers.wsdl");
+            return wsdl.toString();
+        } catch (Exception e) {
+            e.printStackTrace();
+        }
+        return null;
+    }    
+
+    public static void main(String[] args) {
+        try {
+            Server s = new Server();
+            s.start();
+        } catch (Exception ex) {
+            ex.printStackTrace();
+            System.exit(-1);
+        } finally {
+            System.out.println("done!");
+        }
+    }
+}

Propchange: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/addr_wsdl/Server.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/addr_wsdl/Server.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/addr_wsdl/WSAPureWsdlTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/addr_wsdl/WSAPureWsdlTest.java?rev=630385&r1=630384&r2=630385&view=diff
==============================================================================
--- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/addr_wsdl/WSAPureWsdlTest.java (original)
+++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/addr_wsdl/WSAPureWsdlTest.java Fri Feb 22 19:27:26 2008
@@ -1,77 +1,77 @@
-/**
- * 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.systest.ws.addr_wsdl;
-
-import java.io.ByteArrayOutputStream;
-import java.net.URL;
-import javax.xml.namespace.QName;
-import javax.xml.ws.BindingProvider;
-
-import org.apache.cxf.systest.ws.AbstractWSATestBase;
-import org.apache.cxf.systest.ws.addr_feature.AddNumbersPortType;
-import org.apache.cxf.systest.ws.addr_feature.AddNumbersService;
-import org.junit.Before;
-import org.junit.BeforeClass;
-import org.junit.Test;
-
-public class WSAPureWsdlTest extends AbstractWSATestBase {
-
-    private final QName serviceName = new QName("http://apache.org/cxf/systest/ws/addr_feature/",
-                                                "AddNumbersService");
-
-    @Before
-    public void setUp() throws Exception {
-        createBus();
-    }
-
-    @BeforeClass
-    public static void startServers() throws Exception {
-        assertTrue("server did not launch correctly", launchServer(Server.class));
-    }
-
-    @Test
-    public void testBasicInvocation() throws Exception {
-        ByteArrayOutputStream input = setupInLogging();
-        ByteArrayOutputStream output = setupOutLogging();
-
-        AddNumbersPortType port = getPort();
-
-        ((BindingProvider)port).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, 
-                                                        "http://localhost:9094/jaxws/add");
-
-        assertEquals(3, port.addNumbers(1, 2));
-
-        String base = "http://apache.org/cxf/systest/ws/addr_feature/AddNumbersPortType/";
-        String expectedOut = base + "addNumbersRequest</Action>";
-        String expectedIn = base + "addNumbersResponse</Action>";
-
-        assertTrue(output.toString().indexOf(expectedOut) != -1);
-        assertTrue(input.toString().indexOf(expectedIn) != -1);
-    }
-
-    private AddNumbersPortType getPort() {
-        URL wsdl = getClass().getResource("/wsdl/add_numbers.wsdl");
-        assertNotNull("WSDL is null", wsdl);
-
-        AddNumbersService service = new AddNumbersService(wsdl, serviceName);
-        assertNotNull("Service is null ", service);
-        return service.getAddNumbersPort();
-    }
+/**
+ * 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.systest.ws.addr_wsdl;
+
+import java.io.ByteArrayOutputStream;
+import java.net.URL;
+import javax.xml.namespace.QName;
+import javax.xml.ws.BindingProvider;
+
+import org.apache.cxf.systest.ws.AbstractWSATestBase;
+import org.apache.cxf.systest.ws.addr_feature.AddNumbersPortType;
+import org.apache.cxf.systest.ws.addr_feature.AddNumbersService;
+import org.junit.Before;
+import org.junit.BeforeClass;
+import org.junit.Test;
+
+public class WSAPureWsdlTest extends AbstractWSATestBase {
+
+    private final QName serviceName = new QName("http://apache.org/cxf/systest/ws/addr_feature/",
+                                                "AddNumbersService");
+
+    @Before
+    public void setUp() throws Exception {
+        createBus();
+    }
+
+    @BeforeClass
+    public static void startServers() throws Exception {
+        assertTrue("server did not launch correctly", launchServer(Server.class));
+    }
+
+    @Test
+    public void testBasicInvocation() throws Exception {
+        ByteArrayOutputStream input = setupInLogging();
+        ByteArrayOutputStream output = setupOutLogging();
+
+        AddNumbersPortType port = getPort();
+
+        ((BindingProvider)port).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, 
+                                                        "http://localhost:9094/jaxws/add");
+
+        assertEquals(3, port.addNumbers(1, 2));
+
+        String base = "http://apache.org/cxf/systest/ws/addr_feature/AddNumbersPortType/";
+        String expectedOut = base + "addNumbersRequest</Action>";
+        String expectedIn = base + "addNumbersResponse</Action>";
+
+        assertTrue(output.toString().indexOf(expectedOut) != -1);
+        assertTrue(input.toString().indexOf(expectedIn) != -1);
+    }
+
+    private AddNumbersPortType getPort() {
+        URL wsdl = getClass().getResource("/wsdl/add_numbers.wsdl");
+        assertNotNull("WSDL is null", wsdl);
+
+        AddNumbersService service = new AddNumbersService(wsdl, serviceName);
+        assertNotNull("Service is null ", service);
+        return service.getAddNumbersPort();
+    }
 }

Propchange: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/addr_wsdl/WSAPureWsdlTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/addr_wsdl/WSAPureWsdlTest.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/wsdl/TestCrossSchemaImports.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/wsdl/TestCrossSchemaImports.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/systests/src/test/resources/crossSchemaBeans.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/systests/src/test/resources/crossSchemaBeans.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: incubator/cxf/trunk/systests/src/test/resources/java.jpg
------------------------------------------------------------------------------
--- svn:mime-type (original)
+++ svn:mime-type Fri Feb 22 19:27:26 2008
@@ -1 +1 @@
-application/octet-stream
+image/jpeg

Modified: incubator/cxf/trunk/systests/src/test/resources/wsdl/add_numbers-fromjava.wsdl
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/resources/wsdl/add_numbers-fromjava.wsdl?rev=630385&r1=630384&r2=630385&view=diff
==============================================================================
--- incubator/cxf/trunk/systests/src/test/resources/wsdl/add_numbers-fromjava.wsdl (original)
+++ incubator/cxf/trunk/systests/src/test/resources/wsdl/add_numbers-fromjava.wsdl Fri Feb 22 19:27:26 2008
@@ -1,161 +1,161 @@
-<?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="AddNumberImplService" targetNamespace="http://server.addr_fromjava.ws.systest.cxf.apache.org/" 
-		  xmlns:tns="http://server.addr_fromjava.ws.systest.cxf.apache.org/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
-		  xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
-		  xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
-    <wsdl:types>
-	<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://server.addr_fromjava.ws.systest.cxf.apache.org/" 
-		    attributeFormDefault="unqualified" elementFormDefault="unqualified" 
-		    targetNamespace="http://server.addr_fromjava.ws.systest.cxf.apache.org/">
-	    <xsd:element name="AddNumbersException" type="tns:AddNumbersException"/>
-	    <xsd:complexType name="AddNumbersException">
-		<xsd:sequence/>
-	    </xsd:complexType>
-	    <xsd:element name="addNumbers3" type="tns:addNumbers3"/>
-	    <xsd:complexType name="addNumbers3">
-		<xsd:sequence>
-		    <xsd:element name="arg0" type="xsd:int"/>
-		    <xsd:element name="arg1" type="xsd:int"/>
-		</xsd:sequence>
-	    </xsd:complexType>
-	    <xsd:element name="addNumbers3Response" type="tns:addNumbers3Response"/>
-	    <xsd:complexType name="addNumbers3Response">
-		<xsd:sequence>
-		    <xsd:element name="return" type="xsd:int"/>
-		</xsd:sequence>
-	    </xsd:complexType>
-	    <xsd:element name="addNumbers2" type="tns:addNumbers2"/>
-	    <xsd:complexType name="addNumbers2">
-		<xsd:sequence>
-		    <xsd:element name="arg0" type="xsd:int"/>
-		    <xsd:element name="arg1" type="xsd:int"/>
-		</xsd:sequence>
-	    </xsd:complexType>
-	    <xsd:element name="addNumbers2Response" type="tns:addNumbers2Response"/>
-	    <xsd:complexType name="addNumbers2Response">
-		<xsd:sequence>
-		    <xsd:element name="return" type="xsd:int"/>
-		</xsd:sequence>
-	    </xsd:complexType>
-	    <xsd:element name="addNumbers" type="tns:addNumbers"/>
-	    <xsd:complexType name="addNumbers">
-		<xsd:sequence>
-		    <xsd:element name="arg0" type="xsd:int"/>
-		    <xsd:element name="arg1" type="xsd:int"/>
-		</xsd:sequence>
-	    </xsd:complexType>
-	    <xsd:element name="addNumbersResponse" type="tns:addNumbersResponse"/>
-	    <xsd:complexType name="addNumbersResponse">
-		<xsd:sequence>
-		    <xsd:element name="return" type="xsd:int"/>
-		</xsd:sequence>
-	    </xsd:complexType>
-	</xsd:schema>
-    </wsdl:types>
-    <wsdl:message name="addNumbers2Response">
-	<wsdl:part name="parameters" element="tns:addNumbers2Response">
-	</wsdl:part>
-    </wsdl:message>
-    <wsdl:message name="addNumbers2">
-	<wsdl:part name="parameters" element="tns:addNumbers2">
-	</wsdl:part>
-    </wsdl:message>
-    <wsdl:message name="addNumbers3Response">
-	<wsdl:part name="parameters" element="tns:addNumbers3Response">
-	</wsdl:part>
-    </wsdl:message>
-    <wsdl:message name="addNumbers">
-	<wsdl:part name="parameters" element="tns:addNumbers">
-	</wsdl:part>
-    </wsdl:message>
-    <wsdl:message name="addNumbers3">
-	<wsdl:part name="parameters" element="tns:addNumbers3">
-	</wsdl:part>
-    </wsdl:message>
-    <wsdl:message name="AddNumbersException">
-	<wsdl:part name="AddNumbersException" element="tns:AddNumbersException">
-	</wsdl:part>
-    </wsdl:message>
-    <wsdl:message name="addNumbersResponse">
-	<wsdl:part name="parameters" element="tns:addNumbersResponse">
-	</wsdl:part>
-    </wsdl:message>
-
-    <wsdl:portType name="AddNumberImpl">
-	<wsdl:operation name="addNumbers">
-	    <wsdl:input name="addNumbers" message="tns:addNumbers" wsaw:Action="http://cxf.apache.org/input"/>
-	    <wsdl:output name="addNumbersResponse" message="tns:addNumbersResponse" wsaw:Action="http://cxf.apache.org/output"/>
-	    <wsdl:fault name="AddNumbersException" message="tns:AddNumbersException"/>
-	</wsdl:operation>
-	<wsdl:operation name="addNumbers2">
-	    <wsdl:input name="addNumbers2" message="tns:addNumbers2"/>
-	    <wsdl:output name="addNumbers2Response" message="tns:addNumbers2Response"/>
-	</wsdl:operation>
-	<wsdl:operation name="addNumbers3">
-	    <wsdl:input name="addNumbers3" message="tns:addNumbers3" wsaw:Action="http://cxf.apache.org/input3"/>
-	    <wsdl:output name="addNumbers3Response" message="tns:addNumbers3Response" wsaw:Action="http://cxf.apache.org/output3"/>
-	    <wsdl:fault name="AddNumbersException" message="tns:AddNumbersException" wsaw:Action="http://cxf.apache.org/fault3"/>
-	</wsdl:operation>
-    </wsdl:portType>
-    <wsdl:binding name="AddNumberImplServiceSoapBinding" type="tns:AddNumberImpl">
-	<wsaw:UsingAddressing/>
-	<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
-	<wsdl:operation name="addNumbers3">
-	    <soap:operation soapAction="" style="document"/>
-	    <wsdl:input name="addNumbers3">
-		<soap:body use="literal"/>
-	    </wsdl:input>
-	    <wsdl:output name="addNumbers3Response">
-		<soap:body use="literal"/>
-	    </wsdl:output>
-	    <wsdl:fault name="AddNumbersException">
-		<soap:fault name="AddNumbersException" use="literal"/>
-	    </wsdl:fault>
-	</wsdl:operation>
-	<wsdl:operation name="addNumbers2">
-	    <soap:operation soapAction="" style="document"/>
-	    <wsdl:input name="addNumbers2">
-		<soap:body use="literal"/>
-	    </wsdl:input>
-	    <wsdl:output name="addNumbers2Response">
-		<soap:body use="literal"/>
-	    </wsdl:output>
-	</wsdl:operation>
-	<wsdl:operation name="addNumbers">
-	    <soap:operation soapAction="" style="document"/>
-	    <wsdl:input name="addNumbers">
-		<soap:body use="literal"/>
-	    </wsdl:input>
-	    <wsdl:output name="addNumbersResponse">
-		<soap:body use="literal"/>
-	    </wsdl:output>
-	    <wsdl:fault name="AddNumbersException">
-		<soap:fault name="AddNumbersException" use="literal"/>
-	    </wsdl:fault>
-	</wsdl:operation>
-    </wsdl:binding>
-    <wsdl:service name="AddNumberImplService">
-	<wsdl:port name="AddNumberImplPort" binding="tns:AddNumberImplServiceSoapBinding">
-	    <soap:address location="http://localhost:9093/AddNumberImplPort"/>
-	</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 name="AddNumberImplService" targetNamespace="http://server.addr_fromjava.ws.systest.cxf.apache.org/" 
+		  xmlns:tns="http://server.addr_fromjava.ws.systest.cxf.apache.org/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
+		  xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
+		  xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
+    <wsdl:types>
+	<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://server.addr_fromjava.ws.systest.cxf.apache.org/" 
+		    attributeFormDefault="unqualified" elementFormDefault="unqualified" 
+		    targetNamespace="http://server.addr_fromjava.ws.systest.cxf.apache.org/">
+	    <xsd:element name="AddNumbersException" type="tns:AddNumbersException"/>
+	    <xsd:complexType name="AddNumbersException">
+		<xsd:sequence/>
+	    </xsd:complexType>
+	    <xsd:element name="addNumbers3" type="tns:addNumbers3"/>
+	    <xsd:complexType name="addNumbers3">
+		<xsd:sequence>
+		    <xsd:element name="arg0" type="xsd:int"/>
+		    <xsd:element name="arg1" type="xsd:int"/>
+		</xsd:sequence>
+	    </xsd:complexType>
+	    <xsd:element name="addNumbers3Response" type="tns:addNumbers3Response"/>
+	    <xsd:complexType name="addNumbers3Response">
+		<xsd:sequence>
+		    <xsd:element name="return" type="xsd:int"/>
+		</xsd:sequence>
+	    </xsd:complexType>
+	    <xsd:element name="addNumbers2" type="tns:addNumbers2"/>
+	    <xsd:complexType name="addNumbers2">
+		<xsd:sequence>
+		    <xsd:element name="arg0" type="xsd:int"/>
+		    <xsd:element name="arg1" type="xsd:int"/>
+		</xsd:sequence>
+	    </xsd:complexType>
+	    <xsd:element name="addNumbers2Response" type="tns:addNumbers2Response"/>
+	    <xsd:complexType name="addNumbers2Response">
+		<xsd:sequence>
+		    <xsd:element name="return" type="xsd:int"/>
+		</xsd:sequence>
+	    </xsd:complexType>
+	    <xsd:element name="addNumbers" type="tns:addNumbers"/>
+	    <xsd:complexType name="addNumbers">
+		<xsd:sequence>
+		    <xsd:element name="arg0" type="xsd:int"/>
+		    <xsd:element name="arg1" type="xsd:int"/>
+		</xsd:sequence>
+	    </xsd:complexType>
+	    <xsd:element name="addNumbersResponse" type="tns:addNumbersResponse"/>
+	    <xsd:complexType name="addNumbersResponse">
+		<xsd:sequence>
+		    <xsd:element name="return" type="xsd:int"/>
+		</xsd:sequence>
+	    </xsd:complexType>
+	</xsd:schema>
+    </wsdl:types>
+    <wsdl:message name="addNumbers2Response">
+	<wsdl:part name="parameters" element="tns:addNumbers2Response">
+	</wsdl:part>
+    </wsdl:message>
+    <wsdl:message name="addNumbers2">
+	<wsdl:part name="parameters" element="tns:addNumbers2">
+	</wsdl:part>
+    </wsdl:message>
+    <wsdl:message name="addNumbers3Response">
+	<wsdl:part name="parameters" element="tns:addNumbers3Response">
+	</wsdl:part>
+    </wsdl:message>
+    <wsdl:message name="addNumbers">
+	<wsdl:part name="parameters" element="tns:addNumbers">
+	</wsdl:part>
+    </wsdl:message>
+    <wsdl:message name="addNumbers3">
+	<wsdl:part name="parameters" element="tns:addNumbers3">
+	</wsdl:part>
+    </wsdl:message>
+    <wsdl:message name="AddNumbersException">
+	<wsdl:part name="AddNumbersException" element="tns:AddNumbersException">
+	</wsdl:part>
+    </wsdl:message>
+    <wsdl:message name="addNumbersResponse">
+	<wsdl:part name="parameters" element="tns:addNumbersResponse">
+	</wsdl:part>
+    </wsdl:message>
+
+    <wsdl:portType name="AddNumberImpl">
+	<wsdl:operation name="addNumbers">
+	    <wsdl:input name="addNumbers" message="tns:addNumbers" wsaw:Action="http://cxf.apache.org/input"/>
+	    <wsdl:output name="addNumbersResponse" message="tns:addNumbersResponse" wsaw:Action="http://cxf.apache.org/output"/>
+	    <wsdl:fault name="AddNumbersException" message="tns:AddNumbersException"/>
+	</wsdl:operation>
+	<wsdl:operation name="addNumbers2">
+	    <wsdl:input name="addNumbers2" message="tns:addNumbers2"/>
+	    <wsdl:output name="addNumbers2Response" message="tns:addNumbers2Response"/>
+	</wsdl:operation>
+	<wsdl:operation name="addNumbers3">
+	    <wsdl:input name="addNumbers3" message="tns:addNumbers3" wsaw:Action="http://cxf.apache.org/input3"/>
+	    <wsdl:output name="addNumbers3Response" message="tns:addNumbers3Response" wsaw:Action="http://cxf.apache.org/output3"/>
+	    <wsdl:fault name="AddNumbersException" message="tns:AddNumbersException" wsaw:Action="http://cxf.apache.org/fault3"/>
+	</wsdl:operation>
+    </wsdl:portType>
+    <wsdl:binding name="AddNumberImplServiceSoapBinding" type="tns:AddNumberImpl">
+	<wsaw:UsingAddressing/>
+	<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+	<wsdl:operation name="addNumbers3">
+	    <soap:operation soapAction="" style="document"/>
+	    <wsdl:input name="addNumbers3">
+		<soap:body use="literal"/>
+	    </wsdl:input>
+	    <wsdl:output name="addNumbers3Response">
+		<soap:body use="literal"/>
+	    </wsdl:output>
+	    <wsdl:fault name="AddNumbersException">
+		<soap:fault name="AddNumbersException" use="literal"/>
+	    </wsdl:fault>
+	</wsdl:operation>
+	<wsdl:operation name="addNumbers2">
+	    <soap:operation soapAction="" style="document"/>
+	    <wsdl:input name="addNumbers2">
+		<soap:body use="literal"/>
+	    </wsdl:input>
+	    <wsdl:output name="addNumbers2Response">
+		<soap:body use="literal"/>
+	    </wsdl:output>
+	</wsdl:operation>
+	<wsdl:operation name="addNumbers">
+	    <soap:operation soapAction="" style="document"/>
+	    <wsdl:input name="addNumbers">
+		<soap:body use="literal"/>
+	    </wsdl:input>
+	    <wsdl:output name="addNumbersResponse">
+		<soap:body use="literal"/>
+	    </wsdl:output>
+	    <wsdl:fault name="AddNumbersException">
+		<soap:fault name="AddNumbersException" use="literal"/>
+	    </wsdl:fault>
+	</wsdl:operation>
+    </wsdl:binding>
+    <wsdl:service name="AddNumberImplService">
+	<wsdl:port name="AddNumberImplPort" binding="tns:AddNumberImplServiceSoapBinding">
+	    <soap:address location="http://localhost:9093/AddNumberImplPort"/>
+	</wsdl:port>
+    </wsdl:service>
 </wsdl:definitions>

Propchange: incubator/cxf/trunk/systests/src/test/resources/wsdl/add_numbers-fromjava.wsdl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/systests/src/test/resources/wsdl/add_numbers-fromjava.wsdl
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/systests/src/test/resources/wsdl/add_numbers-fromjava.wsdl
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: incubator/cxf/trunk/systests/src/test/resources/wsdl/add_numbers.wsdl
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/resources/wsdl/add_numbers.wsdl?rev=630385&r1=630384&r2=630385&view=diff
==============================================================================
--- incubator/cxf/trunk/systests/src/test/resources/wsdl/add_numbers.wsdl (original)
+++ incubator/cxf/trunk/systests/src/test/resources/wsdl/add_numbers.wsdl Fri Feb 22 19:27:26 2008
@@ -1,143 +1,143 @@
-<?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="AddNumbers"  
-	     targetNamespace="http://apache.org/cxf/systest/ws/addr_feature/" 
-	     xmlns:tns="http://apache.org/cxf/systest/ws/addr_feature/"
-	     xmlns="http://schemas.xmlsoap.org/wsdl/" 
-	     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-	     xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
-	     xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
-	     xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl">
-    <types>
-	<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema" 
-		    elementFormDefault="qualified" 
-		    targetNamespace="http://apache.org/cxf/systest/ws/addr_feature/">
-	    <complexType name="addNumbersResponse">
-		<sequence>
-		    <element name="return" type="xsd:int" />
-		</sequence>
-	    </complexType>
-	    <element name="addNumbersResponse" type="tns:addNumbersResponse" />
-	    <element name="addNumbers2Response" type="tns:addNumbersResponse" />
-	    <element name="addNumbers3Response" type="tns:addNumbersResponse" />
-
-	    <complexType name="addNumbers">
-		<sequence>
-		    <element name="number1" type="xsd:int" />
-		    <element name="number2" type="xsd:int" />
-		</sequence>
-	    </complexType>
-	    <element name="addNumbers" type="tns:addNumbers" />
-	    <element name="addNumbers2" type="tns:addNumbers" />
-	    <element name="addNumbers3" type="tns:addNumbers" />
-
-	    <element name="AddNumbersFault" type="tns:AddNumbersFault" />
-	    <complexType name="AddNumbersFault">
-		<sequence>
-		    <element name="detail" type="xsd:string" />
-		    <element name="message" type="xsd:string" />
-		</sequence>
-	    </complexType>
-	</xsd:schema>
-    </types>
-    <message name="addNumbers">
-	<part name="parameters" element="tns:addNumbers" />
-    </message>
-    <message name="addNumbersResponse">
-	<part name="result" element="tns:addNumbersResponse" />
-    </message>
-    <message name="addNumbersFault">
-	<part name="AddNumbersFault" element="tns:AddNumbersFault" />
-    </message>
-    <message name="addNumbers2">
-	<part name="parameters" element="tns:addNumbers2" />
-    </message>
-    <message name="addNumbers2Response">
-	<part name="result" element="tns:addNumbers2Response" />
-    </message>
-    <message name="addNumbers3">
-	<part name="parameters" element="tns:addNumbers3" />
-    </message>
-    <message name="addNumbers3Response">
-	<part name="result" element="tns:addNumbers3Response" />
-    </message>
-    <portType name="AddNumbersPortType">
-	<operation name="addNumbers">
-	    <input message="tns:addNumbers"/>
-	    <output message="tns:addNumbersResponse"/>
-	    <fault name="addNumbersFault" message="tns:addNumbersFault"/>
-	</operation>
-	<operation name="addNumbers2">
-	    <input message="tns:addNumbers2" name="add2In"/>
-	    <output message="tns:addNumbers2Response" name="add2Out"/>
-<!-- 	    <fault name="addNumbersFault" message="tns:addNumbersFault"/> -->
-	</operation>
-	<operation name="addNumbers3">
-	    <input message="tns:addNumbers3" wsaw:Action="3in"/>
-	    <output message="tns:addNumbers3Response" wsaw:Action="3out"/>
-	    <fault name="addNumbersFault" message="tns:addNumbersFault" wsaw:Action="3fault"/>
-	</operation>
-    </portType>
-    <binding name="AddNumbersBinding" type="tns:AddNumbersPortType">
-	<wsaw:UsingAddressing wsdl:required="false" />
-	<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
-	<operation name="addNumbers">
-	    <soap:operation soapAction="" />
-	    <input>
-		<soap:body use="literal" />
-	    </input>
-	    <output>
-		<soap:body use="literal" />
-	    </output>
-	    <fault name="addNumbersFault">
-		<soap:fault name="addNumbersFault" use="literal" />
-	    </fault>
-	</operation>
-	<operation name="addNumbers2">
-	    <soap:operation soapAction="" />
-	    <input>
-		<soap:body use="literal" />
-	    </input>
-	    <output>
-		<soap:body use="literal" />
-	    </output>
-<!-- 	    <fault name="addNumbersFault"> -->
-<!-- 		<soap:fault name="addNumbersFault" use="literal" /> -->
-<!-- 	    </fault> -->
-	</operation>
-	<operation name="addNumbers3">
-	    <soap:operation soapAction="" />
-	    <input>
-		<soap:body use="literal" />
-	    </input>
-	    <output>
-		<soap:body use="literal" />
-	    </output>
-	    <fault name="addNumbersFault">
-		<soap:fault name="addNumbersFault" use="literal" />
-	    </fault>
-	</operation>
-    </binding>
-    <service name="AddNumbersService">
-	<port name="AddNumbersPort" binding="tns:AddNumbersBinding">
-	    <soap:address location="http://localhost:9091/jaxws/add"/>
-	</port>
-    </service>
-</definitions>
+<?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="AddNumbers"  
+	     targetNamespace="http://apache.org/cxf/systest/ws/addr_feature/" 
+	     xmlns:tns="http://apache.org/cxf/systest/ws/addr_feature/"
+	     xmlns="http://schemas.xmlsoap.org/wsdl/" 
+	     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+	     xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+	     xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+	     xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl">
+    <types>
+	<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema" 
+		    elementFormDefault="qualified" 
+		    targetNamespace="http://apache.org/cxf/systest/ws/addr_feature/">
+	    <complexType name="addNumbersResponse">
+		<sequence>
+		    <element name="return" type="xsd:int" />
+		</sequence>
+	    </complexType>
+	    <element name="addNumbersResponse" type="tns:addNumbersResponse" />
+	    <element name="addNumbers2Response" type="tns:addNumbersResponse" />
+	    <element name="addNumbers3Response" type="tns:addNumbersResponse" />
+
+	    <complexType name="addNumbers">
+		<sequence>
+		    <element name="number1" type="xsd:int" />
+		    <element name="number2" type="xsd:int" />
+		</sequence>
+	    </complexType>
+	    <element name="addNumbers" type="tns:addNumbers" />
+	    <element name="addNumbers2" type="tns:addNumbers" />
+	    <element name="addNumbers3" type="tns:addNumbers" />
+
+	    <element name="AddNumbersFault" type="tns:AddNumbersFault" />
+	    <complexType name="AddNumbersFault">
+		<sequence>
+		    <element name="detail" type="xsd:string" />
+		    <element name="message" type="xsd:string" />
+		</sequence>
+	    </complexType>
+	</xsd:schema>
+    </types>
+    <message name="addNumbers">
+	<part name="parameters" element="tns:addNumbers" />
+    </message>
+    <message name="addNumbersResponse">
+	<part name="result" element="tns:addNumbersResponse" />
+    </message>
+    <message name="addNumbersFault">
+	<part name="AddNumbersFault" element="tns:AddNumbersFault" />
+    </message>
+    <message name="addNumbers2">
+	<part name="parameters" element="tns:addNumbers2" />
+    </message>
+    <message name="addNumbers2Response">
+	<part name="result" element="tns:addNumbers2Response" />
+    </message>
+    <message name="addNumbers3">
+	<part name="parameters" element="tns:addNumbers3" />
+    </message>
+    <message name="addNumbers3Response">
+	<part name="result" element="tns:addNumbers3Response" />
+    </message>
+    <portType name="AddNumbersPortType">
+	<operation name="addNumbers">
+	    <input message="tns:addNumbers"/>
+	    <output message="tns:addNumbersResponse"/>
+	    <fault name="addNumbersFault" message="tns:addNumbersFault"/>
+	</operation>
+	<operation name="addNumbers2">
+	    <input message="tns:addNumbers2" name="add2In"/>
+	    <output message="tns:addNumbers2Response" name="add2Out"/>
+<!-- 	    <fault name="addNumbersFault" message="tns:addNumbersFault"/> -->
+	</operation>
+	<operation name="addNumbers3">
+	    <input message="tns:addNumbers3" wsaw:Action="3in"/>
+	    <output message="tns:addNumbers3Response" wsaw:Action="3out"/>
+	    <fault name="addNumbersFault" message="tns:addNumbersFault" wsaw:Action="3fault"/>
+	</operation>
+    </portType>
+    <binding name="AddNumbersBinding" type="tns:AddNumbersPortType">
+	<wsaw:UsingAddressing wsdl:required="false" />
+	<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
+	<operation name="addNumbers">
+	    <soap:operation soapAction="" />
+	    <input>
+		<soap:body use="literal" />
+	    </input>
+	    <output>
+		<soap:body use="literal" />
+	    </output>
+	    <fault name="addNumbersFault">
+		<soap:fault name="addNumbersFault" use="literal" />
+	    </fault>
+	</operation>
+	<operation name="addNumbers2">
+	    <soap:operation soapAction="" />
+	    <input>
+		<soap:body use="literal" />
+	    </input>
+	    <output>
+		<soap:body use="literal" />
+	    </output>
+<!-- 	    <fault name="addNumbersFault"> -->
+<!-- 		<soap:fault name="addNumbersFault" use="literal" /> -->
+<!-- 	    </fault> -->
+	</operation>
+	<operation name="addNumbers3">
+	    <soap:operation soapAction="" />
+	    <input>
+		<soap:body use="literal" />
+	    </input>
+	    <output>
+		<soap:body use="literal" />
+	    </output>
+	    <fault name="addNumbersFault">
+		<soap:fault name="addNumbersFault" use="literal" />
+	    </fault>
+	</operation>
+    </binding>
+    <service name="AddNumbersService">
+	<port name="AddNumbersPort" binding="tns:AddNumbersBinding">
+	    <soap:address location="http://localhost:9091/jaxws/add"/>
+	</port>
+    </service>
+</definitions>

Propchange: incubator/cxf/trunk/systests/src/test/resources/wsdl/add_numbers.wsdl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/systests/src/test/resources/wsdl/add_numbers.wsdl
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/systests/src/test/resources/wsdl/add_numbers.wsdl
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: incubator/cxf/trunk/systests/src/test/resources/wsdl/cxf-993.wsdl
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/resources/wsdl/cxf-993.wsdl?rev=630385&r1=630384&r2=630385&view=diff
==============================================================================
--- incubator/cxf/trunk/systests/src/test/resources/wsdl/cxf-993.wsdl (original)
+++ incubator/cxf/trunk/systests/src/test/resources/wsdl/cxf-993.wsdl Fri Feb 22 19:27:26 2008
@@ -1,89 +1,89 @@
-<?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="http://schemas.xmlsoap.org/wsdl/http/" 
-		  xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
-		  xmlns:s="http://www.w3.org/2001/XMLSchema" 
-		  xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
-		  xmlns:tns="urn://testnotification" 
-		  xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" 
-		  xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" 
-		  targetNamespace="urn://testnotification" 
-		  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
-    <wsdl:types>
-	<s:schema elementFormDefault="qualified" targetNamespace="urn://testnotification">
-	    <s:element name="sendNotification">
-		<s:complexType>
-		    <s:sequence>
-			<s:element minOccurs="0" maxOccurs="1" name="NotificationInfo">
-			    <s:complexType>
-				<s:sequence>
-				    <s:any/>
-				</s:sequence>
-			    </s:complexType>
-			</s:element>
-		    </s:sequence>
-		</s:complexType>
-	    </s:element>
-	    <s:element name="AuthCredentials" type="tns:AuthCredentials"/>
-	    <s:complexType name="AuthCredentials">
-		<s:sequence>
-		    <s:element minOccurs="0" maxOccurs="1" name="username" type="s:string"/>
-		    <s:element minOccurs="0" maxOccurs="1" name="password" type="s:string"/>
-		</s:sequence>
-	    </s:complexType>
-	</s:schema>
-    </wsdl:types>
-
-    <wsdl:message name="notificationInput">
-	<wsdl:part name="parameters" element="tns:sendNotification"/>
-    </wsdl:message>
-    <wsdl:message name="notificationOutput">
-	<wsdl:part name="parameters" type="s:string"/>
-    </wsdl:message>
-    <wsdl:message name="sendNotificationAuthCredentials">
-	<wsdl:part name="AuthCredentials" element="tns:AuthCredentials"/>
-    </wsdl:message>
-
-    <wsdl:portType name="NotificationServicePort">
-	<wsdl:operation name="sendNotification">
-	    <wsdl:input message="tns:notificationInput"/>
-	    <wsdl:output message="tns:notificationOutput"/>
-	</wsdl:operation>
-    </wsdl:portType>
-
-    <wsdl:binding name="NotificationServicePort" type="tns:NotificationServicePort">
-	<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
-	<wsdl:operation name="sendNotification">
-	    <soap:operation soapAction="urn://testnotification/sendNotification" style="document"/>
-	    <wsdl:input>
-		<soap:body use="literal"/>
-		<soap:header message="tns:sendNotificationAuthCredentials" part="AuthCredentials" use="literal"/>
-	    </wsdl:input>
-	    <wsdl:output>
-		<soap:body use="literal"/>
-	    </wsdl:output>
-	</wsdl:operation>
-    </wsdl:binding>
-    <wsdl:service name="NotificationService">
-	<wsdl:port name="NotificationServicePort" binding="tns:NotificationServicePort">
-	    <soap:address location="http://localhost:9018/notification"/>
-	</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="http://schemas.xmlsoap.org/wsdl/http/" 
+		  xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
+		  xmlns:s="http://www.w3.org/2001/XMLSchema" 
+		  xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
+		  xmlns:tns="urn://testnotification" 
+		  xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" 
+		  xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" 
+		  targetNamespace="urn://testnotification" 
+		  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
+    <wsdl:types>
+	<s:schema elementFormDefault="qualified" targetNamespace="urn://testnotification">
+	    <s:element name="sendNotification">
+		<s:complexType>
+		    <s:sequence>
+			<s:element minOccurs="0" maxOccurs="1" name="NotificationInfo">
+			    <s:complexType>
+				<s:sequence>
+				    <s:any/>
+				</s:sequence>
+			    </s:complexType>
+			</s:element>
+		    </s:sequence>
+		</s:complexType>
+	    </s:element>
+	    <s:element name="AuthCredentials" type="tns:AuthCredentials"/>
+	    <s:complexType name="AuthCredentials">
+		<s:sequence>
+		    <s:element minOccurs="0" maxOccurs="1" name="username" type="s:string"/>
+		    <s:element minOccurs="0" maxOccurs="1" name="password" type="s:string"/>
+		</s:sequence>
+	    </s:complexType>
+	</s:schema>
+    </wsdl:types>
+
+    <wsdl:message name="notificationInput">
+	<wsdl:part name="parameters" element="tns:sendNotification"/>
+    </wsdl:message>
+    <wsdl:message name="notificationOutput">
+	<wsdl:part name="parameters" type="s:string"/>
+    </wsdl:message>
+    <wsdl:message name="sendNotificationAuthCredentials">
+	<wsdl:part name="AuthCredentials" element="tns:AuthCredentials"/>
+    </wsdl:message>
+
+    <wsdl:portType name="NotificationServicePort">
+	<wsdl:operation name="sendNotification">
+	    <wsdl:input message="tns:notificationInput"/>
+	    <wsdl:output message="tns:notificationOutput"/>
+	</wsdl:operation>
+    </wsdl:portType>
+
+    <wsdl:binding name="NotificationServicePort" type="tns:NotificationServicePort">
+	<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
+	<wsdl:operation name="sendNotification">
+	    <soap:operation soapAction="urn://testnotification/sendNotification" style="document"/>
+	    <wsdl:input>
+		<soap:body use="literal"/>
+		<soap:header message="tns:sendNotificationAuthCredentials" part="AuthCredentials" use="literal"/>
+	    </wsdl:input>
+	    <wsdl:output>
+		<soap:body use="literal"/>
+	    </wsdl:output>
+	</wsdl:operation>
+    </wsdl:binding>
+    <wsdl:service name="NotificationService">
+	<wsdl:port name="NotificationServicePort" binding="tns:NotificationServicePort">
+	    <soap:address location="http://localhost:9018/notification"/>
+	</wsdl:port>
+    </wsdl:service>
 </wsdl:definitions>

Propchange: incubator/cxf/trunk/systests/src/test/resources/wsdl/cxf-993.wsdl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/systests/src/test/resources/wsdl/cxf-993.wsdl
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/systests/src/test/resources/wsdl/cxf-993.wsdl
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: incubator/cxf/trunk/systests/src/test/resources/wsdl/mtom.wsdl
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/resources/wsdl/mtom.wsdl?rev=630385&r1=630384&r2=630385&view=diff
==============================================================================
--- incubator/cxf/trunk/systests/src/test/resources/wsdl/mtom.wsdl (original)
+++ incubator/cxf/trunk/systests/src/test/resources/wsdl/mtom.wsdl Fri Feb 22 19:27:26 2008
@@ -1,105 +1,105 @@
-<?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:types="http://apache.org/cxf/systest/mtom_feature/types" 
-		  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://apache.org/cxf/systest/mtom_feature" 
-		  name="jaxws mtom feature"
-		  targetNamespace="http://apache.org/cxf/systest/mtom_feature">
-
-    <wsdl:types>
-	<schema xmlns="http://www.w3.org/2001/XMLSchema" 
-		xmlns:xmime="http://www.w3.org/2005/05/xmlmime" 
-		targetNamespace="http://apache.org/cxf/systest/mtom_feature/types"
-		elementFormDefault="qualified">
-	    <complexType name="DetailType">
-		<sequence>
-		    <element name="photo" type="base64Binary"></element>
-		    <element name="image" type="base64Binary" xmime:expectedContentTypes="image/jpeg"></element>
-		</sequence>
-	    </complexType>
-	    <element name="Detail" type="types:DetailType"></element>
-	    <element name="DetailResponse" type="types:DetailType"></element>
-	    <element name="data" type="base64Binary"></element>
-	</schema>
-    </wsdl:types>
-
-    <wsdl:message name="echoDataIn">
-	<wsdl:part name="data" element="types:data"></wsdl:part>
-    </wsdl:message>
-
-    <wsdl:message name="echoDataOut">
-	<wsdl:part name="data" element="types:data"></wsdl:part>
-    </wsdl:message>
-
-    <wsdl:message name="DetailIn">
-	<wsdl:part name="data" element="types:Detail"></wsdl:part>
-    </wsdl:message>
-
-    <wsdl:message name="DetailOut">
-	<wsdl:part name="data" element="types:DetailResponse"></wsdl:part>
-    </wsdl:message>
-
-    <wsdl:portType name="Hello">
-	<wsdl:operation name="echoData">
-	    <wsdl:input message="tns:echoDataIn"></wsdl:input>
-	    <wsdl:output message="tns:echoDataOut"></wsdl:output>
-	</wsdl:operation>
-
-	<wsdl:operation name="Detail">
-	    <wsdl:input message="tns:DetailIn"></wsdl:input>
-	    <wsdl:output message="tns:DetailOut"></wsdl:output>
-	</wsdl:operation>
-
-    </wsdl:portType>
-
-    <wsdl:binding name="HelloBinding" type="tns:Hello">
-	<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"></soap:binding>
-
-	<wsdl:operation name="echoData">
-	    <soap:operation soapAction=""></soap:operation>
-	    <wsdl:input>
-		<soap:body use="literal"></soap:body>
-	    </wsdl:input>
-	    <wsdl:output>
-		<soap:body use="literal"></soap:body>
-	    </wsdl:output>
-	</wsdl:operation>
-
-	<wsdl:operation name="Detail">
-	    <soap:operation soapAction=""></soap:operation>
-	    <wsdl:input>
-		<soap:body use="literal"></soap:body>
-	    </wsdl:input>
-	    <wsdl:output>
-		<soap:body use="literal"></soap:body>
-	    </wsdl:output>
-	</wsdl:operation>
-
-    </wsdl:binding>
-
-    <wsdl:service name="HelloService">
-	<wsdl:port name="HelloPort" binding="tns:HelloBinding">
-	    <soap:address location="http://localhost:9090/jaxws-mtom/hello"></soap:address>
-	</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:types="http://apache.org/cxf/systest/mtom_feature/types" 
+		  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://apache.org/cxf/systest/mtom_feature" 
+		  name="jaxws mtom feature"
+		  targetNamespace="http://apache.org/cxf/systest/mtom_feature">
+
+    <wsdl:types>
+	<schema xmlns="http://www.w3.org/2001/XMLSchema" 
+		xmlns:xmime="http://www.w3.org/2005/05/xmlmime" 
+		targetNamespace="http://apache.org/cxf/systest/mtom_feature/types"
+		elementFormDefault="qualified">
+	    <complexType name="DetailType">
+		<sequence>
+		    <element name="photo" type="base64Binary"></element>
+		    <element name="image" type="base64Binary" xmime:expectedContentTypes="image/jpeg"></element>
+		</sequence>
+	    </complexType>
+	    <element name="Detail" type="types:DetailType"></element>
+	    <element name="DetailResponse" type="types:DetailType"></element>
+	    <element name="data" type="base64Binary"></element>
+	</schema>
+    </wsdl:types>
+
+    <wsdl:message name="echoDataIn">
+	<wsdl:part name="data" element="types:data"></wsdl:part>
+    </wsdl:message>
+
+    <wsdl:message name="echoDataOut">
+	<wsdl:part name="data" element="types:data"></wsdl:part>
+    </wsdl:message>
+
+    <wsdl:message name="DetailIn">
+	<wsdl:part name="data" element="types:Detail"></wsdl:part>
+    </wsdl:message>
+
+    <wsdl:message name="DetailOut">
+	<wsdl:part name="data" element="types:DetailResponse"></wsdl:part>
+    </wsdl:message>
+
+    <wsdl:portType name="Hello">
+	<wsdl:operation name="echoData">
+	    <wsdl:input message="tns:echoDataIn"></wsdl:input>
+	    <wsdl:output message="tns:echoDataOut"></wsdl:output>
+	</wsdl:operation>
+
+	<wsdl:operation name="Detail">
+	    <wsdl:input message="tns:DetailIn"></wsdl:input>
+	    <wsdl:output message="tns:DetailOut"></wsdl:output>
+	</wsdl:operation>
+
+    </wsdl:portType>
+
+    <wsdl:binding name="HelloBinding" type="tns:Hello">
+	<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"></soap:binding>
+
+	<wsdl:operation name="echoData">
+	    <soap:operation soapAction=""></soap:operation>
+	    <wsdl:input>
+		<soap:body use="literal"></soap:body>
+	    </wsdl:input>
+	    <wsdl:output>
+		<soap:body use="literal"></soap:body>
+	    </wsdl:output>
+	</wsdl:operation>
+
+	<wsdl:operation name="Detail">
+	    <soap:operation soapAction=""></soap:operation>
+	    <wsdl:input>
+		<soap:body use="literal"></soap:body>
+	    </wsdl:input>
+	    <wsdl:output>
+		<soap:body use="literal"></soap:body>
+	    </wsdl:output>
+	</wsdl:operation>
+
+    </wsdl:binding>
+
+    <wsdl:service name="HelloService">
+	<wsdl:port name="HelloPort" binding="tns:HelloBinding">
+	    <soap:address location="http://localhost:9090/jaxws-mtom/hello"></soap:address>
+	</wsdl:port>
+    </wsdl:service>
+
 </wsdl:definitions>

Propchange: incubator/cxf/trunk/systests/src/test/resources/wsdl/mtom.wsdl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/systests/src/test/resources/wsdl/mtom.wsdl
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/systests/src/test/resources/wsdl/mtom.wsdl
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: incubator/cxf/trunk/testutils/src/main/resources/wsdl/cardealer.wsdl
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/testutils/src/main/resources/wsdl/cardealer.wsdl?rev=630385&r1=630384&r2=630385&view=diff
==============================================================================
--- incubator/cxf/trunk/testutils/src/main/resources/wsdl/cardealer.wsdl (original)
+++ incubator/cxf/trunk/testutils/src/main/resources/wsdl/cardealer.wsdl Fri Feb 22 19:27:26 2008
@@ -1,114 +1,114 @@
-<?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:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
-	     xmlns:tns="http://apache.org/type_substitution/" 
-	     xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
-	     xmlns="http://schemas.xmlsoap.org/wsdl/" 
-	     targetNamespace="http://apache.org/type_substitution/" name="CarDealerService">
-    <types>
-	<xsd:schema targetNamespace="http://apache.org/type_substitution/">
-	    <xsd:element name="getSedans" type="tns:getSedans"></xsd:element>
-
-	    <xsd:element name="getSedansResponse" type="tns:getSedansResponse"></xsd:element>
-
-	    <xsd:element name="tradeIn" type="tns:car"></xsd:element>
-
-	    <xsd:element name="tradeInResponse" type="tns:car"></xsd:element>
-
-	    <xsd:complexType name="car" abstract="true">
-		<xsd:sequence>
-		    <xsd:element name="make" type="xsd:string" minOccurs="0"></xsd:element>
-		    <xsd:element name="model" type="xsd:string" minOccurs="0"></xsd:element>
-		    <xsd:element name="year" type="xsd:string" minOccurs="0"></xsd:element>
-		</xsd:sequence>
-	    </xsd:complexType>
-
-	    <xsd:complexType name="porsche">
-		<xsd:complexContent>
-		    <xsd:extension base="tns:car">
-			<xsd:sequence>
-			    <xsd:element name="color" type="xsd:string" minOccurs="0"></xsd:element>
-			</xsd:sequence>
-		    </xsd:extension>
-		</xsd:complexContent>
-	    </xsd:complexType>
-
-	    <xsd:complexType name="getSedans">
-		<xsd:sequence>
-		    <xsd:element name="arg0" type="xsd:string" minOccurs="0"></xsd:element>
-		</xsd:sequence>
-	    </xsd:complexType>
-
-	    <xsd:complexType name="getSedansResponse">
-		<xsd:sequence>
-		    <xsd:element name="return" type="tns:car" nillable="true" minOccurs="0" maxOccurs="unbounded"></xsd:element>
-		</xsd:sequence>
-	    </xsd:complexType>
-	</xsd:schema>
-    </types>
-    <message name="getSedans">
-	<part name="parameters" element="tns:getSedans"></part>
-    </message>
-    <message name="getSedansResponse">
-	<part name="parameters" element="tns:getSedansResponse"></part>
-    </message>
-    <message name="tradeIn">
-	<part name="tradeIn" element="tns:tradeIn"></part>
-    </message>
-    <message name="tradeInResponse">
-	<part name="tradeInResponse" element="tns:tradeInResponse"></part>
-    </message>
-    <portType name="CarDealer">
-	<operation name="getSedans">
-	    <input message="tns:getSedans"></input>
-	    <output message="tns:getSedansResponse"></output>
-	</operation>
-	<operation name="tradeIn">
-	    <input message="tns:tradeIn"></input>
-	    <output message="tns:tradeInResponse"></output>
-	</operation>
-    </portType>
-    <binding name="CarDealerPortBinding" type="tns:CarDealer">
-	<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"></soap:binding>
-	<operation name="getSedans">
-	    <soap:operation soapAction=""></soap:operation>
-	    <input>
-		<soap:body use="literal"></soap:body>
-	    </input>
-	    <output>
-		<soap:body use="literal"></soap:body>
-	    </output>
-	</operation>
-	<operation name="tradeIn">
-	    <soap:operation soapAction=""></soap:operation>
-	    <input>
-		<soap:body use="literal"></soap:body>
-	    </input>
-	    <output>
-		<soap:body use="literal"></soap:body>
-	    </output>
-	</operation>
-    </binding>
-    <service name="CarDealerService">
-	<port name="CarDealerPort" binding="tns:CarDealerPortBinding">
-	    <soap:address location="http://localhost:9070/jaxws-type_substitution/cardealer"></soap:address>
-	</port>
-    </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.
+-->
+<definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
+	     xmlns:tns="http://apache.org/type_substitution/" 
+	     xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
+	     xmlns="http://schemas.xmlsoap.org/wsdl/" 
+	     targetNamespace="http://apache.org/type_substitution/" name="CarDealerService">
+    <types>
+	<xsd:schema targetNamespace="http://apache.org/type_substitution/">
+	    <xsd:element name="getSedans" type="tns:getSedans"></xsd:element>
+
+	    <xsd:element name="getSedansResponse" type="tns:getSedansResponse"></xsd:element>
+
+	    <xsd:element name="tradeIn" type="tns:car"></xsd:element>
+
+	    <xsd:element name="tradeInResponse" type="tns:car"></xsd:element>
+
+	    <xsd:complexType name="car" abstract="true">
+		<xsd:sequence>
+		    <xsd:element name="make" type="xsd:string" minOccurs="0"></xsd:element>
+		    <xsd:element name="model" type="xsd:string" minOccurs="0"></xsd:element>
+		    <xsd:element name="year" type="xsd:string" minOccurs="0"></xsd:element>
+		</xsd:sequence>
+	    </xsd:complexType>
+
+	    <xsd:complexType name="porsche">
+		<xsd:complexContent>
+		    <xsd:extension base="tns:car">
+			<xsd:sequence>
+			    <xsd:element name="color" type="xsd:string" minOccurs="0"></xsd:element>
+			</xsd:sequence>
+		    </xsd:extension>
+		</xsd:complexContent>
+	    </xsd:complexType>
+
+	    <xsd:complexType name="getSedans">
+		<xsd:sequence>
+		    <xsd:element name="arg0" type="xsd:string" minOccurs="0"></xsd:element>
+		</xsd:sequence>
+	    </xsd:complexType>
+
+	    <xsd:complexType name="getSedansResponse">
+		<xsd:sequence>
+		    <xsd:element name="return" type="tns:car" nillable="true" minOccurs="0" maxOccurs="unbounded"></xsd:element>
+		</xsd:sequence>
+	    </xsd:complexType>
+	</xsd:schema>
+    </types>
+    <message name="getSedans">
+	<part name="parameters" element="tns:getSedans"></part>
+    </message>
+    <message name="getSedansResponse">
+	<part name="parameters" element="tns:getSedansResponse"></part>
+    </message>
+    <message name="tradeIn">
+	<part name="tradeIn" element="tns:tradeIn"></part>
+    </message>
+    <message name="tradeInResponse">
+	<part name="tradeInResponse" element="tns:tradeInResponse"></part>
+    </message>
+    <portType name="CarDealer">
+	<operation name="getSedans">
+	    <input message="tns:getSedans"></input>
+	    <output message="tns:getSedansResponse"></output>
+	</operation>
+	<operation name="tradeIn">
+	    <input message="tns:tradeIn"></input>
+	    <output message="tns:tradeInResponse"></output>
+	</operation>
+    </portType>
+    <binding name="CarDealerPortBinding" type="tns:CarDealer">
+	<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"></soap:binding>
+	<operation name="getSedans">
+	    <soap:operation soapAction=""></soap:operation>
+	    <input>
+		<soap:body use="literal"></soap:body>
+	    </input>
+	    <output>
+		<soap:body use="literal"></soap:body>
+	    </output>
+	</operation>
+	<operation name="tradeIn">
+	    <soap:operation soapAction=""></soap:operation>
+	    <input>
+		<soap:body use="literal"></soap:body>
+	    </input>
+	    <output>
+		<soap:body use="literal"></soap:body>
+	    </output>
+	</operation>
+    </binding>
+    <service name="CarDealerService">
+	<port name="CarDealerPort" binding="tns:CarDealerPortBinding">
+	    <soap:address location="http://localhost:9070/jaxws-type_substitution/cardealer"></soap:address>
+	</port>
+    </service>
 </definitions>



Mime
View raw message