cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r630385 [1/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
Author: dkulp
Date: Fri Feb 22 19:27:26 2008
New Revision: 630385

URL: http://svn.apache.org/viewvc?rev=630385&view=rev
Log:
Rest of svn properties cleanup

Modified:
    incubator/cxf/trunk/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/WsdlOptionLoader.java   (contents, props changed)
    incubator/cxf/trunk/maven-plugins/java2ws-plugin/pom.xml   (contents, props changed)
    incubator/cxf/trunk/maven-plugins/java2ws-plugin/src/main/java/org/apache/cxf/maven_plugin/Java2WSMojo.java   (contents, props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/cxf1226/HelloWorld.java   (contents, props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/cxf1226/HelloWorldImpl.java   (contents, props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/cxf1226/MissingQualification1226Test.java   (contents, props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/cxf1226/beans.xml   (contents, props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/cxf1226/package-info.java   (contents, props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/cxf993/Cxf993Impl.java   (contents, props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/cxf993/Cxf993Test.java   (contents, props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/cxf993/Server.java   (contents, props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/fault/GreeterImpl.java   (contents, props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/fault/IntFaultClientServerTest.java   (contents, props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/fault/Server.java   (contents, props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/mtom_bindingtype/HelloImpl.java   (contents, props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/mtom_bindingtype/MTOMBindingTypeTest.java   (contents, props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/mtom_bindingtype/Server.java   (contents, props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/mtom_feature/HelloImpl.java   (contents, props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/mtom_feature/ImageHelper.java   (contents, props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/mtom_feature/MtomFeatureClientServerTest.java   (contents, props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/mtom_feature/Server.java   (contents, props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/nested_callback/CallbackClientServerTest.java   (props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/nested_callback/CallbackImpl.java   (props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/nested_callback/Server.java   (props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/nested_callback/ServerImpl.java   (props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/stringarray/Server.java   (contents, props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/stringarray/StringArrayTest.java   (contents, props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/stringarray/StringArrayTestImpl.java   (contents, props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_substitution/Apple.java   (props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_substitution/AppleAdapter.java   (contents, props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_substitution/AppleFindClientServerTest.java   (contents, props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_substitution/AppleFinder.java   (props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_substitution/AppleFinderImpl.java   (props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_substitution/AppleServer.java   (contents, props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_substitution/CarDealerImpl.java   (contents, props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_substitution/Fruit.java   (props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_substitution/Fuji.java   (props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_substitution/Server.java   (contents, props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_substitution/TypeSubClientServerTest.java   (contents, props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/AbstractWSATestBase.java   (contents, props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/addr_disable/AddNumberImpl.java   (contents, props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/addr_disable/Server.java   (contents, props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/addr_disable/WSADisableTest.java   (contents, props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/addr_feature/AddNumberImpl.java   (contents, props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/addr_feature/AddNumbersException.java   (contents, props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/addr_feature/Server.java   (contents, props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/addr_feature/WSAClientServerTest.java   (contents, props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/addr_fromjava/WSAFromJavaTest.java   (contents, props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/addr_fromjava/server/AddNumberImpl.java   (contents, props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/addr_fromjava/server/AddNumbersException.java   (contents, props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/addr_fromjava/server/Server.java   (contents, props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/addr_fromwsdl/AddNumberImpl.java   (contents, props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/addr_fromwsdl/Server.java   (contents, props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/addr_fromwsdl/WSAFromWSDLTest.java   (contents, props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/addr_wsdl/AddNumberImpl.java   (contents, props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/addr_wsdl/Server.java   (contents, props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/addr_wsdl/WSAPureWsdlTest.java   (contents, props changed)
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/wsdl/TestCrossSchemaImports.java   (props changed)
    incubator/cxf/trunk/systests/src/test/resources/crossSchemaBeans.xml   (props changed)
    incubator/cxf/trunk/systests/src/test/resources/java.jpg   (props changed)
    incubator/cxf/trunk/systests/src/test/resources/wsdl/add_numbers-fromjava.wsdl   (contents, props changed)
    incubator/cxf/trunk/systests/src/test/resources/wsdl/add_numbers.wsdl   (contents, props changed)
    incubator/cxf/trunk/systests/src/test/resources/wsdl/cxf-993.wsdl   (contents, props changed)
    incubator/cxf/trunk/systests/src/test/resources/wsdl/mtom.wsdl   (contents, props changed)
    incubator/cxf/trunk/testutils/src/main/resources/wsdl/cardealer.wsdl   (contents, props changed)
    incubator/cxf/trunk/testutils/src/main/resources/wsdl/hello_world_async-binding.xml   (contents, props changed)
    incubator/cxf/trunk/testutils/src/main/resources/wsdl/hello_world_bindings.wsdl.xml   (contents, props changed)
    incubator/cxf/trunk/testutils/src/main/resources/wsdl/hello_world_fault.wsdl   (contents, props changed)
    incubator/cxf/trunk/testutils/src/main/resources/wsdl/hello_world_messages.wsdl.xml   (contents, props changed)
    incubator/cxf/trunk/testutils/src/main/resources/wsdl/hello_world_wsdl_import.wsdl.xml   (contents, props changed)
    incubator/cxf/trunk/testutils/src/main/resources/wsdl/nested_callback.wsdl   (props changed)
    incubator/cxf/trunk/testutils/src/main/resources/wsdl/others/dynamic_client_base64.wsdl   (contents, props changed)
    incubator/cxf/trunk/testutils/src/main/resources/wsdl/string_array_test.wsdl   (contents, props changed)

Modified: incubator/cxf/trunk/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/WsdlOptionLoader.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/WsdlOptionLoader.java?rev=630385&r1=630384&r2=630385&view=diff
==============================================================================
--- incubator/cxf/trunk/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/WsdlOptionLoader.java (original)
+++ incubator/cxf/trunk/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/WsdlOptionLoader.java Fri Feb 22 19:27:26 2008
@@ -1,153 +1,153 @@
-/**
- * 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.maven_plugin;
-
-import java.io.File;
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.List;
-
-import org.apache.cxf.helpers.CastUtils;
-import org.apache.cxf.helpers.FileUtils;
-import org.apache.maven.plugin.MojoExecutionException;
-
-/**
-   This class was ported from fAnt wsdl2java task
-   http://code.google.com/p/fant/
- */
-
-public final class WsdlOptionLoader {
-    private static final String WSDL_OPTIONS = "-options$";
-    private static final String WSDL_BINDINGS = "-binding-?\\d*.xml$";
-
-    
-    private String getIncludeExcludeString(String[] arr) {
-        if (arr == null) {
-            return "";
-        }
-        StringBuilder str = new StringBuilder();
-
-        if (arr != null) {
-            for (String s : arr) {
-                if (str.length() > 0) {
-                    str.append(',');
-                }
-                str.append(s);
-            }
-        }
-        return str.toString();
-    }
-    
-    public List<WsdlOption> load(String wsdlRoot) throws MojoExecutionException {
-        return load(new File(wsdlRoot), new String[] {"*.wsdl"}, null);
-    }
-
-    public List<WsdlOption> load(File wsdlBasedir, String includes[], String excludes[])
-        throws MojoExecutionException {
-        
-        if (wsdlBasedir == null) {
-            return new ArrayList<WsdlOption>();
-        }
-
-        if (!wsdlBasedir.exists()) {
-            throw new MojoExecutionException(wsdlBasedir + " not exists");
-        }
-
-        return findJobs(wsdlBasedir, getWsdlFiles(wsdlBasedir, includes, excludes));
-    }
-
-    private List<File> getWsdlFiles(File dir, String includes[], String excludes[])
-        throws MojoExecutionException {
-        
-        List<String> exList = new ArrayList<String>();
-        if (excludes != null) {
-            exList.addAll(Arrays.asList(excludes));
-        }
-        exList.addAll(Arrays.asList(org.codehaus.plexus.util.FileUtils.getDefaultExcludes()));
-        
-        String inc = getIncludeExcludeString(includes);
-        String ex = getIncludeExcludeString(exList.toArray(new String[exList.size()]));
-        
-        try {
-            List newfiles = org.codehaus.plexus.util.FileUtils.getFiles(dir, inc, ex);
-            return CastUtils.cast(newfiles);
-        } catch (IOException exc) {
-            throw new MojoExecutionException(exc.getMessage(), exc);
-        }
-    }
-
-    private File getOptions(File dir, String pattern) {
-        List<File> files = FileUtils.getFiles(dir, pattern);
-        if (files.size() > 0) {
-            return files.iterator().next();
-        }
-        return null;
-    }
-
-    private List<File> getBindingFiles(File dir, String pattern) {
-        return FileUtils.getFiles(dir, pattern);
-    }
-
-    protected List<WsdlOption> findJobs(File dir, List<File> wsdlFiles) {
-        List<WsdlOption> jobs = new ArrayList<WsdlOption>();
-
-        for (File wsdl : wsdlFiles) {
-            if (wsdl == null || !wsdl.exists()) {
-                continue;
-            }
-
-            String wsdlName = wsdl.getName();
-            wsdlName = wsdlName.substring(0, wsdlName.indexOf(".wsdl"));
-            File options = getOptions(dir, wsdlName + WSDL_OPTIONS);
-            List<File> bindings = getBindingFiles(dir, wsdlName + WSDL_BINDINGS);
-
-            jobs.add(generateWsdlOption(wsdl, bindings, options));
-        }
-        return jobs;
-    }
-
-    protected WsdlOption generateWsdlOption(final File wsdl, 
-                                            final List<File> bindingFiles, 
-                                            final File options) {
-        WsdlOption wsdlOption = new WsdlOption();
-
-        if (bindingFiles != null) {
-            for (File binding : bindingFiles) {
-                wsdlOption.getExtraargs().add("-b");
-                wsdlOption.getExtraargs().add(binding.toString());
-            }
-        }
-
-        if (options != null && options.exists()) {
-            try {
-                List<String> lines = FileUtils.readLines(options);
-                if (lines.size() > 0) {
-                    wsdlOption.getExtraargs().addAll(Arrays.asList(lines.iterator().next().split(" ")));
-                }
-            } catch (Exception e) {
-                e.printStackTrace();
-            }
-        }
-        wsdlOption.setWsdl(wsdl.toString());
-        
-        return wsdlOption;
-    }
+/**
+ * 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.maven_plugin;
+
+import java.io.File;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.List;
+
+import org.apache.cxf.helpers.CastUtils;
+import org.apache.cxf.helpers.FileUtils;
+import org.apache.maven.plugin.MojoExecutionException;
+
+/**
+   This class was ported from fAnt wsdl2java task
+   http://code.google.com/p/fant/
+ */
+
+public final class WsdlOptionLoader {
+    private static final String WSDL_OPTIONS = "-options$";
+    private static final String WSDL_BINDINGS = "-binding-?\\d*.xml$";
+
+    
+    private String getIncludeExcludeString(String[] arr) {
+        if (arr == null) {
+            return "";
+        }
+        StringBuilder str = new StringBuilder();
+
+        if (arr != null) {
+            for (String s : arr) {
+                if (str.length() > 0) {
+                    str.append(',');
+                }
+                str.append(s);
+            }
+        }
+        return str.toString();
+    }
+    
+    public List<WsdlOption> load(String wsdlRoot) throws MojoExecutionException {
+        return load(new File(wsdlRoot), new String[] {"*.wsdl"}, null);
+    }
+
+    public List<WsdlOption> load(File wsdlBasedir, String includes[], String excludes[])
+        throws MojoExecutionException {
+        
+        if (wsdlBasedir == null) {
+            return new ArrayList<WsdlOption>();
+        }
+
+        if (!wsdlBasedir.exists()) {
+            throw new MojoExecutionException(wsdlBasedir + " not exists");
+        }
+
+        return findJobs(wsdlBasedir, getWsdlFiles(wsdlBasedir, includes, excludes));
+    }
+
+    private List<File> getWsdlFiles(File dir, String includes[], String excludes[])
+        throws MojoExecutionException {
+        
+        List<String> exList = new ArrayList<String>();
+        if (excludes != null) {
+            exList.addAll(Arrays.asList(excludes));
+        }
+        exList.addAll(Arrays.asList(org.codehaus.plexus.util.FileUtils.getDefaultExcludes()));
+        
+        String inc = getIncludeExcludeString(includes);
+        String ex = getIncludeExcludeString(exList.toArray(new String[exList.size()]));
+        
+        try {
+            List newfiles = org.codehaus.plexus.util.FileUtils.getFiles(dir, inc, ex);
+            return CastUtils.cast(newfiles);
+        } catch (IOException exc) {
+            throw new MojoExecutionException(exc.getMessage(), exc);
+        }
+    }
+
+    private File getOptions(File dir, String pattern) {
+        List<File> files = FileUtils.getFiles(dir, pattern);
+        if (files.size() > 0) {
+            return files.iterator().next();
+        }
+        return null;
+    }
+
+    private List<File> getBindingFiles(File dir, String pattern) {
+        return FileUtils.getFiles(dir, pattern);
+    }
+
+    protected List<WsdlOption> findJobs(File dir, List<File> wsdlFiles) {
+        List<WsdlOption> jobs = new ArrayList<WsdlOption>();
+
+        for (File wsdl : wsdlFiles) {
+            if (wsdl == null || !wsdl.exists()) {
+                continue;
+            }
+
+            String wsdlName = wsdl.getName();
+            wsdlName = wsdlName.substring(0, wsdlName.indexOf(".wsdl"));
+            File options = getOptions(dir, wsdlName + WSDL_OPTIONS);
+            List<File> bindings = getBindingFiles(dir, wsdlName + WSDL_BINDINGS);
+
+            jobs.add(generateWsdlOption(wsdl, bindings, options));
+        }
+        return jobs;
+    }
+
+    protected WsdlOption generateWsdlOption(final File wsdl, 
+                                            final List<File> bindingFiles, 
+                                            final File options) {
+        WsdlOption wsdlOption = new WsdlOption();
+
+        if (bindingFiles != null) {
+            for (File binding : bindingFiles) {
+                wsdlOption.getExtraargs().add("-b");
+                wsdlOption.getExtraargs().add(binding.toString());
+            }
+        }
+
+        if (options != null && options.exists()) {
+            try {
+                List<String> lines = FileUtils.readLines(options);
+                if (lines.size() > 0) {
+                    wsdlOption.getExtraargs().addAll(Arrays.asList(lines.iterator().next().split(" ")));
+                }
+            } catch (Exception e) {
+                e.printStackTrace();
+            }
+        }
+        wsdlOption.setWsdl(wsdl.toString());
+        
+        return wsdlOption;
+    }
 }

Propchange: incubator/cxf/trunk/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/WsdlOptionLoader.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/WsdlOptionLoader.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: incubator/cxf/trunk/maven-plugins/java2ws-plugin/pom.xml
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/maven-plugins/java2ws-plugin/pom.xml?rev=630385&r1=630384&r2=630385&view=diff
==============================================================================
--- incubator/cxf/trunk/maven-plugins/java2ws-plugin/pom.xml (original)
+++ incubator/cxf/trunk/maven-plugins/java2ws-plugin/pom.xml Fri Feb 22 19:27:26 2008
@@ -1,115 +1,115 @@
-<?xml version="1.0"?>
-<!--
-  licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements. See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership. The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License. You may obtain a copy of the License at
-
-  http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied. See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-    <modelVersion>4.0.0</modelVersion>
-    <groupId>org.apache.cxf</groupId>
-    <artifactId>cxf-java2ws-plugin</artifactId>
-    <packaging>maven-plugin</packaging>
-    <version>2.1-incubator-SNAPSHOT</version>
-    <name>Apache CXF Java2WS Maven2 Plugin</name>
-    <url>http://cwiki.apache.org/CXF</url>
-
-
-    <parent>
-        <groupId>org.apache.cxf</groupId>
-        <artifactId>cxf-parent</artifactId>
-        <version>2.1-incubator-SNAPSHOT</version>
-        <relativePath>../../parent/pom.xml</relativePath>
-    </parent>
-
-    <dependencies>
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <scope>test</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.maven</groupId>
-            <artifactId>maven-plugin-api</artifactId>
-            <scope>provided</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.maven</groupId>
-            <artifactId>maven-project</artifactId>
-            <scope>provided</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.maven</groupId>
-            <artifactId>maven-artifact</artifactId>
-            <scope>provided</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.cxf</groupId>
-            <artifactId>cxf-tools-common</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.cxf</groupId>
-            <artifactId>cxf-common-utilities</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-
-        <!--dependency>
-            <groupId>org.apache.cxf</groupId>
-            <artifactId>cxf-tools-wsdlto-databinding-jaxb</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.cxf</groupId>
-            <artifactId>cxf-tools-wsdlto-frontend-jaxws</artifactId>
-            <version>${project.version}</version>
-        </dependency-->
-
-        <dependency>
-            <groupId>org.apache.cxf</groupId>
-            <artifactId>cxf-tools-java2ws</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-                     
-        <dependency>
-            <groupId>ant</groupId>
-            <artifactId>ant</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>ant</groupId>
-            <artifactId>ant-nodeps</artifactId>
-        </dependency>
-    </dependencies>
-
-    <!-- will remove this after it is got sync to central repository -->
-    <repositories>
-        <repository>
-            <id>java.net</id>
-            <url>http://download.java.net/maven/1/</url>
-            <layout>legacy</layout>
-        </repository>
-    </repositories>
-
-    <scm>
-        <connection>scm:svn:http://svn.apache.org/repos/asf/incubator/cxf/trunk/maven-plugins/java2ws-plugin</connection>
-        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/incubator/cxf/trunk/maven-plugins/java2ws-plugin</developerConnection>
-        <url>http://svn.apache.org/viewvc/incubator/cxf/trunk/cxf-parent/cxf-java2ws-plugin</url>
-  </scm>
-
+<?xml version="1.0"?>
+<!--
+  licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements. See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership. The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License. You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied. See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <groupId>org.apache.cxf</groupId>
+    <artifactId>cxf-java2ws-plugin</artifactId>
+    <packaging>maven-plugin</packaging>
+    <version>2.1-incubator-SNAPSHOT</version>
+    <name>Apache CXF Java2WS Maven2 Plugin</name>
+    <url>http://cwiki.apache.org/CXF</url>
+
+
+    <parent>
+        <groupId>org.apache.cxf</groupId>
+        <artifactId>cxf-parent</artifactId>
+        <version>2.1-incubator-SNAPSHOT</version>
+        <relativePath>../../parent/pom.xml</relativePath>
+    </parent>
+
+    <dependencies>
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <scope>test</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.maven</groupId>
+            <artifactId>maven-plugin-api</artifactId>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.maven</groupId>
+            <artifactId>maven-project</artifactId>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.maven</groupId>
+            <artifactId>maven-artifact</artifactId>
+            <scope>provided</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.cxf</groupId>
+            <artifactId>cxf-tools-common</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.cxf</groupId>
+            <artifactId>cxf-common-utilities</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+
+        <!--dependency>
+            <groupId>org.apache.cxf</groupId>
+            <artifactId>cxf-tools-wsdlto-databinding-jaxb</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.cxf</groupId>
+            <artifactId>cxf-tools-wsdlto-frontend-jaxws</artifactId>
+            <version>${project.version}</version>
+        </dependency-->
+
+        <dependency>
+            <groupId>org.apache.cxf</groupId>
+            <artifactId>cxf-tools-java2ws</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+                     
+        <dependency>
+            <groupId>ant</groupId>
+            <artifactId>ant</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>ant</groupId>
+            <artifactId>ant-nodeps</artifactId>
+        </dependency>
+    </dependencies>
+
+    <!-- will remove this after it is got sync to central repository -->
+    <repositories>
+        <repository>
+            <id>java.net</id>
+            <url>http://download.java.net/maven/1/</url>
+            <layout>legacy</layout>
+        </repository>
+    </repositories>
+
+    <scm>
+        <connection>scm:svn:http://svn.apache.org/repos/asf/incubator/cxf/trunk/maven-plugins/java2ws-plugin</connection>
+        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/incubator/cxf/trunk/maven-plugins/java2ws-plugin</developerConnection>
+        <url>http://svn.apache.org/viewvc/incubator/cxf/trunk/cxf-parent/cxf-java2ws-plugin</url>
+  </scm>
+
 </project>

Propchange: incubator/cxf/trunk/maven-plugins/java2ws-plugin/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/maven-plugins/java2ws-plugin/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/maven-plugins/java2ws-plugin/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: incubator/cxf/trunk/maven-plugins/java2ws-plugin/src/main/java/org/apache/cxf/maven_plugin/Java2WSMojo.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/maven-plugins/java2ws-plugin/src/main/java/org/apache/cxf/maven_plugin/Java2WSMojo.java?rev=630385&r1=630384&r2=630385&view=diff
==============================================================================
--- incubator/cxf/trunk/maven-plugins/java2ws-plugin/src/main/java/org/apache/cxf/maven_plugin/Java2WSMojo.java (original)
+++ incubator/cxf/trunk/maven-plugins/java2ws-plugin/src/main/java/org/apache/cxf/maven_plugin/Java2WSMojo.java Fri Feb 22 19:27:26 2008
@@ -1,265 +1,265 @@
-/**
- * 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.maven_plugin;
-
-import java.io.File;
-import java.util.ArrayList;
-import java.util.List;
-import java.util.StringTokenizer;
-
-import org.apache.cxf.helpers.FileUtils;
-import org.apache.cxf.tools.java2ws.JavaToWS;
-import org.apache.maven.plugin.AbstractMojo;
-import org.apache.maven.plugin.MojoExecutionException;
-import org.apache.maven.project.MavenProject;
-import org.apache.tools.ant.ExitException;
-import org.apache.tools.ant.util.optional.NoExitSecurityManager;
-
-/**
- * @goal java2ws
- * @description CXF Java To Webservice Tool
- */
-public class Java2WSMojo extends AbstractMojo {
-    /**
-     * @parameter 
-     * @required
-     */
-    private String className;
-
-    /**
-     * @parameter  expression="${project.build.outputDirectory}"
-     * @required
-     */
-    private String classpath;
-
-    /**
-     * @parameter
-     */
-    private String outputFile;
-    
-    /**
-     * @parameter
-     */
-    private Boolean soap12;
-
-    /**
-     * @parameter
-     */
-    private String targetNamespace;
-
-    /**
-     * @parameter
-     */
-    private String serviceName;
-
-    /**
-     * @parameter
-     */
-    private Boolean verbose;
-
-    /**
-     * @parameter
-     */
-    private Boolean quiet;
-
-    /**
-     * @parameter  expression="${project.compileClasspathElements}"
-     * @required
-     */
-    private List classpathElements;
-
-    /**
-     * @parameter expression="${project}"
-     * @required
-     */
-    private MavenProject project;
-
-    /**
-     * @parameter
-     */
-    private String argline;
-    
-    /**
-     * @parameter
-     */
-    private String frontend;
-    
-    /**
-     * @parameter
-     */
-    private String databinding;
-    /**
-     * @parameter default-value="false"
-     */
-    private Boolean genWsdl;
-    /**
-     * @parameter default-value="false"
-     */
-    private Boolean genServer;
-    /**
-     * @parameter default-value="false"
-     */
-    private Boolean genClient;
-    /**
-     * @parameter default-value="false"
-     */
-    private Boolean genWrapperbean;
-    
-    
-    public void execute() throws MojoExecutionException {
-        StringBuffer buf = new StringBuffer();
-        for (Object classpathElement : classpathElements) {
-            buf.append(classpathElement.toString());
-            buf.append(File.pathSeparatorChar);
-        }
-        String newCp = buf.toString();
-        String cp = System.getProperty("java.class.path");
-        SecurityManager oldSm = System.getSecurityManager();
-        try {
-            System.setProperty("java.class.path", newCp);
-            System.setSecurityManager(new NoExitSecurityManager());
-            processJavaClass();
-        } finally {
-            System.setSecurityManager(oldSm);
-            System.setProperty("java.class.path", cp);
-        }
-
-        System.gc();
-    }
-
-    private void processJavaClass() throws MojoExecutionException {
-        List<String> args = new ArrayList<String>();
-
-        // outputfile arg
-        if (outputFile == null && project != null) {
-            // Put the wsdl in target/generated/wsdl
-            int i = className.lastIndexOf('.');
-            // Prone to OoBE, but then it's wrong anyway
-            String name = className.substring(i + 1); 
-            outputFile = (project.getBuild().getDirectory() + "/generated/wsdl/" + name + ".wsdl")
-                .replace("/", File.separator);
-        }
-        if (outputFile != null) {
-            // JavaToWSDL freaks out if the directory of the outputfile doesn't exist, so lets
-            // create it since there's no easy way for the user to create it beforehand in maven
-            FileUtils.mkDir(new File(outputFile).getParentFile());
-            args.add("-o");
-            args.add(outputFile);
-
-            /*
-              Contributor's comment:
-              Sometimes JavaToWSDL creates Java code for the wrappers.  I don't *think* this is
-              needed by the end user.
-            */
-            
-            // Commiter's comment:
-            // Yes, it's required, it's defined in the JAXWS spec.
-
-            if (project != null) {
-                project.addCompileSourceRoot(new File(outputFile).getParentFile().getAbsolutePath());
-            }
-        }
-        
-        if (frontend != null) {
-            args.add("-frontend");
-            args.add(frontend);
-        }
-        
-        if (databinding != null) {
-            args.add("-databinding");
-            args.add(databinding);
-        }
-        
-        if (genWrapperbean) {
-            args.add("-wrapperbean");
-        }
-        
-        if (genWsdl) {
-            args.add("-wsdl");
-        }
-        
-        if (genServer) {
-            args.add("-server");
-        }
-        
-        if (genClient) {
-            args.add("-client");
-        }
-        
-        // classpath arg
-        args.add("-cp");
-        args.add(classpath);
-
-        // soap12 arg
-        if (soap12 != null && soap12.booleanValue()) {
-            args.add("-soap12");
-        }
-
-        // target namespace arg
-        if (targetNamespace != null) {
-            args.add("-t");
-            args.add(targetNamespace);
-        }
-
-        // servicename arg
-        if (serviceName != null) {
-            args.add("-servicename");
-            args.add(serviceName);
-        }
-
-        // verbose arg
-        if (verbose != null && verbose.booleanValue()) {
-            args.add("-verbose");
-        }
-
-        // quiet arg
-        if (quiet != null && quiet.booleanValue()) {
-            args.add("-quiet");
-        }
-
-        if (argline != null) {
-            StringTokenizer stoken = new StringTokenizer(argline, " ");
-            while (stoken.hasMoreTokens()) {
-                args.add(stoken.nextToken());
-            }
-        }
-
-        // classname arg
-        args.add(className);
-
-        try {
-            String exitOnFinish = System.getProperty("exitOnFinish", "");
-            try {
-                System.setProperty("exitOnFinish", "YES");
-                JavaToWS.main(args.toArray(new String[args.size()]));
-            } catch (ExitException e) {
-                if (e.getStatus() != 0) {
-                    throw e;
-                }
-            } finally {
-                System.setProperty("exitOnFinish", exitOnFinish);
-            }
-        } catch (Throwable e) {
-            getLog().debug(e);
-            throw new MojoExecutionException(e.getMessage(), e);
-        }
-    }
-       
+/**
+ * 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.maven_plugin;
+
+import java.io.File;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.StringTokenizer;
+
+import org.apache.cxf.helpers.FileUtils;
+import org.apache.cxf.tools.java2ws.JavaToWS;
+import org.apache.maven.plugin.AbstractMojo;
+import org.apache.maven.plugin.MojoExecutionException;
+import org.apache.maven.project.MavenProject;
+import org.apache.tools.ant.ExitException;
+import org.apache.tools.ant.util.optional.NoExitSecurityManager;
+
+/**
+ * @goal java2ws
+ * @description CXF Java To Webservice Tool
+ */
+public class Java2WSMojo extends AbstractMojo {
+    /**
+     * @parameter 
+     * @required
+     */
+    private String className;
+
+    /**
+     * @parameter  expression="${project.build.outputDirectory}"
+     * @required
+     */
+    private String classpath;
+
+    /**
+     * @parameter
+     */
+    private String outputFile;
+    
+    /**
+     * @parameter
+     */
+    private Boolean soap12;
+
+    /**
+     * @parameter
+     */
+    private String targetNamespace;
+
+    /**
+     * @parameter
+     */
+    private String serviceName;
+
+    /**
+     * @parameter
+     */
+    private Boolean verbose;
+
+    /**
+     * @parameter
+     */
+    private Boolean quiet;
+
+    /**
+     * @parameter  expression="${project.compileClasspathElements}"
+     * @required
+     */
+    private List classpathElements;
+
+    /**
+     * @parameter expression="${project}"
+     * @required
+     */
+    private MavenProject project;
+
+    /**
+     * @parameter
+     */
+    private String argline;
+    
+    /**
+     * @parameter
+     */
+    private String frontend;
+    
+    /**
+     * @parameter
+     */
+    private String databinding;
+    /**
+     * @parameter default-value="false"
+     */
+    private Boolean genWsdl;
+    /**
+     * @parameter default-value="false"
+     */
+    private Boolean genServer;
+    /**
+     * @parameter default-value="false"
+     */
+    private Boolean genClient;
+    /**
+     * @parameter default-value="false"
+     */
+    private Boolean genWrapperbean;
+    
+    
+    public void execute() throws MojoExecutionException {
+        StringBuffer buf = new StringBuffer();
+        for (Object classpathElement : classpathElements) {
+            buf.append(classpathElement.toString());
+            buf.append(File.pathSeparatorChar);
+        }
+        String newCp = buf.toString();
+        String cp = System.getProperty("java.class.path");
+        SecurityManager oldSm = System.getSecurityManager();
+        try {
+            System.setProperty("java.class.path", newCp);
+            System.setSecurityManager(new NoExitSecurityManager());
+            processJavaClass();
+        } finally {
+            System.setSecurityManager(oldSm);
+            System.setProperty("java.class.path", cp);
+        }
+
+        System.gc();
+    }
+
+    private void processJavaClass() throws MojoExecutionException {
+        List<String> args = new ArrayList<String>();
+
+        // outputfile arg
+        if (outputFile == null && project != null) {
+            // Put the wsdl in target/generated/wsdl
+            int i = className.lastIndexOf('.');
+            // Prone to OoBE, but then it's wrong anyway
+            String name = className.substring(i + 1); 
+            outputFile = (project.getBuild().getDirectory() + "/generated/wsdl/" + name + ".wsdl")
+                .replace("/", File.separator);
+        }
+        if (outputFile != null) {
+            // JavaToWSDL freaks out if the directory of the outputfile doesn't exist, so lets
+            // create it since there's no easy way for the user to create it beforehand in maven
+            FileUtils.mkDir(new File(outputFile).getParentFile());
+            args.add("-o");
+            args.add(outputFile);
+
+            /*
+              Contributor's comment:
+              Sometimes JavaToWSDL creates Java code for the wrappers.  I don't *think* this is
+              needed by the end user.
+            */
+            
+            // Commiter's comment:
+            // Yes, it's required, it's defined in the JAXWS spec.
+
+            if (project != null) {
+                project.addCompileSourceRoot(new File(outputFile).getParentFile().getAbsolutePath());
+            }
+        }
+        
+        if (frontend != null) {
+            args.add("-frontend");
+            args.add(frontend);
+        }
+        
+        if (databinding != null) {
+            args.add("-databinding");
+            args.add(databinding);
+        }
+        
+        if (genWrapperbean) {
+            args.add("-wrapperbean");
+        }
+        
+        if (genWsdl) {
+            args.add("-wsdl");
+        }
+        
+        if (genServer) {
+            args.add("-server");
+        }
+        
+        if (genClient) {
+            args.add("-client");
+        }
+        
+        // classpath arg
+        args.add("-cp");
+        args.add(classpath);
+
+        // soap12 arg
+        if (soap12 != null && soap12.booleanValue()) {
+            args.add("-soap12");
+        }
+
+        // target namespace arg
+        if (targetNamespace != null) {
+            args.add("-t");
+            args.add(targetNamespace);
+        }
+
+        // servicename arg
+        if (serviceName != null) {
+            args.add("-servicename");
+            args.add(serviceName);
+        }
+
+        // verbose arg
+        if (verbose != null && verbose.booleanValue()) {
+            args.add("-verbose");
+        }
+
+        // quiet arg
+        if (quiet != null && quiet.booleanValue()) {
+            args.add("-quiet");
+        }
+
+        if (argline != null) {
+            StringTokenizer stoken = new StringTokenizer(argline, " ");
+            while (stoken.hasMoreTokens()) {
+                args.add(stoken.nextToken());
+            }
+        }
+
+        // classname arg
+        args.add(className);
+
+        try {
+            String exitOnFinish = System.getProperty("exitOnFinish", "");
+            try {
+                System.setProperty("exitOnFinish", "YES");
+                JavaToWS.main(args.toArray(new String[args.size()]));
+            } catch (ExitException e) {
+                if (e.getStatus() != 0) {
+                    throw e;
+                }
+            } finally {
+                System.setProperty("exitOnFinish", exitOnFinish);
+            }
+        } catch (Throwable e) {
+            getLog().debug(e);
+            throw new MojoExecutionException(e.getMessage(), e);
+        }
+    }
+       
 }

Propchange: incubator/cxf/trunk/maven-plugins/java2ws-plugin/src/main/java/org/apache/cxf/maven_plugin/Java2WSMojo.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/maven-plugins/java2ws-plugin/src/main/java/org/apache/cxf/maven_plugin/Java2WSMojo.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/cxf1226/HelloWorld.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/cxf1226/HelloWorld.java?rev=630385&r1=630384&r2=630385&view=diff
==============================================================================
--- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/cxf1226/HelloWorld.java (original)
+++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/cxf1226/HelloWorld.java Fri Feb 22 19:27:26 2008
@@ -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.
- */
-
-package org.apache.cxf.cxf1226;
-
-import javax.jws.WebMethod;
-import javax.jws.WebParam;
-import javax.jws.WebResult;
-import javax.jws.WebService;
-import javax.jws.soap.SOAPBinding;
-
-@WebService(name = "MyHelloWorldService", targetNamespace = "http://nstest.helloworld")
-@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.WRAPPED, 
-             style = SOAPBinding.Style.DOCUMENT, 
-             use = SOAPBinding.Use.LITERAL)
-public interface HelloWorld {
-    @WebMethod
-    @WebResult(name = "MyResult", targetNamespace = "http://nstest.helloworld")
-    String sayHi(@WebParam(name = "MyInput", targetNamespace = "http://nstest.helloworld")
-                 String text);
-}
+/**
+ * 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.cxf1226;
+
+import javax.jws.WebMethod;
+import javax.jws.WebParam;
+import javax.jws.WebResult;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+
+@WebService(name = "MyHelloWorldService", targetNamespace = "http://nstest.helloworld")
+@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.WRAPPED, 
+             style = SOAPBinding.Style.DOCUMENT, 
+             use = SOAPBinding.Use.LITERAL)
+public interface HelloWorld {
+    @WebMethod
+    @WebResult(name = "MyResult", targetNamespace = "http://nstest.helloworld")
+    String sayHi(@WebParam(name = "MyInput", targetNamespace = "http://nstest.helloworld")
+                 String text);
+}

Propchange: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/cxf1226/HelloWorld.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/cxf1226/HelloWorld.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/cxf1226/HelloWorldImpl.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/cxf1226/HelloWorldImpl.java?rev=630385&r1=630384&r2=630385&view=diff
==============================================================================
--- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/cxf1226/HelloWorldImpl.java (original)
+++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/cxf1226/HelloWorldImpl.java Fri Feb 22 19:27:26 2008
@@ -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.
- */
-
-package org.apache.cxf.cxf1226;
-
-import javax.jws.WebService; 
-
-@WebService(endpointInterface = "org.apache.cxf.cxf1226.HelloWorld",
-            targetNamespace = "http://nstest.helloworld") 
-public class HelloWorldImpl implements HelloWorld { 
-    public String sayHi(String text) { 
-        return "Hello " + text; 
-    } 
-} 
-
+/**
+ * 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.cxf1226;
+
+import javax.jws.WebService; 
+
+@WebService(endpointInterface = "org.apache.cxf.cxf1226.HelloWorld",
+            targetNamespace = "http://nstest.helloworld") 
+public class HelloWorldImpl implements HelloWorld { 
+    public String sayHi(String text) { 
+        return "Hello " + text; 
+    } 
+} 
+

Propchange: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/cxf1226/HelloWorldImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/cxf1226/HelloWorldImpl.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/cxf1226/MissingQualification1226Test.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/cxf1226/MissingQualification1226Test.java?rev=630385&r1=630384&r2=630385&view=diff
==============================================================================
--- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/cxf1226/MissingQualification1226Test.java (original)
+++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/cxf1226/MissingQualification1226Test.java Fri Feb 22 19:27:26 2008
@@ -1,63 +1,63 @@
-/**
- * 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.cxf1226;
-
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.w3c.dom.NodeList;
-
-import org.apache.cxf.jaxws.EndpointImpl;
-import org.apache.cxf.test.AbstractCXFSpringTest;
-import org.junit.Test;
-import org.springframework.context.support.GenericApplicationContext;
-
-/**
- * 
- */
-public class MissingQualification1226Test extends AbstractCXFSpringTest {
-
-    /**
-     * @throws Exception
-     */
-    public MissingQualification1226Test() throws Exception {
-    }
-
-    /** {@inheritDoc}*/
-    @Override
-    protected void additionalSpringConfiguration(GenericApplicationContext context) throws Exception {
-    }
-    
-    @Test
-    public void lookForMissingNamespace() throws Exception {
-        EndpointImpl endpoint = (EndpointImpl) getBean(EndpointImpl.class, "helloWorld");
-        Document d = getWSDLDocument(endpoint.getServer());
-        NodeList schemas = assertValid("//xsd:schema[@targetNamespace='http://nstest.helloworld']", d);
-        Element schemaElement = (Element)schemas.item(0);
-        String ef = schemaElement.getAttribute("elementFormDefault");
-        assertEquals("qualified", ef);
-    }
-
-    /** {@inheritDoc}*/
-    @Override
-    protected String[] getConfigLocations() {
-        return new String[] {"classpath:/org/apache/cxf/cxf1226/beans.xml" };
-    }
-
-}
+/**
+ * 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.cxf1226;
+
+import org.w3c.dom.Document;
+import org.w3c.dom.Element;
+import org.w3c.dom.NodeList;
+
+import org.apache.cxf.jaxws.EndpointImpl;
+import org.apache.cxf.test.AbstractCXFSpringTest;
+import org.junit.Test;
+import org.springframework.context.support.GenericApplicationContext;
+
+/**
+ * 
+ */
+public class MissingQualification1226Test extends AbstractCXFSpringTest {
+
+    /**
+     * @throws Exception
+     */
+    public MissingQualification1226Test() throws Exception {
+    }
+
+    /** {@inheritDoc}*/
+    @Override
+    protected void additionalSpringConfiguration(GenericApplicationContext context) throws Exception {
+    }
+    
+    @Test
+    public void lookForMissingNamespace() throws Exception {
+        EndpointImpl endpoint = (EndpointImpl) getBean(EndpointImpl.class, "helloWorld");
+        Document d = getWSDLDocument(endpoint.getServer());
+        NodeList schemas = assertValid("//xsd:schema[@targetNamespace='http://nstest.helloworld']", d);
+        Element schemaElement = (Element)schemas.item(0);
+        String ef = schemaElement.getAttribute("elementFormDefault");
+        assertEquals("qualified", ef);
+    }
+
+    /** {@inheritDoc}*/
+    @Override
+    protected String[] getConfigLocations() {
+        return new String[] {"classpath:/org/apache/cxf/cxf1226/beans.xml" };
+    }
+
+}

Propchange: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/cxf1226/MissingQualification1226Test.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/cxf1226/MissingQualification1226Test.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/cxf1226/beans.xml
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/cxf1226/beans.xml?rev=630385&r1=630384&r2=630385&view=diff
==============================================================================
--- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/cxf1226/beans.xml (original)
+++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/cxf1226/beans.xml Fri Feb 22 19:27:26 2008
@@ -1,21 +1,21 @@
-<?xml version="1.0" encoding="UTF-8"?> 
-<beans xmlns="http://www.springframework.org/schema/beans" 
-xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
-xmlns:jaxws="http://cxf.apache.org/jaxws" 
-xmlns:cxf="http://cxf.apache.org/core" 
-xsi:schemaLocation=" 
-http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd 
-http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd 
-http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd"> 
-<import resource="classpath:META-INF/cxf/cxf.xml" /> 
-<import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" /> 
-<import resource="classpath:META-INF/cxf/cxf-servlet.xml" /> 
-    <bean id="logInbound" class="org.apache.cxf.interceptor.LoggingInInterceptor"/> 
-    <bean id="logOutbound" class="org.apache.cxf.interceptor.LoggingOutInterceptor"/> 
-    <cxf:bus> 
-        <cxf:inInterceptors> <ref bean="logInbound"/> </cxf:inInterceptors> 
-        <cxf:outInterceptors> <ref bean="logOutbound"/> </cxf:outInterceptors> 
-        <cxf:inFaultInterceptors> <ref bean="logOutbound"/> </cxf:inFaultInterceptors> 
-    </cxf:bus> 
-    <jaxws:endpoint id="helloWorld" implementor="org.apache.cxf.cxf1226.HelloWorldImpl" address="/HelloWorld" /> 
-</beans> 
+<?xml version="1.0" encoding="UTF-8"?> 
+<beans xmlns="http://www.springframework.org/schema/beans" 
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
+xmlns:jaxws="http://cxf.apache.org/jaxws" 
+xmlns:cxf="http://cxf.apache.org/core" 
+xsi:schemaLocation=" 
+http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd 
+http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd 
+http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd"> 
+<import resource="classpath:META-INF/cxf/cxf.xml" /> 
+<import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" /> 
+<import resource="classpath:META-INF/cxf/cxf-servlet.xml" /> 
+    <bean id="logInbound" class="org.apache.cxf.interceptor.LoggingInInterceptor"/> 
+    <bean id="logOutbound" class="org.apache.cxf.interceptor.LoggingOutInterceptor"/> 
+    <cxf:bus> 
+        <cxf:inInterceptors> <ref bean="logInbound"/> </cxf:inInterceptors> 
+        <cxf:outInterceptors> <ref bean="logOutbound"/> </cxf:outInterceptors> 
+        <cxf:inFaultInterceptors> <ref bean="logOutbound"/> </cxf:inFaultInterceptors> 
+    </cxf:bus> 
+    <jaxws:endpoint id="helloWorld" implementor="org.apache.cxf.cxf1226.HelloWorldImpl" address="/HelloWorld" /> 
+</beans> 

Propchange: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/cxf1226/beans.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/cxf1226/beans.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/cxf1226/beans.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/cxf1226/package-info.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/cxf1226/package-info.java?rev=630385&r1=630384&r2=630385&view=diff
==============================================================================
--- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/cxf1226/package-info.java (original)
+++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/cxf1226/package-info.java Fri Feb 22 19:27:26 2008
@@ -1,22 +1,22 @@
-/**
- * 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.
- */
-
-@javax.xml.bind.annotation.XmlSchema(namespace = "http://nstest.helloworld", 
-                                     elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
+/**
+ * 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.
+ */
+
+@javax.xml.bind.annotation.XmlSchema(namespace = "http://nstest.helloworld", 
+                                     elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
 package org.apache.cxf.cxf1226;

Propchange: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/cxf1226/package-info.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/cxf1226/package-info.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/cxf993/Cxf993Impl.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/cxf993/Cxf993Impl.java?rev=630385&r1=630384&r2=630385&view=diff
==============================================================================
--- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/cxf993/Cxf993Impl.java (original)
+++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/cxf993/Cxf993Impl.java Fri Feb 22 19:27:26 2008
@@ -1,35 +1,35 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.cxf.systest.cxf993;
-
-import testnotification.NotificationServicePort;
-
-/**
- * This class was generated by the CXF 2.1-incubator-SNAPSHOT
- * Wed Sep 12 16:41:52 CST 2007
- * Generated source version: 2.1-incubator-SNAPSHOT
- * 
- */
-
-public class Cxf993Impl implements NotificationServicePort {
-    public String sendNotification(testnotification.SendNotification parameters) {
-        return "dummy";
-    }
-}
+/**
+ * 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.cxf993;
+
+import testnotification.NotificationServicePort;
+
+/**
+ * This class was generated by the CXF 2.1-incubator-SNAPSHOT
+ * Wed Sep 12 16:41:52 CST 2007
+ * Generated source version: 2.1-incubator-SNAPSHOT
+ * 
+ */
+
+public class Cxf993Impl implements NotificationServicePort {
+    public String sendNotification(testnotification.SendNotification parameters) {
+        return "dummy";
+    }
+}

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

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

Modified: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/cxf993/Cxf993Test.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/cxf993/Cxf993Test.java?rev=630385&r1=630384&r2=630385&view=diff
==============================================================================
--- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/cxf993/Cxf993Test.java (original)
+++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/cxf993/Cxf993Test.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.cxf993;
-
-import java.net.URL;
-import javax.xml.namespace.QName;
-
-import org.apache.cxf.testutil.common.AbstractBusClientServerTestBase;
-import org.junit.BeforeClass;
-import org.junit.Test;
-import testnotification.NotificationService;
-import testnotification.NotificationServicePort;
-import testnotification.SendNotification;
-
-public class Cxf993Test extends AbstractBusClientServerTestBase {
-
-    private final QName serviceName = new QName("urn://testnotification", "NotificationService");
-
-    @BeforeClass
-    public static void startServers() throws Exception {
-        assertTrue("server did not launch correctly", launchServer(Server.class));
-    }
-
-    @Test
-    public void testBasicConnection() throws Exception {
-        assertEquals("dummy", getPort().sendNotification(new SendNotification()));
-    }
-
-    private NotificationServicePort getPort() {
-        URL wsdl = getClass().getResource("/wsdl/cxf-993.wsdl");
-        assertNotNull("WSDL is null", wsdl);
-
-        NotificationService service = new NotificationService(wsdl, serviceName);
-        assertNotNull("Service is null ", service);
-
-        return service.getNotificationServicePort();
-    }
-}
+/**
+ * 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.cxf993;
+
+import java.net.URL;
+import javax.xml.namespace.QName;
+
+import org.apache.cxf.testutil.common.AbstractBusClientServerTestBase;
+import org.junit.BeforeClass;
+import org.junit.Test;
+import testnotification.NotificationService;
+import testnotification.NotificationServicePort;
+import testnotification.SendNotification;
+
+public class Cxf993Test extends AbstractBusClientServerTestBase {
+
+    private final QName serviceName = new QName("urn://testnotification", "NotificationService");
+
+    @BeforeClass
+    public static void startServers() throws Exception {
+        assertTrue("server did not launch correctly", launchServer(Server.class));
+    }
+
+    @Test
+    public void testBasicConnection() throws Exception {
+        assertEquals("dummy", getPort().sendNotification(new SendNotification()));
+    }
+
+    private NotificationServicePort getPort() {
+        URL wsdl = getClass().getResource("/wsdl/cxf-993.wsdl");
+        assertNotNull("WSDL is null", wsdl);
+
+        NotificationService service = new NotificationService(wsdl, serviceName);
+        assertNotNull("Service is null ", service);
+
+        return service.getNotificationServicePort();
+    }
+}

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

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

Modified: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/cxf993/Server.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/cxf993/Server.java?rev=630385&r1=630384&r2=630385&view=diff
==============================================================================
--- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/cxf993/Server.java (original)
+++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/cxf993/Server.java Fri Feb 22 19:27:26 2008
@@ -1,45 +1,45 @@
-/**
- * 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.cxf993;
-
-import javax.xml.ws.Endpoint;
-
-import org.apache.cxf.testutil.common.AbstractBusTestServerBase;
-
-public class Server extends AbstractBusTestServerBase {
-
-    protected void run()  {
-        Object implementor = new Cxf993Impl();
-        String address = "http://localhost:9018/notification";
-        Endpoint.publish(address, implementor);
-    }
-
-    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.cxf993;
+
+import javax.xml.ws.Endpoint;
+
+import org.apache.cxf.testutil.common.AbstractBusTestServerBase;
+
+public class Server extends AbstractBusTestServerBase {
+
+    protected void run()  {
+        Object implementor = new Cxf993Impl();
+        String address = "http://localhost:9018/notification";
+        Endpoint.publish(address, implementor);
+    }
+
+    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/cxf993/Server.java
------------------------------------------------------------------------------
    svn:eol-style = native

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

Modified: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/fault/GreeterImpl.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/fault/GreeterImpl.java?rev=630385&r1=630384&r2=630385&view=diff
==============================================================================
--- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/fault/GreeterImpl.java (original)
+++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/fault/GreeterImpl.java Fri Feb 22 19:27:26 2008
@@ -1,34 +1,34 @@
-/**
- * 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.fault;
-
-import org.apache.intfault.BadRecordLitFault;
-import org.apache.intfault.types.BareDocumentResponse;
-@javax.jws.WebService(portName = "SoapPort", serviceName = "SOAPService", 
-                      targetNamespace = "http://apache.org/intfault", 
-                      endpointInterface = "org.apache.intfault.Greeter",
-                      wsdlLocation = "testutils/hello_world_fault.wsdl")
-public class GreeterImpl {
-    public BareDocumentResponse testDocLitFault(String in) throws BadRecordLitFault {
-        System.out.println("Executing testDocLitFault sayHi\n");
-        throw new BadRecordLitFault("int fault", 5);
-
-    }
-
-}
+/**
+ * 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.fault;
+
+import org.apache.intfault.BadRecordLitFault;
+import org.apache.intfault.types.BareDocumentResponse;
+@javax.jws.WebService(portName = "SoapPort", serviceName = "SOAPService", 
+                      targetNamespace = "http://apache.org/intfault", 
+                      endpointInterface = "org.apache.intfault.Greeter",
+                      wsdlLocation = "testutils/hello_world_fault.wsdl")
+public class GreeterImpl {
+    public BareDocumentResponse testDocLitFault(String in) throws BadRecordLitFault {
+        System.out.println("Executing testDocLitFault sayHi\n");
+        throw new BadRecordLitFault("int fault", 5);
+
+    }
+
+}

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

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

Modified: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/fault/IntFaultClientServerTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/fault/IntFaultClientServerTest.java?rev=630385&r1=630384&r2=630385&view=diff
==============================================================================
--- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/fault/IntFaultClientServerTest.java (original)
+++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/fault/IntFaultClientServerTest.java Fri Feb 22 19:27:26 2008
@@ -1,58 +1,58 @@
-/**
- * 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.fault;
-
-import java.net.URL;
-import javax.xml.namespace.QName;
-
-import org.apache.cxf.testutil.common.AbstractBusClientServerTestBase;
-import org.apache.intfault.BadRecordLitFault;
-import org.apache.intfault.Greeter;
-import org.apache.intfault.SOAPService;
-
-import org.junit.BeforeClass;
-import org.junit.Test;
-
-public class IntFaultClientServerTest extends AbstractBusClientServerTestBase {    
-
-    private final QName serviceName = new QName("http://apache.org/intfault",
-                                                "SOAPService");
-    @BeforeClass
-    public static void startServers() throws Exception {
-        assertTrue("server did not launch correctly", launchServer(Server.class));
-    }
-
-    @Test
-    public void testBasicConnection() throws Exception {
-        URL wsdl = getClass().getResource("/wsdl/hello_world_fault.wsdl");
-        assertNotNull("WSDL is null", wsdl);
-
-        SOAPService service = new SOAPService(wsdl, serviceName);
-        assertNotNull("Service is null", service);
-
-        Greeter greeter = service.getSoapPort();
-        try {
-            greeter.testDocLitFault("fault");
-        } catch (BadRecordLitFault e) {
-            assertEquals(5, e.getFaultInfo());
-        }
-
-    }
-}
+/**
+ * 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.fault;
+
+import java.net.URL;
+import javax.xml.namespace.QName;
+
+import org.apache.cxf.testutil.common.AbstractBusClientServerTestBase;
+import org.apache.intfault.BadRecordLitFault;
+import org.apache.intfault.Greeter;
+import org.apache.intfault.SOAPService;
+
+import org.junit.BeforeClass;
+import org.junit.Test;
+
+public class IntFaultClientServerTest extends AbstractBusClientServerTestBase {    
+
+    private final QName serviceName = new QName("http://apache.org/intfault",
+                                                "SOAPService");
+    @BeforeClass
+    public static void startServers() throws Exception {
+        assertTrue("server did not launch correctly", launchServer(Server.class));
+    }
+
+    @Test
+    public void testBasicConnection() throws Exception {
+        URL wsdl = getClass().getResource("/wsdl/hello_world_fault.wsdl");
+        assertNotNull("WSDL is null", wsdl);
+
+        SOAPService service = new SOAPService(wsdl, serviceName);
+        assertNotNull("Service is null", service);
+
+        Greeter greeter = service.getSoapPort();
+        try {
+            greeter.testDocLitFault("fault");
+        } catch (BadRecordLitFault e) {
+            assertEquals(5, e.getFaultInfo());
+        }
+
+    }
+}

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

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



Mime
View raw message