You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2007/06/13 23:45:33 UTC

svn commit: r547040 [3/6] - in /incubator/cxf/trunk: api/src/main/java/org/apache/cxf/phase/ api/src/main/java/org/apache/cxf/service/ api/src/main/java/org/apache/cxf/tools/validator/ api/src/main/java/org/apache/cxf/wsdl/ common/common/src/main/java/...

Propchange: incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XBinding.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XBinding.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XDef.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XDef.java?view=diff&rev=547040&r1=547039&r2=547040
==============================================================================
--- incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XDef.java (original)
+++ incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XDef.java Wed Jun 13 14:45:28 2007
@@ -1,44 +1,44 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.cxf.tools.validator.internal.model;
-
-import org.apache.cxf.wsdl.WSDLConstants;
-
-public final class XDef extends XWsdl {
-
-    public XDef() {
-        super();
-        setQName(WSDLConstants.QNAME_DEFINITIONS);
-    }
-
-    public void setTargetNamespace(final String newTargetNamespace) {
-        setAttributeName("targetNamespace");
-        setAttributeValue(newTargetNamespace);
-    }
-
-    @Override
-    public String getText() {
-        StringBuffer sb = new StringBuffer();
-        sb.append("{");
-        sb.append(getAttributeValue());
-        sb.append("}");
-        return sb.toString();
-    }
-}
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.cxf.tools.validator.internal.model;
+
+import org.apache.cxf.wsdl.WSDLConstants;
+
+public final class XDef extends XWsdl {
+
+    public XDef() {
+        super();
+        setQName(WSDLConstants.QNAME_DEFINITIONS);
+    }
+
+    public void setTargetNamespace(final String newTargetNamespace) {
+        setAttributeName("targetNamespace");
+        setAttributeValue(newTargetNamespace);
+    }
+
+    @Override
+    public String getText() {
+        StringBuffer sb = new StringBuffer();
+        sb.append("{");
+        sb.append(getAttributeValue());
+        sb.append("}");
+        return sb.toString();
+    }
+}

Propchange: incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XDef.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XDef.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XFault.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XFault.java?view=diff&rev=547040&r1=547039&r2=547040
==============================================================================
--- incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XFault.java (original)
+++ incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XFault.java Wed Jun 13 14:45:28 2007
@@ -1,29 +1,29 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.cxf.tools.validator.internal.model;
-
-import org.apache.cxf.wsdl.WSDLConstants;
-
-public final class XFault extends XWsdl {
-    public XFault() {
-        super();
-        setQName(WSDLConstants.QNAME_FAULT);
-    }
-}
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.cxf.tools.validator.internal.model;
+
+import org.apache.cxf.wsdl.WSDLConstants;
+
+public final class XFault extends XWsdl {
+    public XFault() {
+        super();
+        setQName(WSDLConstants.QNAME_FAULT);
+    }
+}

Propchange: incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XFault.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XFault.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XInput.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XInput.java?view=diff&rev=547040&r1=547039&r2=547040
==============================================================================
--- incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XInput.java (original)
+++ incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XInput.java Wed Jun 13 14:45:28 2007
@@ -1,29 +1,29 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.cxf.tools.validator.internal.model;
-
-import org.apache.cxf.wsdl.WSDLConstants;
-
-public final class XInput extends XWsdl {
-    public XInput() {
-        super();
-        setQName(WSDLConstants.QNAME_INPUT);
-    }
-}
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.cxf.tools.validator.internal.model;
+
+import org.apache.cxf.wsdl.WSDLConstants;
+
+public final class XInput extends XWsdl {
+    public XInput() {
+        super();
+        setQName(WSDLConstants.QNAME_INPUT);
+    }
+}

Propchange: incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XInput.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XInput.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XMessage.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XMessage.java?view=diff&rev=547040&r1=547039&r2=547040
==============================================================================
--- incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XMessage.java (original)
+++ incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XMessage.java Wed Jun 13 14:45:28 2007
@@ -1,29 +1,29 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.cxf.tools.validator.internal.model;
-
-import org.apache.cxf.wsdl.WSDLConstants;
-
-public final class XMessage extends XWsdl {
-    public XMessage() {
-        super();
-        setQName(WSDLConstants.QNAME_MESSAGE);
-    }
-}
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.cxf.tools.validator.internal.model;
+
+import org.apache.cxf.wsdl.WSDLConstants;
+
+public final class XMessage extends XWsdl {
+    public XMessage() {
+        super();
+        setQName(WSDLConstants.QNAME_MESSAGE);
+    }
+}

Propchange: incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XMessage.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XMessage.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XNode.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XNode.java?view=diff&rev=547040&r1=547039&r2=547040
==============================================================================
--- incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XNode.java (original)
+++ incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XNode.java Wed Jun 13 14:45:28 2007
@@ -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.tools.validator.internal.model;
-
-import java.util.HashMap;
-import java.util.Map;
-import java.util.Stack;
-import javax.xml.namespace.QName;
-
-import org.apache.cxf.common.util.StringUtils;
-
-public class XNode {
-
-    private String prefix;
-    private QName name;
-    private String attributeName;
-    private String attributeValue;
-    private XNode parentNode;
-
-    private XNode failurePoint;
-
-    private Map<String, String> nsMap = new HashMap<String, String>();
-
-    public void setFailurePoint(XNode point) {
-        this.failurePoint = point;
-    }
-
-    public XNode getFailurePoint() {
-        return this.failurePoint;
-    }
-
-    public String getPrefix() {
-        return prefix;
-    }
-
-    public void setPrefix(final String newPrefix) {
-        this.prefix = newPrefix;
-    }
-
-    public QName getQName() {
-        return name;
-    }
-
-    public void setQName(final QName newName) {
-        this.name = newName;
-    }
-
-    public String getAttributeName() {
-        return attributeName;
-    }
-
-    public void setAttributeName(final String newAttributeName) {
-        this.attributeName = newAttributeName;
-    }
-
-    public String getAttributeValue() {
-        return attributeValue;
-    }
-
-    public void setAttributeValue(final String newAttributeValue) {
-        this.attributeValue = newAttributeValue;
-    }
-
-    public XNode getParentNode() {
-        return parentNode;
-    }
-
-    public void setParentNode(final XNode newParentNode) {
-        this.parentNode = newParentNode;
-    }
-
-    public Map<String, String> getNSMap() {
-        return nsMap;
-    }
-
-    public String getText() {
-        StringBuffer sb = new StringBuffer();
-        sb.append("[");
-        sb.append(name.getLocalPart());
-        sb.append(":");
-        sb.append(getAttributeValue());
-        sb.append("]");
-        return sb.toString();
-    }
-
-    public String getPlainText() {
-        StringBuffer sb = new StringBuffer();
-        Stack<XNode> parentNodes = getParentNodes();
-        while (!parentNodes.empty()) {
-            sb.append(parentNodes.pop().getText());
-        }
-        sb.append(getText());
-        nsMap.put(prefix, name.getNamespaceURI());
-        return sb.toString();
-    }
-
-    public String getXPath() {
-        StringBuffer sb = new StringBuffer();
-        sb.append("/");
-        sb.append(prefix);
-        sb.append(":");
-        sb.append(name.getLocalPart());
-        if (!StringUtils.isEmpty(attributeName) && !StringUtils.isEmpty(attributeValue)) {
-            sb.append("[@");
-            sb.append(attributeName);
-            sb.append("='");
-            sb.append(attributeValue);
-            sb.append("']");
-        }
-        return sb.toString();
-    }
-
-    private Stack<XNode> getParentNodes() {
-        Stack<XNode> parentNodes = new Stack<XNode>();
-
-        XNode pNode = getParentNode();
-        while (pNode != null) {
-            nsMap.put(pNode.getPrefix(),
-                      pNode.getQName().getNamespaceURI());
-            parentNodes.push(pNode);
-            pNode = pNode.getParentNode();
-        }
-        return parentNodes;
-    }
-
-    public String toString() {
-        Stack<XNode> parentNodes = getParentNodes();
-        StringBuffer sb = new StringBuffer();
-        while (!parentNodes.empty()) {
-            sb.append(parentNodes.pop().getXPath());
-        }
-        sb.append(getXPath());
-        nsMap.put(prefix, name.getNamespaceURI());
-        return sb.toString();
-    }
-}
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.cxf.tools.validator.internal.model;
+
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Stack;
+import javax.xml.namespace.QName;
+
+import org.apache.cxf.common.util.StringUtils;
+
+public class XNode {
+
+    private String prefix;
+    private QName name;
+    private String attributeName;
+    private String attributeValue;
+    private XNode parentNode;
+
+    private XNode failurePoint;
+
+    private Map<String, String> nsMap = new HashMap<String, String>();
+
+    public void setFailurePoint(XNode point) {
+        this.failurePoint = point;
+    }
+
+    public XNode getFailurePoint() {
+        return this.failurePoint;
+    }
+
+    public String getPrefix() {
+        return prefix;
+    }
+
+    public void setPrefix(final String newPrefix) {
+        this.prefix = newPrefix;
+    }
+
+    public QName getQName() {
+        return name;
+    }
+
+    public void setQName(final QName newName) {
+        this.name = newName;
+    }
+
+    public String getAttributeName() {
+        return attributeName;
+    }
+
+    public void setAttributeName(final String newAttributeName) {
+        this.attributeName = newAttributeName;
+    }
+
+    public String getAttributeValue() {
+        return attributeValue;
+    }
+
+    public void setAttributeValue(final String newAttributeValue) {
+        this.attributeValue = newAttributeValue;
+    }
+
+    public XNode getParentNode() {
+        return parentNode;
+    }
+
+    public void setParentNode(final XNode newParentNode) {
+        this.parentNode = newParentNode;
+    }
+
+    public Map<String, String> getNSMap() {
+        return nsMap;
+    }
+
+    public String getText() {
+        StringBuffer sb = new StringBuffer();
+        sb.append("[");
+        sb.append(name.getLocalPart());
+        sb.append(":");
+        sb.append(getAttributeValue());
+        sb.append("]");
+        return sb.toString();
+    }
+
+    public String getPlainText() {
+        StringBuffer sb = new StringBuffer();
+        Stack<XNode> parentNodes = getParentNodes();
+        while (!parentNodes.empty()) {
+            sb.append(parentNodes.pop().getText());
+        }
+        sb.append(getText());
+        nsMap.put(prefix, name.getNamespaceURI());
+        return sb.toString();
+    }
+
+    public String getXPath() {
+        StringBuffer sb = new StringBuffer();
+        sb.append("/");
+        sb.append(prefix);
+        sb.append(":");
+        sb.append(name.getLocalPart());
+        if (!StringUtils.isEmpty(attributeName) && !StringUtils.isEmpty(attributeValue)) {
+            sb.append("[@");
+            sb.append(attributeName);
+            sb.append("='");
+            sb.append(attributeValue);
+            sb.append("']");
+        }
+        return sb.toString();
+    }
+
+    private Stack<XNode> getParentNodes() {
+        Stack<XNode> parentNodes = new Stack<XNode>();
+
+        XNode pNode = getParentNode();
+        while (pNode != null) {
+            nsMap.put(pNode.getPrefix(),
+                      pNode.getQName().getNamespaceURI());
+            parentNodes.push(pNode);
+            pNode = pNode.getParentNode();
+        }
+        return parentNodes;
+    }
+
+    public String toString() {
+        Stack<XNode> parentNodes = getParentNodes();
+        StringBuffer sb = new StringBuffer();
+        while (!parentNodes.empty()) {
+            sb.append(parentNodes.pop().getXPath());
+        }
+        sb.append(getXPath());
+        nsMap.put(prefix, name.getNamespaceURI());
+        return sb.toString();
+    }
+}

Propchange: incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XNode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XNode.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XOperation.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XOperation.java?view=diff&rev=547040&r1=547039&r2=547040
==============================================================================
--- incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XOperation.java (original)
+++ incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XOperation.java Wed Jun 13 14:45:28 2007
@@ -1,29 +1,29 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.cxf.tools.validator.internal.model;
-
-import org.apache.cxf.wsdl.WSDLConstants;
-
-public final class XOperation extends XWsdl {
-    public XOperation() {
-        super();
-        setQName(WSDLConstants.QNAME_OPERATION);
-    }
-}
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.cxf.tools.validator.internal.model;
+
+import org.apache.cxf.wsdl.WSDLConstants;
+
+public final class XOperation extends XWsdl {
+    public XOperation() {
+        super();
+        setQName(WSDLConstants.QNAME_OPERATION);
+    }
+}

Propchange: incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XOperation.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XOperation.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XOutput.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XOutput.java?view=diff&rev=547040&r1=547039&r2=547040
==============================================================================
--- incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XOutput.java (original)
+++ incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XOutput.java Wed Jun 13 14:45:28 2007
@@ -1,29 +1,29 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.cxf.tools.validator.internal.model;
-
-import org.apache.cxf.wsdl.WSDLConstants;
-
-public final class XOutput extends XWsdl {
-    public XOutput() {
-        super();
-        setQName(WSDLConstants.QNAME_OUTPUT);
-    }
-}
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.cxf.tools.validator.internal.model;
+
+import org.apache.cxf.wsdl.WSDLConstants;
+
+public final class XOutput extends XWsdl {
+    public XOutput() {
+        super();
+        setQName(WSDLConstants.QNAME_OUTPUT);
+    }
+}

Propchange: incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XOutput.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XOutput.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XPort.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XPort.java?view=diff&rev=547040&r1=547039&r2=547040
==============================================================================
--- incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XPort.java (original)
+++ incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XPort.java Wed Jun 13 14:45:28 2007
@@ -1,30 +1,30 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.cxf.tools.validator.internal.model;
-
-import org.apache.cxf.wsdl.WSDLConstants;
-
-public final class XPort extends XWsdl {
-
-    public XPort() {
-        super();
-        setQName(WSDLConstants.QNAME_PORT);
-    }
-}
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.cxf.tools.validator.internal.model;
+
+import org.apache.cxf.wsdl.WSDLConstants;
+
+public final class XPort extends XWsdl {
+
+    public XPort() {
+        super();
+        setQName(WSDLConstants.QNAME_PORT);
+    }
+}

Propchange: incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XPort.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XPort.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XPortType.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XPortType.java?view=diff&rev=547040&r1=547039&r2=547040
==============================================================================
--- incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XPortType.java (original)
+++ incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XPortType.java Wed Jun 13 14:45:28 2007
@@ -1,29 +1,29 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.cxf.tools.validator.internal.model;
-
-import org.apache.cxf.wsdl.WSDLConstants;
-
-public final class XPortType extends XWsdl {
-    public XPortType() {
-        super();
-        setQName(WSDLConstants.QNAME_PORT_TYPE);
-    }
-}
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.cxf.tools.validator.internal.model;
+
+import org.apache.cxf.wsdl.WSDLConstants;
+
+public final class XPortType extends XWsdl {
+    public XPortType() {
+        super();
+        setQName(WSDLConstants.QNAME_PORT_TYPE);
+    }
+}

Propchange: incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XPortType.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XPortType.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XService.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XService.java?view=diff&rev=547040&r1=547039&r2=547040
==============================================================================
--- incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XService.java (original)
+++ incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XService.java Wed Jun 13 14:45:28 2007
@@ -1,30 +1,30 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.cxf.tools.validator.internal.model;
-
-import org.apache.cxf.wsdl.WSDLConstants;
-
-public final class XService extends XWsdl {
-
-    public XService() {
-        super();
-        setQName(WSDLConstants.QNAME_SERVICE);
-    }
-}
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.cxf.tools.validator.internal.model;
+
+import org.apache.cxf.wsdl.WSDLConstants;
+
+public final class XService extends XWsdl {
+
+    public XService() {
+        super();
+        setQName(WSDLConstants.QNAME_SERVICE);
+    }
+}

Propchange: incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XService.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XService.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XWsdl.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XWsdl.java?view=diff&rev=547040&r1=547039&r2=547040
==============================================================================
--- incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XWsdl.java (original)
+++ incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XWsdl.java Wed Jun 13 14:45:28 2007
@@ -1,33 +1,33 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.cxf.tools.validator.internal.model;
-
-
-public class XWsdl extends XNode {
-
-    public XWsdl() {
-        setPrefix("wsdl");
-    }
-
-    public void setName(final String newName) {
-        setAttributeName("name");
-        setAttributeValue(newName);
-    }
-}
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.cxf.tools.validator.internal.model;
+
+
+public class XWsdl extends XNode {
+
+    public XWsdl() {
+        setPrefix("wsdl");
+    }
+
+    public void setName(final String newName) {
+        setAttributeName("name");
+        setAttributeValue(newName);
+    }
+}

Propchange: incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XWsdl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XWsdl.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/Stax2DOMTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/Stax2DOMTest.java?view=diff&rev=547040&r1=547039&r2=547040
==============================================================================
--- incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/Stax2DOMTest.java (original)
+++ incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/Stax2DOMTest.java Wed Jun 13 14:45:28 2007
@@ -1,40 +1,40 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.cxf.tools.validator.internal;
-
-import java.io.File;
-
-import org.w3c.dom.Document;
-
-import org.apache.cxf.helpers.XMLUtils;
-import org.junit.Assert;
-import org.junit.Test;
-
-public class Stax2DOMTest extends Assert {
-
-    @Test
-    public void testGetDocument() throws Exception {
-        File wsdl = new File(getClass().getResource("/validator_wsdl/jms_test.wsdl").toURI());
-        Document doc = new Stax2DOM().getDocument(wsdl);
-        String content = XMLUtils.toString(doc);
-        assertTrue(content.indexOf("xmlns:ns0=\"http://www.w3.org/2001/XMLSchema\"") != -1);
-        assertTrue(content.indexOf("ns0:x1=\"http://cxf.apache.org/hello_world_jms/types\"") != -1);
-    }
-}
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.cxf.tools.validator.internal;
+
+import java.io.File;
+
+import org.w3c.dom.Document;
+
+import org.apache.cxf.helpers.XMLUtils;
+import org.junit.Assert;
+import org.junit.Test;
+
+public class Stax2DOMTest extends Assert {
+
+    @Test
+    public void testGetDocument() throws Exception {
+        File wsdl = new File(getClass().getResource("/validator_wsdl/jms_test.wsdl").toURI());
+        Document doc = new Stax2DOM().getDocument(wsdl);
+        String content = XMLUtils.toString(doc);
+        assertTrue(content.indexOf("xmlns:ns0=\"http://www.w3.org/2001/XMLSchema\"") != -1);
+        assertTrue(content.indexOf("ns0:x1=\"http://cxf.apache.org/hello_world_jms/types\"") != -1);
+    }
+}

Propchange: incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/Stax2DOMTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/Stax2DOMTest.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/WSDL11ValidatorTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/WSDL11ValidatorTest.java?view=diff&rev=547040&r1=547039&r2=547040
==============================================================================
--- incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/WSDL11ValidatorTest.java (original)
+++ incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/WSDL11ValidatorTest.java Wed Jun 13 14:45:28 2007
@@ -1,42 +1,42 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.cxf.tools.validator.internal;
-
-import org.apache.cxf.tools.common.ToolConstants;
-import org.apache.cxf.tools.common.ToolContext;
-import org.junit.Assert;
-import org.junit.Test;
-
-public class WSDL11ValidatorTest extends Assert {
-    private ToolContext context = new ToolContext();
-    
-    @Test
-    public void testWSDLImport() throws Exception {
-        String wsdlSource = getClass().getResource("resources/a.wsdl").toURI().toString();
-        context.put(ToolConstants.CFG_WSDLURL, wsdlSource);
-        WSDL11Validator validator = new WSDL11Validator(null, context);
-        try {
-            assertFalse(validator.isValid());
-        } catch (Exception e) {
-            assertTrue(e.getMessage().indexOf("Caused by {http://apache.org/hello_world/messages}"
-                                              + "[portType:GreeterA][operation:sayHi] not exist.") != -1);
-        }
-    }
-}
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.cxf.tools.validator.internal;
+
+import org.apache.cxf.tools.common.ToolConstants;
+import org.apache.cxf.tools.common.ToolContext;
+import org.junit.Assert;
+import org.junit.Test;
+
+public class WSDL11ValidatorTest extends Assert {
+    private ToolContext context = new ToolContext();
+    
+    @Test
+    public void testWSDLImport() throws Exception {
+        String wsdlSource = getClass().getResource("resources/a.wsdl").toURI().toString();
+        context.put(ToolConstants.CFG_WSDLURL, wsdlSource);
+        WSDL11Validator validator = new WSDL11Validator(null, context);
+        try {
+            assertFalse(validator.isValid());
+        } catch (Exception e) {
+            assertTrue(e.getMessage().indexOf("Caused by {http://apache.org/hello_world/messages}"
+                                              + "[portType:GreeterA][operation:sayHi] not exist.") != -1);
+        }
+    }
+}

Propchange: incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/WSDL11ValidatorTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/WSDL11ValidatorTest.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/WSDLRefValidatorTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/WSDLRefValidatorTest.java?view=diff&rev=547040&r1=547039&r2=547040
==============================================================================
--- incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/WSDLRefValidatorTest.java (original)
+++ incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/WSDLRefValidatorTest.java Wed Jun 13 14:45:28 2007
@@ -1,148 +1,148 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.cxf.tools.validator.internal;
-
-import java.io.File;
-import java.util.HashSet;
-import java.util.Set;
-
-import org.apache.cxf.common.i18n.Message;
-import org.apache.cxf.tools.common.ToolException;
-import org.apache.cxf.tools.validator.internal.model.XNode;
-import org.junit.Assert;
-import org.junit.Test;
-
-public class WSDLRefValidatorTest extends Assert {
-
-    @Test
-    public void testNoService() throws Exception {
-        String wsdl = getClass().getResource("resources/b.wsdl").toURI().toString();
-        WSDLRefValidator validator = new WSDLRefValidator(wsdl);
-        assertFalse(validator.isValid());
-        ValidationResult results = validator.getValidationResults();
-        assertEquals(1, results.getWarnings().size());
-        String t = results.getWarnings().pop();
-        assertEquals("WSDL document does not define any services", t);
-    }
-
-    @Test
-    public void testWSDLImport1() throws Exception {
-        String wsdl = getClass().getResource("resources/a.wsdl").toURI().toString();
-        WSDLRefValidator validator = new WSDLRefValidator(wsdl);
-        validator.isValid();
-        ValidationResult results = validator.getValidationResults();
-        assertEquals(2, results.getErrors().size());
-        String t = results.getErrors().pop();
-        String text = "{http://apache.org/hello_world/messages}[portType:GreeterA][operation:sayHi]";
-        Message msg = new Message("FAILED_AT_POINT",
-                                  WSDLRefValidator.LOG,
-                                  27,
-                                  2,
-                                  new File(new java.net.URI(wsdl)).toString(),
-                                  text);
-        assertEquals(msg.toString(), t);
-    }
-    
-
-    @Test
-    public void testWSDLImport2() throws Exception {
-        String wsdl = getClass().getResource("resources/physicalpt.wsdl").toURI().toString();
-        WSDLRefValidator validator = new WSDLRefValidator(wsdl);
-        assertTrue(validator.isValid());
-        String expected = "/wsdl:definitions[@targetNamespace='http://schemas.apache.org/yoko/idl/OptionsPT']"
-            + "/wsdl:portType[@name='foo.bar']";
-
-        Set<String> xpath = new HashSet<String>();
-
-        for (XNode node : validator.vNodes) {
-            xpath.add(node.toString());
-        }
-        assertTrue(xpath.contains(expected));
-    }
-
-    @Test
-    public void testNoTypeRef() throws Exception {
-        String wsdl = getClass().getResource("resources/NoTypeRef.wsdl").toURI().toString();
-        WSDLRefValidator validator = new WSDLRefValidator(wsdl);
-        assertFalse(validator.isValid());
-        assertEquals(3, validator.getValidationResults().getErrors().size());
-
-        String expected = "Part <header_info> in Message "
-            + "<{http://apache.org/samples/headers}inHeaderRequest>"
-            + " referenced Type <{http://apache.org/samples/headers}SOAPHeaderInfo> "
-            + "can not be found in the schemas";
-        String t = null;
-        while (!validator.getValidationResults().getErrors().empty()) {
-            t = validator.getValidationResults().getErrors().pop();
-            if (expected.equals(t)) {
-                break;
-            }
-        }
-        assertEquals(expected, t);
-    }
-
-    @Test
-    public void testNoBindingWSDL() throws Exception {
-        String wsdl = getClass().getResource("resources/nobinding.wsdl").toURI().toString();
-        WSDLRefValidator validator = new WSDLRefValidator(wsdl);
-        validator.isValid();
-        ValidationResult results = validator.getValidationResults();
-
-        assertEquals(1, results.getWarnings().size());
-        String t = results.getWarnings().pop();
-        assertEquals("WSDL document does not define any services", t);
-
-        WSDLRefValidator v = new WSDLRefValidator(wsdl);
-        v.setSuppressWarnings(true);
-        assertTrue(v.isValid());
-    }
-
-    @Test
-    public void testLogicalWSDL() throws Exception {
-        String wsdl = getClass().getResource("resources/logical.wsdl").toURI().toString();
-        WSDLRefValidator validator = new WSDLRefValidator(wsdl);
-        validator.isValid();
-        ValidationResult results = validator.getValidationResults();
-        
-        assertEquals(1, results.getErrors().size());
-        String text = "{http://schemas.apache.org/yoko/idl/OptionsPT}[message:getEmployee]";
-        Message msg = new Message("FAILED_AT_POINT",
-                                  WSDLRefValidator.LOG,
-                                  42,
-                                  6,
-                                  new File(new java.net.URI(wsdl)).toString(),
-                                  text);
-        assertEquals(msg.toString(), results.getErrors().pop());
-    }
-
-    @Test
-    public void testNotAWsdl() throws Exception {
-        String wsdl = getClass().getResource("resources/c.xsd").toURI().toString();
-        try {        
-            WSDLRefValidator validator = new WSDLRefValidator(wsdl);
-            validator.isValid();
-        } catch (Exception e) {
-            assertTrue(e instanceof ToolException);
-            String expected = "WSDLException (at /xs:schema): faultCode=INVALID_WSDL: "
-                + "Expected element '{http://schemas.xmlsoap.org/wsdl/}definitions'.";
-            assertEquals(expected, e.getMessage());
-        }
-    }
-}
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.cxf.tools.validator.internal;
+
+import java.io.File;
+import java.util.HashSet;
+import java.util.Set;
+
+import org.apache.cxf.common.i18n.Message;
+import org.apache.cxf.tools.common.ToolException;
+import org.apache.cxf.tools.validator.internal.model.XNode;
+import org.junit.Assert;
+import org.junit.Test;
+
+public class WSDLRefValidatorTest extends Assert {
+
+    @Test
+    public void testNoService() throws Exception {
+        String wsdl = getClass().getResource("resources/b.wsdl").toURI().toString();
+        WSDLRefValidator validator = new WSDLRefValidator(wsdl);
+        assertFalse(validator.isValid());
+        ValidationResult results = validator.getValidationResults();
+        assertEquals(1, results.getWarnings().size());
+        String t = results.getWarnings().pop();
+        assertEquals("WSDL document does not define any services", t);
+    }
+
+    @Test
+    public void testWSDLImport1() throws Exception {
+        String wsdl = getClass().getResource("resources/a.wsdl").toURI().toString();
+        WSDLRefValidator validator = new WSDLRefValidator(wsdl);
+        validator.isValid();
+        ValidationResult results = validator.getValidationResults();
+        assertEquals(2, results.getErrors().size());
+        String t = results.getErrors().pop();
+        String text = "{http://apache.org/hello_world/messages}[portType:GreeterA][operation:sayHi]";
+        Message msg = new Message("FAILED_AT_POINT",
+                                  WSDLRefValidator.LOG,
+                                  27,
+                                  2,
+                                  new File(new java.net.URI(wsdl)).toString(),
+                                  text);
+        assertEquals(msg.toString(), t);
+    }
+    
+
+    @Test
+    public void testWSDLImport2() throws Exception {
+        String wsdl = getClass().getResource("resources/physicalpt.wsdl").toURI().toString();
+        WSDLRefValidator validator = new WSDLRefValidator(wsdl);
+        assertTrue(validator.isValid());
+        String expected = "/wsdl:definitions[@targetNamespace='http://schemas.apache.org/yoko/idl/OptionsPT']"
+            + "/wsdl:portType[@name='foo.bar']";
+
+        Set<String> xpath = new HashSet<String>();
+
+        for (XNode node : validator.vNodes) {
+            xpath.add(node.toString());
+        }
+        assertTrue(xpath.contains(expected));
+    }
+
+    @Test
+    public void testNoTypeRef() throws Exception {
+        String wsdl = getClass().getResource("resources/NoTypeRef.wsdl").toURI().toString();
+        WSDLRefValidator validator = new WSDLRefValidator(wsdl);
+        assertFalse(validator.isValid());
+        assertEquals(3, validator.getValidationResults().getErrors().size());
+
+        String expected = "Part <header_info> in Message "
+            + "<{http://apache.org/samples/headers}inHeaderRequest>"
+            + " referenced Type <{http://apache.org/samples/headers}SOAPHeaderInfo> "
+            + "can not be found in the schemas";
+        String t = null;
+        while (!validator.getValidationResults().getErrors().empty()) {
+            t = validator.getValidationResults().getErrors().pop();
+            if (expected.equals(t)) {
+                break;
+            }
+        }
+        assertEquals(expected, t);
+    }
+
+    @Test
+    public void testNoBindingWSDL() throws Exception {
+        String wsdl = getClass().getResource("resources/nobinding.wsdl").toURI().toString();
+        WSDLRefValidator validator = new WSDLRefValidator(wsdl);
+        validator.isValid();
+        ValidationResult results = validator.getValidationResults();
+
+        assertEquals(1, results.getWarnings().size());
+        String t = results.getWarnings().pop();
+        assertEquals("WSDL document does not define any services", t);
+
+        WSDLRefValidator v = new WSDLRefValidator(wsdl);
+        v.setSuppressWarnings(true);
+        assertTrue(v.isValid());
+    }
+
+    @Test
+    public void testLogicalWSDL() throws Exception {
+        String wsdl = getClass().getResource("resources/logical.wsdl").toURI().toString();
+        WSDLRefValidator validator = new WSDLRefValidator(wsdl);
+        validator.isValid();
+        ValidationResult results = validator.getValidationResults();
+        
+        assertEquals(1, results.getErrors().size());
+        String text = "{http://schemas.apache.org/yoko/idl/OptionsPT}[message:getEmployee]";
+        Message msg = new Message("FAILED_AT_POINT",
+                                  WSDLRefValidator.LOG,
+                                  42,
+                                  6,
+                                  new File(new java.net.URI(wsdl)).toString(),
+                                  text);
+        assertEquals(msg.toString(), results.getErrors().pop());
+    }
+
+    @Test
+    public void testNotAWsdl() throws Exception {
+        String wsdl = getClass().getResource("resources/c.xsd").toURI().toString();
+        try {        
+            WSDLRefValidator validator = new WSDLRefValidator(wsdl);
+            validator.isValid();
+        } catch (Exception e) {
+            assertTrue(e instanceof ToolException);
+            String expected = "WSDLException (at /xs:schema): faultCode=INVALID_WSDL: "
+                + "Expected element '{http://schemas.xmlsoap.org/wsdl/}definitions'.";
+            assertEquals(expected, e.getMessage());
+        }
+    }
+}

Propchange: incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/WSDLRefValidatorTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/WSDLRefValidatorTest.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/model/XNodeTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/model/XNodeTest.java?view=diff&rev=547040&r1=547039&r2=547040
==============================================================================
--- incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/model/XNodeTest.java (original)
+++ incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/model/XNodeTest.java Wed Jun 13 14:45:28 2007
@@ -1,67 +1,67 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.cxf.tools.validator.internal.model;
-
-import org.apache.cxf.wsdl.WSDLConstants;
-import org.junit.Assert;
-import org.junit.Test;
-
-public class XNodeTest extends Assert {
-    @Test
-    public void testWSDLDefinition() {
-        XDef def = new XDef();
-        assertEquals("/wsdl:definitions", def.toString());
-    }
-
-    @Test
-    public void testGetXPath() {
-        XNode node = new XNode();
-        node.setQName(WSDLConstants.QNAME_BINDING);
-        node.setPrefix("wsdl");
-        node.setAttributeName("name");
-        node.setAttributeValue("SOAPBinding");
-        assertEquals("/wsdl:binding[@name='SOAPBinding']", node.toString());
-        assertEquals("[binding:SOAPBinding]", node.getPlainText());
-    }
-
-    @Test
-    public void testParentNode() {
-        XDef definition = new XDef();
-        String ns = "{http://apache.org/hello_world/messages}";
-        definition.setTargetNamespace("http://apache.org/hello_world/messages");
-        assertEquals(ns, definition.getPlainText());
-        
-        XPortType portType = new XPortType();
-        portType.setName("Greeter");
-        portType.setParentNode(definition);
-
-        String portTypeText = ns + "[portType:Greeter]";
-        assertEquals(portTypeText, portType.getPlainText());
-
-        XOperation op = new XOperation();
-        op.setName("sayHi");
-        op.setParentNode(portType);
-        assertEquals(portTypeText + "[operation:sayHi]", op.getPlainText());
-
-        String expected = "/wsdl:definitions[@targetNamespace='http://apache.org/hello_world/messages']";
-        expected += "/wsdl:portType[@name='Greeter']/wsdl:operation[@name='sayHi']";
-        assertEquals(expected, op.toString());
-    }
-}
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.cxf.tools.validator.internal.model;
+
+import org.apache.cxf.wsdl.WSDLConstants;
+import org.junit.Assert;
+import org.junit.Test;
+
+public class XNodeTest extends Assert {
+    @Test
+    public void testWSDLDefinition() {
+        XDef def = new XDef();
+        assertEquals("/wsdl:definitions", def.toString());
+    }
+
+    @Test
+    public void testGetXPath() {
+        XNode node = new XNode();
+        node.setQName(WSDLConstants.QNAME_BINDING);
+        node.setPrefix("wsdl");
+        node.setAttributeName("name");
+        node.setAttributeValue("SOAPBinding");
+        assertEquals("/wsdl:binding[@name='SOAPBinding']", node.toString());
+        assertEquals("[binding:SOAPBinding]", node.getPlainText());
+    }
+
+    @Test
+    public void testParentNode() {
+        XDef definition = new XDef();
+        String ns = "{http://apache.org/hello_world/messages}";
+        definition.setTargetNamespace("http://apache.org/hello_world/messages");
+        assertEquals(ns, definition.getPlainText());
+        
+        XPortType portType = new XPortType();
+        portType.setName("Greeter");
+        portType.setParentNode(definition);
+
+        String portTypeText = ns + "[portType:Greeter]";
+        assertEquals(portTypeText, portType.getPlainText());
+
+        XOperation op = new XOperation();
+        op.setName("sayHi");
+        op.setParentNode(portType);
+        assertEquals(portTypeText + "[operation:sayHi]", op.getPlainText());
+
+        String expected = "/wsdl:definitions[@targetNamespace='http://apache.org/hello_world/messages']";
+        expected += "/wsdl:portType[@name='Greeter']/wsdl:operation[@name='sayHi']";
+        assertEquals(expected, op.toString());
+    }
+}

Propchange: incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/model/XNodeTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/model/XNodeTest.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/resources/NoTypeRef.wsdl
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/resources/NoTypeRef.wsdl?view=diff&rev=547040&r1=547039&r2=547040
==============================================================================
--- incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/resources/NoTypeRef.wsdl (original)
+++ incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/resources/NoTypeRef.wsdl Wed Jun 13 14:45:28 2007
@@ -1,76 +1,76 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements. See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership. The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied. See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-<definitions name="soap_header" targetNamespace="http://apache.org/samples/headers" 
-	     xmlns="http://schemas.xmlsoap.org/wsdl/" 
-	     xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" 
-	     xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
-	     xmlns:tns="http://apache.org/samples/headers" 
-	     xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
-	     xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-    <types>
-	<schema targetNamespace="http://apache.org/samples/headers" 
-		xmlns="http://www.w3.org/2001/XMLSchema" 
-		xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
-
-	    <complexType name="SOAPHeaderData">
-		<sequence>
-		    <element maxOccurs="1" minOccurs="1" name="originator" type="string"/>
-		    <element maxOccurs="1" minOccurs="1" name="message" type="string"/>
-		</sequence>
-	    </complexType>
-	</schema>
-    </types>
-
-    <message name="inHeaderRequest">
-	<part element="tns:inHeader" name="me"/>
-	<part element="tns:SOAPHeaderInfo" name="header_info"/>
-    </message>
-    <message name="inHeaderResponse">
-	<part element="tns:inHeaderResponse" name="the_response"/>
-    </message>
-    <portType name="headerTester">
-	<operation name="inHeader">
-	    <input message="tns:inHeaderRequest" name="inHeaderRequest"/>
-	    <output message="tns:inHeaderResponse" name="inHeaderResponse"/>
-	</operation>
-    </portType>
-
-    <binding name="headerTesterSOAPBinding" type="tns:headerTester">
-	<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
-	<operation name="inHeader">
-	    <soap:operation soapAction="" style="document"/>
-	    <input name="inHeaderRequest">
-		<soap:body parts="me" use="literal"/>
-		<soap:header message="tns:inHeaderRequest" part="header_info" 
-			     use="literal"/>
-	    </input>
-	    <output name="inHeaderResponse">
-		<soap:body use="literal"/>
-	    </output>
-	</operation>
-    </binding>
-
-    <service name="HeaderService">
-	<port binding="tns:headerTesterSOAPBinding" name="SoapPort">
-	    <soap:address location="http://localhost:9000/headers"/>
-	</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="soap_header" targetNamespace="http://apache.org/samples/headers" 
+	     xmlns="http://schemas.xmlsoap.org/wsdl/" 
+	     xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" 
+	     xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
+	     xmlns:tns="http://apache.org/samples/headers" 
+	     xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
+	     xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+    <types>
+	<schema targetNamespace="http://apache.org/samples/headers" 
+		xmlns="http://www.w3.org/2001/XMLSchema" 
+		xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
+
+	    <complexType name="SOAPHeaderData">
+		<sequence>
+		    <element maxOccurs="1" minOccurs="1" name="originator" type="string"/>
+		    <element maxOccurs="1" minOccurs="1" name="message" type="string"/>
+		</sequence>
+	    </complexType>
+	</schema>
+    </types>
+
+    <message name="inHeaderRequest">
+	<part element="tns:inHeader" name="me"/>
+	<part element="tns:SOAPHeaderInfo" name="header_info"/>
+    </message>
+    <message name="inHeaderResponse">
+	<part element="tns:inHeaderResponse" name="the_response"/>
+    </message>
+    <portType name="headerTester">
+	<operation name="inHeader">
+	    <input message="tns:inHeaderRequest" name="inHeaderRequest"/>
+	    <output message="tns:inHeaderResponse" name="inHeaderResponse"/>
+	</operation>
+    </portType>
+
+    <binding name="headerTesterSOAPBinding" type="tns:headerTester">
+	<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+	<operation name="inHeader">
+	    <soap:operation soapAction="" style="document"/>
+	    <input name="inHeaderRequest">
+		<soap:body parts="me" use="literal"/>
+		<soap:header message="tns:inHeaderRequest" part="header_info" 
+			     use="literal"/>
+	    </input>
+	    <output name="inHeaderResponse">
+		<soap:body use="literal"/>
+	    </output>
+	</operation>
+    </binding>
+
+    <service name="HeaderService">
+	<port binding="tns:headerTesterSOAPBinding" name="SoapPort">
+	    <soap:address location="http://localhost:9000/headers"/>
+	</port>
+    </service>
+</definitions>

Propchange: incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/resources/NoTypeRef.wsdl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/resources/NoTypeRef.wsdl
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/resources/NoTypeRef.wsdl
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/resources/a.wsdl
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/resources/a.wsdl?view=diff&rev=547040&r1=547039&r2=547040
==============================================================================
--- incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/resources/a.wsdl (original)
+++ incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/resources/a.wsdl Wed Jun 13 14:45:28 2007
@@ -1,42 +1,42 @@
-<?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="HelloWorldImport" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://apache.org/hello_world" xmlns:x1="http://apache.org/hello_world/messages" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://apache.org/hello_world">
-
-    <wsdl:import namespace="http://apache.org/hello_world/messages" location="b.wsdl"/>
-
-    <wsdl:binding name="SOAPBinding" type="x1:GreeterA">	
-	<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
-	<wsdl:operation name="sayHi">
-	    <soap:operation style="document"/>
-	    <wsdl:input>
-		<soap:body use="literal"/>
-	    </wsdl:input>
-	    <wsdl:output>
-		<soap:body use="literal"/>
-	    </wsdl:output>
-	</wsdl:operation>
-    </wsdl:binding>
-    <service name="SOAPService">
-	<port binding="tns:SOAPBinding" name="SoapPort">
-	    <soap:address location="http://localhost:9000/headers"/>
-	</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.
+-->
+
+<wsdl:definitions name="HelloWorldImport" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://apache.org/hello_world" xmlns:x1="http://apache.org/hello_world/messages" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://apache.org/hello_world">
+
+    <wsdl:import namespace="http://apache.org/hello_world/messages" location="b.wsdl"/>
+
+    <wsdl:binding name="SOAPBinding" type="x1:GreeterA">	
+	<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+	<wsdl:operation name="sayHi">
+	    <soap:operation style="document"/>
+	    <wsdl:input>
+		<soap:body use="literal"/>
+	    </wsdl:input>
+	    <wsdl:output>
+		<soap:body use="literal"/>
+	    </wsdl:output>
+	</wsdl:operation>
+    </wsdl:binding>
+    <service name="SOAPService">
+	<port binding="tns:SOAPBinding" name="SoapPort">
+	    <soap:address location="http://localhost:9000/headers"/>
+	</port>
+    </service>
 </wsdl:definitions>

Propchange: incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/resources/a.wsdl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/resources/a.wsdl
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/tools/validator/src/test/java/org/apache/cxf/tools/validator/internal/resources/a.wsdl
------------------------------------------------------------------------------
    svn:mime-type = text/xml