You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2005/09/15 21:07:03 UTC

svn commit: r289289 [112/134] - in /webservices/axis2/trunk/java: ./ etc/ modules/addressing/ modules/addressing/src/META-INF/ modules/addressing/src/org/apache/axis2/handlers/addressing/ modules/addressing/test-resources/ modules/addressing/test/org/a...

Modified: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLDescription.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLDescription.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLDescription.java (original)
+++ webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLDescription.java Thu Sep 15 11:52:11 2005
@@ -1,300 +1,300 @@
-/*
- * Copyright 2004,2005 The Apache Software Foundation.
- *
- * Licensed 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.wsdl;
-
-import org.apache.axis2.wsdl.builder.WSDLComponentFactory;
-
-import javax.xml.namespace.QName;
-import java.util.ArrayList;
-import java.util.Map;
-
-/**
- * @author chathura@opensource.lk
- */
-public interface WSDLDescription extends Component, WSDLComponentFactory {
-    /**
-     * Returns a Map of <code>WSDLBindings</code> Objects keyed by the <code>QName</code>
-     * of the Binding.
-     *
-     * @return
-     */
-    public Map getBindings();
-
-    /**
-     * Sets the whole new set of Bindings to the WSDLDefinition.
-     *
-     * @param bindings
-     */
-    public void setBindings(Map bindings);
-
-    /**
-     * The WSDLBinding Will be added to the map keyed  with its own QName.
-     * If the WSDLBinding is null it will not be added.
-     * If the WSDLBinding is not null and  Binding name is null then
-     * WSDLProcessingException will be thrown
-     *
-     * @param binding <code>WSDLBinding</code> Object
-     */
-    public void addBinding(WSDLBinding binding);
-
-    /**
-     * Retrives the <code>WSDLBinding</code> by its QName. Wil return null
-     * if <code>WSDLBinding</code> is not found.
-     *
-     * @param qName The QName of the Binding.
-     * @return
-     */
-    public WSDLBinding getBinding(QName qName);
-
-    /**
-     * The Interface component will be added to the map keyed with its own name.
-     * If the Interface is null it will not be added.
-     * If the interface name is null an WSDLProcessingException will be thrown
-     *
-     * @param interfaceComponent
-     */
-    public void addInterface(WSDLInterface interfaceComponent);
-
-    /**
-     * The Interface Component will be returned if it exsists,
-     * otherwise null will be returned.
-     *
-     * @param qName qName of the Interface.
-     * @return The Interface Component with the relavent QName
-     */
-    public WSDLInterface getInterface(QName qName);
-
-    /**
-     * Method getServices
-     *
-     * @return
-     */
-    public Map getServices();
-
-    /**
-     * Method setServices
-     *
-     * @param services
-     */
-    public void setServices(Map services);
-
-    /**
-     * Will return the <code>WSDLService </code> if found otherwise return null.
-     *
-     * @param qName <code>QName</code> of the Service
-     * @return The Service with the relavent QName
-     */
-    public WSDLService getService(QName qName);
-
-    /**
-     * Will add the <code>WSDLService</code> to the Map.
-     * If object is null it will not be added.
-     * If the <code>WSDLService</code> name is null a <code>WSDLProcessingException</code>
-     * will be thrown.(its required)
-     *
-     * @param service
-     */
-    public void addService(WSDLService service);
-
-    /**
-     * Method getTargetNameSpace
-     *
-     * @return
-     */
-    public String getTargetNameSpace();
-
-    /**
-     * Method setTargetNameSpace
-     *
-     * @param targetNameSpace
-     */
-    public void setTargetNameSpace(String targetNameSpace);
-
-    /**
-     * Method getWsdlInterfaces
-     *
-     * @return
-     */
-    public Map getWsdlInterfaces();
-
-    /**
-     * Method setWsdlInterfaces
-     *
-     * @param wsdlInterfaces
-     */
-    public void setWsdlInterfaces(Map wsdlInterfaces);
-
-    /**
-     * Method getTypes
-     *
-     * @return
-     */
-    public WSDLTypes getTypes();
-
-    /**
-     * Method setTypes
-     *
-     * @param types
-     */
-    public void setTypes(WSDLTypes types);
-
-    /**
-     * Gets the name attribute of the WSDL 1.1 Definitions Element
-     *
-     * @return
-     */
-    public QName getWSDL1DefinitionName();
-
-    /**
-     * Sets the name attribute of the WSDL 1.1 Definitions Element
-     *
-     * @param wsdl1DefinitionName
-     */
-    public void setWSDL1DefinitionName(QName wsdl1DefinitionName);
-
-    /**
-     * Will return all the Namespaces associated with the Definition
-     * Component and will be keyed by the Napespace Prefix.
-     *
-     * @return
-     */
-    public Map getNamespaces();
-
-    /**
-     * Sets the Namespaces associated with the Difinition Component
-     * and they should be keyed by its Namespace Prefix.
-     *
-     * @param namespaces
-     */
-    public void setNamespaces(Map namespaces);
-
-    /**
-     * Will return the Namespace URI as a String if there exists an
-     * Namespace URI associated with the given prefix, in the Definition
-     * Component, Will return null if not found.
-     *
-     * @param prefix Prefix defined in the Definitions elemet in the WSDL file
-     * @return The Namespace URI for the prefix.
-     */
-    public String getNamespace(String prefix);
-
-    /**
-     * Returns the WSDL Imports in an <code>ArrayList</code>
-     *
-     * @return
-     */
-    public ArrayList getImports();
-
-    /**
-     * Sets the imports as an <code>ArrayList</code>
-     *
-     * @param imports
-     */
-    public void setImports(ArrayList imports);
-
-    /**
-     * Adds an import to the list.
-     *
-     * @param wsdlImport
-     */
-    public void addImports(WSDLImport wsdlImport);
-
-    /**
-     * Returns the Includes as an <code>ArrayList</code>
-     *
-     * @return
-     */
-    public ArrayList getIncludes();
-
-    /**
-     * Sets the includes as an <code>Arraylist</code>
-     *
-     * @param includes
-     */
-    public void setIncludes(ArrayList includes);
-
-    /**
-     * Adds the WSDL Include to the list.
-     *
-     * @param wsdlInclude
-     */
-    public void addInclude(WSDLInclude wsdlInclude);
-
-    /**
-     * @return A new instance of type <code>WSDLDescription</code>
-     */
-    public WSDLDescription createDescription();
-
-    /**
-     * @return A new instance of type <code>WSDLService</code>
-     */
-    public WSDLService createService();
-
-    /**
-     * @return A new instance of type <code>WSDLInterface</code>
-     */
-    public WSDLInterface createInterface();
-
-    /**
-     * @return A new instance of type <code>WSDLTypes</code>
-     */
-    public WSDLTypes createTypes();
-
-    /**
-     * @return A new instance of type <code>WSDLBinding</code>
-     */
-    public WSDLBinding createBinding();
-
-    /**
-     * @return A new instance of type <code>WSDLOperation</code>
-     */
-    public WSDLOperation createOperation();
-
-    /**
-     * @return A new instance of type <code>WSDLEndpoint</code>
-     */
-    public WSDLEndpoint createEndpoint();
-
-    /**
-     * @return A new instance of type <code>WSDLFeature</code>
-     */
-    public WSDLFeature createFeature();
-
-    /**
-     * @return A new instance of type <code>WSDLImport</code>
-     */
-    public WSDLImport createImport();
-
-    /**
-     * @return A new instance of type <code>WSDLInclude</code>
-     */
-    public WSDLInclude createInclude();
-
-    /**
-     * Method createProperty
-     *
-     * @return
-     */
-    public WSDLProperty createProperty();
-
-    /**
-     * Will return the first binding component the collection returned by the
-     * <code>Map</code>.
-     *
-     * @return
-     */
-    public WSDLBinding getFirstBinding();
-}
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed 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.wsdl;
+
+import org.apache.axis2.wsdl.builder.WSDLComponentFactory;
+
+import javax.xml.namespace.QName;
+import java.util.ArrayList;
+import java.util.Map;
+
+/**
+ * @author chathura@opensource.lk
+ */
+public interface WSDLDescription extends Component, WSDLComponentFactory {
+    /**
+     * Returns a Map of <code>WSDLBindings</code> Objects keyed by the <code>QName</code>
+     * of the Binding.
+     *
+     * @return
+     */
+    public Map getBindings();
+
+    /**
+     * Sets the whole new set of Bindings to the WSDLDefinition.
+     *
+     * @param bindings
+     */
+    public void setBindings(Map bindings);
+
+    /**
+     * The WSDLBinding Will be added to the map keyed  with its own QName.
+     * If the WSDLBinding is null it will not be added.
+     * If the WSDLBinding is not null and  Binding name is null then
+     * WSDLProcessingException will be thrown
+     *
+     * @param binding <code>WSDLBinding</code> Object
+     */
+    public void addBinding(WSDLBinding binding);
+
+    /**
+     * Retrives the <code>WSDLBinding</code> by its QName. Wil return null
+     * if <code>WSDLBinding</code> is not found.
+     *
+     * @param qName The QName of the Binding.
+     * @return
+     */
+    public WSDLBinding getBinding(QName qName);
+
+    /**
+     * The Interface component will be added to the map keyed with its own name.
+     * If the Interface is null it will not be added.
+     * If the interface name is null an WSDLProcessingException will be thrown
+     *
+     * @param interfaceComponent
+     */
+    public void addInterface(WSDLInterface interfaceComponent);
+
+    /**
+     * The Interface Component will be returned if it exsists,
+     * otherwise null will be returned.
+     *
+     * @param qName qName of the Interface.
+     * @return The Interface Component with the relavent QName
+     */
+    public WSDLInterface getInterface(QName qName);
+
+    /**
+     * Method getServices
+     *
+     * @return
+     */
+    public Map getServices();
+
+    /**
+     * Method setServices
+     *
+     * @param services
+     */
+    public void setServices(Map services);
+
+    /**
+     * Will return the <code>WSDLService </code> if found otherwise return null.
+     *
+     * @param qName <code>QName</code> of the Service
+     * @return The Service with the relavent QName
+     */
+    public WSDLService getService(QName qName);
+
+    /**
+     * Will add the <code>WSDLService</code> to the Map.
+     * If object is null it will not be added.
+     * If the <code>WSDLService</code> name is null a <code>WSDLProcessingException</code>
+     * will be thrown.(its required)
+     *
+     * @param service
+     */
+    public void addService(WSDLService service);
+
+    /**
+     * Method getTargetNameSpace
+     *
+     * @return
+     */
+    public String getTargetNameSpace();
+
+    /**
+     * Method setTargetNameSpace
+     *
+     * @param targetNameSpace
+     */
+    public void setTargetNameSpace(String targetNameSpace);
+
+    /**
+     * Method getWsdlInterfaces
+     *
+     * @return
+     */
+    public Map getWsdlInterfaces();
+
+    /**
+     * Method setWsdlInterfaces
+     *
+     * @param wsdlInterfaces
+     */
+    public void setWsdlInterfaces(Map wsdlInterfaces);
+
+    /**
+     * Method getTypes
+     *
+     * @return
+     */
+    public WSDLTypes getTypes();
+
+    /**
+     * Method setTypes
+     *
+     * @param types
+     */
+    public void setTypes(WSDLTypes types);
+
+    /**
+     * Gets the name attribute of the WSDL 1.1 Definitions Element
+     *
+     * @return
+     */
+    public QName getWSDL1DefinitionName();
+
+    /**
+     * Sets the name attribute of the WSDL 1.1 Definitions Element
+     *
+     * @param wsdl1DefinitionName
+     */
+    public void setWSDL1DefinitionName(QName wsdl1DefinitionName);
+
+    /**
+     * Will return all the Namespaces associated with the Definition
+     * Component and will be keyed by the Napespace Prefix.
+     *
+     * @return
+     */
+    public Map getNamespaces();
+
+    /**
+     * Sets the Namespaces associated with the Difinition Component
+     * and they should be keyed by its Namespace Prefix.
+     *
+     * @param namespaces
+     */
+    public void setNamespaces(Map namespaces);
+
+    /**
+     * Will return the Namespace URI as a String if there exists an
+     * Namespace URI associated with the given prefix, in the Definition
+     * Component, Will return null if not found.
+     *
+     * @param prefix Prefix defined in the Definitions elemet in the WSDL file
+     * @return The Namespace URI for the prefix.
+     */
+    public String getNamespace(String prefix);
+
+    /**
+     * Returns the WSDL Imports in an <code>ArrayList</code>
+     *
+     * @return
+     */
+    public ArrayList getImports();
+
+    /**
+     * Sets the imports as an <code>ArrayList</code>
+     *
+     * @param imports
+     */
+    public void setImports(ArrayList imports);
+
+    /**
+     * Adds an import to the list.
+     *
+     * @param wsdlImport
+     */
+    public void addImports(WSDLImport wsdlImport);
+
+    /**
+     * Returns the Includes as an <code>ArrayList</code>
+     *
+     * @return
+     */
+    public ArrayList getIncludes();
+
+    /**
+     * Sets the includes as an <code>Arraylist</code>
+     *
+     * @param includes
+     */
+    public void setIncludes(ArrayList includes);
+
+    /**
+     * Adds the WSDL Include to the list.
+     *
+     * @param wsdlInclude
+     */
+    public void addInclude(WSDLInclude wsdlInclude);
+
+    /**
+     * @return A new instance of type <code>WSDLDescription</code>
+     */
+    public WSDLDescription createDescription();
+
+    /**
+     * @return A new instance of type <code>WSDLService</code>
+     */
+    public WSDLService createService();
+
+    /**
+     * @return A new instance of type <code>WSDLInterface</code>
+     */
+    public WSDLInterface createInterface();
+
+    /**
+     * @return A new instance of type <code>WSDLTypes</code>
+     */
+    public WSDLTypes createTypes();
+
+    /**
+     * @return A new instance of type <code>WSDLBinding</code>
+     */
+    public WSDLBinding createBinding();
+
+    /**
+     * @return A new instance of type <code>WSDLOperation</code>
+     */
+    public WSDLOperation createOperation();
+
+    /**
+     * @return A new instance of type <code>WSDLEndpoint</code>
+     */
+    public WSDLEndpoint createEndpoint();
+
+    /**
+     * @return A new instance of type <code>WSDLFeature</code>
+     */
+    public WSDLFeature createFeature();
+
+    /**
+     * @return A new instance of type <code>WSDLImport</code>
+     */
+    public WSDLImport createImport();
+
+    /**
+     * @return A new instance of type <code>WSDLInclude</code>
+     */
+    public WSDLInclude createInclude();
+
+    /**
+     * Method createProperty
+     *
+     * @return
+     */
+    public WSDLProperty createProperty();
+
+    /**
+     * Will return the first binding component the collection returned by the
+     * <code>Map</code>.
+     *
+     * @return
+     */
+    public WSDLBinding getFirstBinding();
+}

Propchange: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLDescription.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLEndpoint.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLEndpoint.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLEndpoint.java (original)
+++ webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLEndpoint.java Thu Sep 15 11:52:11 2005
@@ -1,51 +1,51 @@
-/*
- * Copyright 2004,2005 The Apache Software Foundation.
- *
- * Licensed 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.wsdl;
-
-import javax.xml.namespace.QName;
-
-/**
- * @author chathura@opensource.lk
- */
-public interface WSDLEndpoint extends Component {
-    /**
-     * Method getBinding
-     *
-     * @return
-     */
-    public WSDLBinding getBinding();
-
-    /**
-     * Method setBinding
-     *
-     * @param binding
-     */
-    public void setBinding(WSDLBinding binding);
-
-    /**
-     * Method getName
-     *
-     * @return
-     */
-    public QName getName();
-
-    /**
-     * Method setName
-     *
-     * @param name
-     */
-    public void setName(QName name);
-}
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed 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.wsdl;
+
+import javax.xml.namespace.QName;
+
+/**
+ * @author chathura@opensource.lk
+ */
+public interface WSDLEndpoint extends Component {
+    /**
+     * Method getBinding
+     *
+     * @return
+     */
+    public WSDLBinding getBinding();
+
+    /**
+     * Method setBinding
+     *
+     * @param binding
+     */
+    public void setBinding(WSDLBinding binding);
+
+    /**
+     * Method getName
+     *
+     * @return
+     */
+    public QName getName();
+
+    /**
+     * Method setName
+     *
+     * @param name
+     */
+    public void setName(QName name);
+}

Propchange: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLEndpoint.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLExtensibilityAttribute.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLExtensibilityAttribute.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLExtensibilityAttribute.java (original)
+++ webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLExtensibilityAttribute.java Thu Sep 15 11:52:11 2005
@@ -1,33 +1,33 @@
-/*
- * Copyright 2001-2004 The Apache Software Foundation.
- * 
- * Licensed 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.wsdl;
-
-import javax.xml.namespace.QName;
-
-/**
- * @author chathura@opensource.lk
- */
-public interface WSDLExtensibilityAttribute {
-
-    public abstract QName getKey();
-
-    public abstract QName getValue();
-
-    public void setKey(QName key);
-
-    public void setValue(QName value);
+/*
+ * Copyright 2001-2004 The Apache Software Foundation.
+ * 
+ * Licensed 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.wsdl;
+
+import javax.xml.namespace.QName;
+
+/**
+ * @author chathura@opensource.lk
+ */
+public interface WSDLExtensibilityAttribute {
+
+    public abstract QName getKey();
+
+    public abstract QName getValue();
+
+    public void setKey(QName key);
+
+    public void setValue(QName value);
 }

Propchange: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLExtensibilityAttribute.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLExtensibilityElement.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLExtensibilityElement.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLExtensibilityElement.java (original)
+++ webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLExtensibilityElement.java Thu Sep 15 11:52:11 2005
@@ -1,32 +1,32 @@
-/*
- * Copyright 2001-2004 The Apache Software Foundation.
- * 
- * Licensed 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.wsdl;
-
-import javax.xml.namespace.QName;
-
-/**
- * @author chathura@opensource.lk
- */
-public interface WSDLExtensibilityElement {
-    public boolean isRequired();
-
-    public void setRequired(boolean required);
-
-    public QName getType();
-
-    public void setType(QName type);
+/*
+ * Copyright 2001-2004 The Apache Software Foundation.
+ * 
+ * Licensed 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.wsdl;
+
+import javax.xml.namespace.QName;
+
+/**
+ * @author chathura@opensource.lk
+ */
+public interface WSDLExtensibilityElement {
+    public boolean isRequired();
+
+    public void setRequired(boolean required);
+
+    public QName getType();
+
+    public void setType(QName type);
 }

Propchange: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLExtensibilityElement.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLFaultReference.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLFaultReference.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLFaultReference.java (original)
+++ webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLFaultReference.java Thu Sep 15 11:52:11 2005
@@ -1,65 +1,65 @@
-/*
- * Copyright 2004,2005 The Apache Software Foundation.
- *
- * Licensed 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.wsdl;
-
-import javax.xml.namespace.QName;
-
-/**
- * @author chathura@opensource.lk
- */
-public interface WSDLFaultReference extends Component {
-    /**
-     * Returns the direction of the Fault according the MEP
-     *
-     * @return
-     */
-    public String getDirection();
-
-    /**
-     * Sets the direction of the Fault.
-     *
-     * @param direction
-     */
-    public void setDirection(String direction);
-
-    /**
-     * Method getMessageLabel
-     *
-     * @return
-     */
-    public String getMessageLabel();
-
-    /**
-     * Method setMessageLabel
-     *
-     * @param messageLabel
-     */
-    public void setMessageLabel(String messageLabel);
-
-    /**
-     * Returns the Fault reference.
-     *
-     * @return
-     */
-    public QName getRef();
-
-    /**
-     * Sets the Fault reference.
-     *
-     * @param ref
-     */
-    public void setRef(QName ref);
-}
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed 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.wsdl;
+
+import javax.xml.namespace.QName;
+
+/**
+ * @author chathura@opensource.lk
+ */
+public interface WSDLFaultReference extends Component {
+    /**
+     * Returns the direction of the Fault according the MEP
+     *
+     * @return
+     */
+    public String getDirection();
+
+    /**
+     * Sets the direction of the Fault.
+     *
+     * @param direction
+     */
+    public void setDirection(String direction);
+
+    /**
+     * Method getMessageLabel
+     *
+     * @return
+     */
+    public String getMessageLabel();
+
+    /**
+     * Method setMessageLabel
+     *
+     * @param messageLabel
+     */
+    public void setMessageLabel(String messageLabel);
+
+    /**
+     * Returns the Fault reference.
+     *
+     * @return
+     */
+    public QName getRef();
+
+    /**
+     * Sets the Fault reference.
+     *
+     * @param ref
+     */
+    public void setRef(QName ref);
+}

Propchange: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLFaultReference.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLFeature.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLFeature.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLFeature.java (original)
+++ webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLFeature.java Thu Sep 15 11:52:11 2005
@@ -1,49 +1,49 @@
-/*
- * Copyright 2004,2005 The Apache Software Foundation.
- *
- * Licensed 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.wsdl;
-
-/**
- * @author chathura@opensource.lk
- */
-public interface WSDLFeature extends Component {
-    /**
-     * Method getName
-     *
-     * @return
-     */
-    public String getName();
-
-    /**
-     * Method setName
-     *
-     * @param name
-     */
-    public void setName(String name);
-
-    /**
-     * Method isRequired
-     *
-     * @return
-     */
-    public boolean isRequired();
-
-    /**
-     * Method setRequired
-     *
-     * @param required
-     */
-    public void setRequired(boolean required);
-}
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed 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.wsdl;
+
+/**
+ * @author chathura@opensource.lk
+ */
+public interface WSDLFeature extends Component {
+    /**
+     * Method getName
+     *
+     * @return
+     */
+    public String getName();
+
+    /**
+     * Method setName
+     *
+     * @param name
+     */
+    public void setName(String name);
+
+    /**
+     * Method isRequired
+     *
+     * @return
+     */
+    public boolean isRequired();
+
+    /**
+     * Method setRequired
+     *
+     * @param required
+     */
+    public void setRequired(boolean required);
+}

Propchange: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLFeature.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLImport.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLImport.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLImport.java (original)
+++ webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLImport.java Thu Sep 15 11:52:11 2005
@@ -1,49 +1,49 @@
-/*
- * Copyright 2004,2005 The Apache Software Foundation.
- *
- * Licensed 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.wsdl;
-
-/**
- * @author chathura@opensource.lk
- */
-public interface WSDLImport extends Component {
-    /**
-     * Gets the location URI of the Include.
-     *
-     * @return
-     */
-    public String getLocation();
-
-    /**
-     * Sets the location URI of the Include.
-     *
-     * @param location
-     */
-    public void setLocation(String location);
-
-    /**
-     * Returns the namespace URI
-     *
-     * @return
-     */
-    public String getNamespace();
-
-    /**
-     * Sets the namespace URI.
-     *
-     * @param namespace
-     */
-    public void setNamespace(String namespace);
-}
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed 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.wsdl;
+
+/**
+ * @author chathura@opensource.lk
+ */
+public interface WSDLImport extends Component {
+    /**
+     * Gets the location URI of the Include.
+     *
+     * @return
+     */
+    public String getLocation();
+
+    /**
+     * Sets the location URI of the Include.
+     *
+     * @param location
+     */
+    public void setLocation(String location);
+
+    /**
+     * Returns the namespace URI
+     *
+     * @return
+     */
+    public String getNamespace();
+
+    /**
+     * Sets the namespace URI.
+     *
+     * @param namespace
+     */
+    public void setNamespace(String namespace);
+}

Propchange: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLImport.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLInclude.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLInclude.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLInclude.java (original)
+++ webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLInclude.java Thu Sep 15 11:52:11 2005
@@ -1,35 +1,35 @@
-/*
- * Copyright 2004,2005 The Apache Software Foundation.
- *
- * Licensed 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.wsdl;
-
-/**
- * @author chathura@opensource.lk
- */
-public interface WSDLInclude extends Component {
-    /**
-     * Gets the location URI of the Include.
-     *
-     * @return
-     */
-    public String getLocation();
-
-    /**
-     * Sets the location URI of the Include.
-     *
-     * @param location
-     */
-    public void setLocation(String location);
-}
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed 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.wsdl;
+
+/**
+ * @author chathura@opensource.lk
+ */
+public interface WSDLInclude extends Component {
+    /**
+     * Gets the location URI of the Include.
+     *
+     * @return
+     */
+    public String getLocation();
+
+    /**
+     * Sets the location URI of the Include.
+     *
+     * @param location
+     */
+    public void setLocation(String location);
+}

Propchange: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLInclude.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLInterface.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLInterface.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLInterface.java (original)
+++ webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLInterface.java Thu Sep 15 11:52:11 2005
@@ -1,137 +1,137 @@
-/*
- * Copyright 2004,2005 The Apache Software Foundation.
- *
- * Licensed 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.wsdl;
-
-import javax.xml.namespace.QName;
-import java.util.HashMap;
-import java.util.List;
-
-/**
- * @author chathura@opensource.lk
- */
-public interface WSDLInterface extends ExtensibleComponent {
-    /**
-     * Method getDefinedOperations
-     *
-     * @return
-     */
-    public HashMap getDefinedOperations();
-
-    /**
-     * Will return a map of all this <code>WSDLOperation</code>s that
-     * are defined and inherited from super interfaces.
-     *
-     * @return
-     */
-    public HashMap getAllOperations();
-
-    /**
-     * @return
-     */
-    public List getFaults();
-
-    /**
-     * @return
-     */
-    public QName getName();
-
-    /**
-     * @return
-     */
-    public HashMap getOperations();
-
-    /**
-     * Retruns the <code>WSDLOperation</code>
-     *
-     * @param nCName
-     * @return
-     */
-    public WSDLOperation getOperation(String nCName);
-
-    /**
-     * @return
-     */
-    public HashMap getSuperInterfaces();
-
-    /**
-     * Method getSuperInterface
-     *
-     * @param qName
-     * @return
-     */
-    public WSDLInterface getSuperInterface(QName qName);
-
-    /**
-     * The Targetnamespace is that of the namespace URI of the QName of
-     * this component.
-     *
-     * @return URI as a String if the name is set otherwise will return null.
-     */
-    public String getTargetnamespace();
-
-    /**
-     * @param list
-     */
-    public void setFaults(List list);
-
-    /**
-     * @param qName
-     */
-    public void setName(QName qName);
-
-    /**
-     * @param list
-     */
-    public void setOperations(HashMap list);
-
-    /**
-     * The operation is added by its ncname. If operation is null
-     * it will not be added. If the Operation name is null a
-     * <code>WSDLProcessingException</code> will be thrown.
-     *
-     * @param operation
-     */
-    public void setOperation(WSDLOperation operation);
-
-    /**
-     * @param list
-     */
-    public void setSuperInterfaces(HashMap list);
-
-    /**
-     * The Inteface will be added to the list of super interfaces keyed with
-     * the QName.
-     *
-     * @param interfaceComponent WSDLInterface Object
-     */
-    public void addSuperInterface(WSDLInterface interfaceComponent);
-
-    /**
-     * Will return the StyleDefault if exist , otherwise will return null
-     *
-     * @return
-     */
-    public String getStyleDefault();
-
-    /**
-     * Method setStyleDefault
-     *
-     * @param styleDefault
-     */
-    public void setStyleDefault(String styleDefault);
-
-
-}
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed 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.wsdl;
+
+import javax.xml.namespace.QName;
+import java.util.HashMap;
+import java.util.List;
+
+/**
+ * @author chathura@opensource.lk
+ */
+public interface WSDLInterface extends ExtensibleComponent {
+    /**
+     * Method getDefinedOperations
+     *
+     * @return
+     */
+    public HashMap getDefinedOperations();
+
+    /**
+     * Will return a map of all this <code>WSDLOperation</code>s that
+     * are defined and inherited from super interfaces.
+     *
+     * @return
+     */
+    public HashMap getAllOperations();
+
+    /**
+     * @return
+     */
+    public List getFaults();
+
+    /**
+     * @return
+     */
+    public QName getName();
+
+    /**
+     * @return
+     */
+    public HashMap getOperations();
+
+    /**
+     * Retruns the <code>WSDLOperation</code>
+     *
+     * @param nCName
+     * @return
+     */
+    public WSDLOperation getOperation(String nCName);
+
+    /**
+     * @return
+     */
+    public HashMap getSuperInterfaces();
+
+    /**
+     * Method getSuperInterface
+     *
+     * @param qName
+     * @return
+     */
+    public WSDLInterface getSuperInterface(QName qName);
+
+    /**
+     * The Targetnamespace is that of the namespace URI of the QName of
+     * this component.
+     *
+     * @return URI as a String if the name is set otherwise will return null.
+     */
+    public String getTargetnamespace();
+
+    /**
+     * @param list
+     */
+    public void setFaults(List list);
+
+    /**
+     * @param qName
+     */
+    public void setName(QName qName);
+
+    /**
+     * @param list
+     */
+    public void setOperations(HashMap list);
+
+    /**
+     * The operation is added by its ncname. If operation is null
+     * it will not be added. If the Operation name is null a
+     * <code>WSDLProcessingException</code> will be thrown.
+     *
+     * @param operation
+     */
+    public void setOperation(WSDLOperation operation);
+
+    /**
+     * @param list
+     */
+    public void setSuperInterfaces(HashMap list);
+
+    /**
+     * The Inteface will be added to the list of super interfaces keyed with
+     * the QName.
+     *
+     * @param interfaceComponent WSDLInterface Object
+     */
+    public void addSuperInterface(WSDLInterface interfaceComponent);
+
+    /**
+     * Will return the StyleDefault if exist , otherwise will return null
+     *
+     * @return
+     */
+    public String getStyleDefault();
+
+    /**
+     * Method setStyleDefault
+     *
+     * @param styleDefault
+     */
+    public void setStyleDefault(String styleDefault);
+
+
+}

Propchange: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLInterface.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLInterfaceFault.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLInterfaceFault.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLInterfaceFault.java (original)
+++ webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLInterfaceFault.java Thu Sep 15 11:52:11 2005
@@ -1,33 +1,33 @@
-/*
- * Copyright 2001-2004 The Apache Software Foundation.
- * 
- * Licensed 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.wsdl;
-
-import javax.xml.namespace.QName;
-
-
-/**
- * @author chathura@opensource.lk
- */
-public interface WSDLInterfaceFault extends Component {
-    public QName getElement();
-
-    public void setElement(QName element);
-
-    public QName getName();
-
-    public void setName(QName name);
+/*
+ * Copyright 2001-2004 The Apache Software Foundation.
+ * 
+ * Licensed 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.wsdl;
+
+import javax.xml.namespace.QName;
+
+
+/**
+ * @author chathura@opensource.lk
+ */
+public interface WSDLInterfaceFault extends Component {
+    public QName getElement();
+
+    public void setElement(QName element);
+
+    public QName getName();
+
+    public void setName(QName name);
 }

Propchange: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLInterfaceFault.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLOperation.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLOperation.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLOperation.java (original)
+++ webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLOperation.java Thu Sep 15 11:52:11 2005
@@ -1,147 +1,147 @@
-/*
- * Copyright 2004,2005 The Apache Software Foundation.
- *
- * Licensed 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.wsdl;
-
-import javax.xml.namespace.QName;
-import java.util.List;
-
-/**
- * @author chathura@opensource.lk
- */
-public interface WSDLOperation extends ExtensibleComponent {
-    /**
-     * Method getInfaults
-     *
-     * @return
-     */
-    public List getInfaults();
-
-    /**
-     * Method setInfaults
-     *
-     * @param infaults
-     */
-    public void setInfaults(List infaults);
-
-    /**
-     * Method getInputMessage
-     *
-     * @return
-     */
-    public MessageReference getInputMessage();
-
-    /**
-     * Method setInputMessage
-     *
-     * @param inputMessage
-     */
-    public void setInputMessage(MessageReference inputMessage);
-
-    /**
-     * Method getMessageExchangePattern
-     *
-     * @return
-     */
-    public String getMessageExchangePattern();
-
-    /**
-     * Method setMessageExchangePattern
-     *
-     * @param messageExchangePattern
-     */
-    public void setMessageExchangePattern(String messageExchangePattern);
-
-    /**
-     * Method getName
-     *
-     * @return
-     */
-    public QName getName();
-
-    /**
-     * Method setName
-     *
-     * @param name
-     */
-    public void setName(QName name);
-
-    /**
-     * Method getOutfaults
-     *
-     * @return
-     */
-    public List getOutfaults();
-
-    /**
-     * Method setOutfaults
-     *
-     * @param outfaults
-     */
-    public void setOutfaults(List outfaults);
-
-    /**
-     * Method getOutputMessage
-     *
-     * @return
-     */
-    public MessageReference getOutputMessage();
-
-    /**
-     * Method setOutputMessage
-     *
-     * @param outputMessage
-     */
-    public void setOutputMessage(MessageReference outputMessage);
-
-    /**
-     * Method isSafe
-     *
-     * @return
-     */
-    public boolean isSafe();
-
-    /**
-     * Method setSafety
-     *
-     * @param safe
-     */
-    public void setSafety(boolean safe);
-
-    public String getStyle();
-
-    public void setStyle(String style);
-
-    /**
-     * Method getTargetnemespace
-     *
-     * @return
-     */
-    public String getTargetnamespace();
-
-    /**
-     * Add the InFault to the Components InFaults
-     *
-     * @param inFault
-     */
-    public void addInFault(WSDLFaultReference inFault);
-
-    /**
-     * Add the OutFault to the Component OutFaults
-     *
-     * @param outFault
-     */
-    public void addOutFault(WSDLFaultReference outFault);
-}
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed 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.wsdl;
+
+import javax.xml.namespace.QName;
+import java.util.List;
+
+/**
+ * @author chathura@opensource.lk
+ */
+public interface WSDLOperation extends ExtensibleComponent {
+    /**
+     * Method getInfaults
+     *
+     * @return
+     */
+    public List getInfaults();
+
+    /**
+     * Method setInfaults
+     *
+     * @param infaults
+     */
+    public void setInfaults(List infaults);
+
+    /**
+     * Method getInputMessage
+     *
+     * @return
+     */
+    public MessageReference getInputMessage();
+
+    /**
+     * Method setInputMessage
+     *
+     * @param inputMessage
+     */
+    public void setInputMessage(MessageReference inputMessage);
+
+    /**
+     * Method getMessageExchangePattern
+     *
+     * @return
+     */
+    public String getMessageExchangePattern();
+
+    /**
+     * Method setMessageExchangePattern
+     *
+     * @param messageExchangePattern
+     */
+    public void setMessageExchangePattern(String messageExchangePattern);
+
+    /**
+     * Method getName
+     *
+     * @return
+     */
+    public QName getName();
+
+    /**
+     * Method setName
+     *
+     * @param name
+     */
+    public void setName(QName name);
+
+    /**
+     * Method getOutfaults
+     *
+     * @return
+     */
+    public List getOutfaults();
+
+    /**
+     * Method setOutfaults
+     *
+     * @param outfaults
+     */
+    public void setOutfaults(List outfaults);
+
+    /**
+     * Method getOutputMessage
+     *
+     * @return
+     */
+    public MessageReference getOutputMessage();
+
+    /**
+     * Method setOutputMessage
+     *
+     * @param outputMessage
+     */
+    public void setOutputMessage(MessageReference outputMessage);
+
+    /**
+     * Method isSafe
+     *
+     * @return
+     */
+    public boolean isSafe();
+
+    /**
+     * Method setSafety
+     *
+     * @param safe
+     */
+    public void setSafety(boolean safe);
+
+    public String getStyle();
+
+    public void setStyle(String style);
+
+    /**
+     * Method getTargetnemespace
+     *
+     * @return
+     */
+    public String getTargetnamespace();
+
+    /**
+     * Add the InFault to the Components InFaults
+     *
+     * @param inFault
+     */
+    public void addInFault(WSDLFaultReference inFault);
+
+    /**
+     * Add the OutFault to the Component OutFaults
+     *
+     * @param outFault
+     */
+    public void addOutFault(WSDLFaultReference outFault);
+}

Propchange: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLOperation.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLProperty.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLProperty.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLProperty.java (original)
+++ webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLProperty.java Thu Sep 15 11:52:11 2005
@@ -1,63 +1,63 @@
-/*
- * Copyright 2004,2005 The Apache Software Foundation.
- *
- * Licensed 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.wsdl;
-
-/**
- * @author chathura@opensource.lk
- */
-public interface WSDLProperty extends Component {
-    /**
-     * Method getConstraint
-     *
-     * @return
-     */
-    public Object getConstraint();
-
-    /**
-     * Method setConstraint
-     *
-     * @param constraint
-     */
-    public void setConstraint(Object constraint);
-
-    /**
-     * Method getName
-     *
-     * @return
-     */
-    public String getName();
-
-    /**
-     * Method setName
-     *
-     * @param uri
-     */
-    public void setName(String uri);
-
-    /**
-     * Method getValue
-     *
-     * @return
-     */
-    public Object getValue();
-
-    /**
-     * Method setValue
-     *
-     * @param value
-     */
-    public void setValue(Object value);
-}
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed 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.wsdl;
+
+/**
+ * @author chathura@opensource.lk
+ */
+public interface WSDLProperty extends Component {
+    /**
+     * Method getConstraint
+     *
+     * @return
+     */
+    public Object getConstraint();
+
+    /**
+     * Method setConstraint
+     *
+     * @param constraint
+     */
+    public void setConstraint(Object constraint);
+
+    /**
+     * Method getName
+     *
+     * @return
+     */
+    public String getName();
+
+    /**
+     * Method setName
+     *
+     * @param uri
+     */
+    public void setName(String uri);
+
+    /**
+     * Method getValue
+     *
+     * @return
+     */
+    public Object getValue();
+
+    /**
+     * Method setValue
+     *
+     * @param value
+     */
+    public void setValue(Object value);
+}

Propchange: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLProperty.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLService.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLService.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLService.java (original)
+++ webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLService.java Thu Sep 15 11:52:11 2005
@@ -1,93 +1,93 @@
-/*
- * Copyright 2004,2005 The Apache Software Foundation.
- *
- * Licensed 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.wsdl;
-
-import javax.xml.namespace.QName;
-import java.util.HashMap;
-
-/**
- * @author chathura@opensource.lk
- */
-public interface WSDLService extends Component {
-    public static final String STYLE_RPC = "rpc";
-    public static final String STYLE_DOC = "doc";
-    public static final String STYLE_MSG = "msg";
-
-    /**
-     * Method getEndpoints
-     *
-     * @return
-     */
-    public HashMap getEndpoints();
-
-    /**
-     * Method setEndpoints
-     *
-     * @param endpoints
-     */
-    public void setEndpoints(HashMap endpoints);
-
-    /**
-     * Will add a WSDLEndpoint object to the WOM keyed with qname;
-     *
-     * @param endpoint
-     */
-    public void setEndpoint(WSDLEndpoint endpoint);
-
-    /**
-     * Endpoint will be retrived by its qName.
-     *
-     * @param qName qName of the Service
-     * @return WSDLService Object or will throw an WSDLProcessingException in the case of object not found.
-     */
-    public WSDLEndpoint getEndpoint(QName qName);
-
-    /**
-     * Method getName
-     *
-     * @return
-     */
-    public QName getName();
-
-    /**
-     * Method setName
-     *
-     * @param name
-     */
-    public void setName(QName name);
-
-    /**
-     * If the Name of the <code>WSDLService</code> is not set a
-     * <code>WSDLProcessingException</code> will be thrown.
-     *
-     * @return Target Namespace as a <code>String</code>
-     */
-    public String getNamespace();
-
-    /**
-     * Method getServiceInterface
-     *
-     * @return
-     */
-    public WSDLInterface getServiceInterface();
-
-    /**
-     * Method setServiceInterface
-     *
-     * @param serviceInterface
-     */
-    public void setServiceInterface(WSDLInterface serviceInterface);
-}
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed 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.wsdl;
+
+import javax.xml.namespace.QName;
+import java.util.HashMap;
+
+/**
+ * @author chathura@opensource.lk
+ */
+public interface WSDLService extends Component {
+    public static final String STYLE_RPC = "rpc";
+    public static final String STYLE_DOC = "doc";
+    public static final String STYLE_MSG = "msg";
+
+    /**
+     * Method getEndpoints
+     *
+     * @return
+     */
+    public HashMap getEndpoints();
+
+    /**
+     * Method setEndpoints
+     *
+     * @param endpoints
+     */
+    public void setEndpoints(HashMap endpoints);
+
+    /**
+     * Will add a WSDLEndpoint object to the WOM keyed with qname;
+     *
+     * @param endpoint
+     */
+    public void setEndpoint(WSDLEndpoint endpoint);
+
+    /**
+     * Endpoint will be retrived by its qName.
+     *
+     * @param qName qName of the Service
+     * @return WSDLService Object or will throw an WSDLProcessingException in the case of object not found.
+     */
+    public WSDLEndpoint getEndpoint(QName qName);
+
+    /**
+     * Method getName
+     *
+     * @return
+     */
+    public QName getName();
+
+    /**
+     * Method setName
+     *
+     * @param name
+     */
+    public void setName(QName name);
+
+    /**
+     * If the Name of the <code>WSDLService</code> is not set a
+     * <code>WSDLProcessingException</code> will be thrown.
+     *
+     * @return Target Namespace as a <code>String</code>
+     */
+    public String getNamespace();
+
+    /**
+     * Method getServiceInterface
+     *
+     * @return
+     */
+    public WSDLInterface getServiceInterface();
+
+    /**
+     * Method setServiceInterface
+     *
+     * @param serviceInterface
+     */
+    public void setServiceInterface(WSDLInterface serviceInterface);
+}

Propchange: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLService.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLTypes.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLTypes.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLTypes.java (original)
+++ webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLTypes.java Thu Sep 15 11:52:11 2005
@@ -1,41 +1,41 @@
-/*
- * Copyright 2001-2004 The Apache Software Foundation.
- * 
- * Licensed 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.wsdl;
-
-import javax.xml.namespace.QName;
-
-
-/**
- * @author chathura@opensource.lk
- */
-public interface WSDLTypes extends Component {
-    /**
-     * Adds the <code>ExtensionElement</code> to the map keyed with the <code>QName</code>
-     *
-     * @param element
-     */
-    public void addElement(WSDLExtensibilityElement element);
-
-    /**
-     * Will return the first Element with the given <code>QName</code>
-     * Returns null if not found.
-     *
-     * @param qName
-     * @return
-     */
-    public WSDLExtensibilityElement getFirstElement(QName qName);
+/*
+ * Copyright 2001-2004 The Apache Software Foundation.
+ * 
+ * Licensed 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.wsdl;
+
+import javax.xml.namespace.QName;
+
+
+/**
+ * @author chathura@opensource.lk
+ */
+public interface WSDLTypes extends Component {
+    /**
+     * Adds the <code>ExtensionElement</code> to the map keyed with the <code>QName</code>
+     *
+     * @param element
+     */
+    public void addElement(WSDLExtensibilityElement element);
+
+    /**
+     * Will return the first Element with the given <code>QName</code>
+     * Returns null if not found.
+     *
+     * @param qName
+     * @return
+     */
+    public WSDLExtensibilityElement getFirstElement(QName qName);
 }

Propchange: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/WSDLTypes.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/DefaultExtensibilityElement.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/DefaultExtensibilityElement.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/DefaultExtensibilityElement.java (original)
+++ webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/DefaultExtensibilityElement.java Thu Sep 15 11:52:11 2005
@@ -1,41 +1,41 @@
-/*
- * Copyright 2001-2004 The Apache Software Foundation.
- * 
- * Licensed 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.wsdl.extensions;
-
-import org.apache.wsdl.WSDLExtensibilityElement;
-import org.w3c.dom.Element;
-
-/**
- * @author chathura@opensource.lk
- *         This would be the default Extension class in case that the Extensibility Element
- *         in the WSDL file could not be mapped to a particular Extensibility Element. In
- *         which case the entire Extensibility Element will be kept as a DOM Element
- */
-public interface DefaultExtensibilityElement extends WSDLExtensibilityElement {
-    /**
-     * @return The Extensibility Element as a DOM Element
-     */
-    public Element getElement();
-
-    /**
-     * Sets the DOM Element as the extensibility Elements
-     * Content.
-     */
-    public void setElement(Element element);
-
-
+/*
+ * Copyright 2001-2004 The Apache Software Foundation.
+ * 
+ * Licensed 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.wsdl.extensions;
+
+import org.apache.wsdl.WSDLExtensibilityElement;
+import org.w3c.dom.Element;
+
+/**
+ * @author chathura@opensource.lk
+ *         This would be the default Extension class in case that the Extensibility Element
+ *         in the WSDL file could not be mapped to a particular Extensibility Element. In
+ *         which case the entire Extensibility Element will be kept as a DOM Element
+ */
+public interface DefaultExtensibilityElement extends WSDLExtensibilityElement {
+    /**
+     * @return The Extensibility Element as a DOM Element
+     */
+    public Element getElement();
+
+    /**
+     * Sets the DOM Element as the extensibility Elements
+     * Content.
+     */
+    public void setElement(Element element);
+
+
 }

Propchange: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/DefaultExtensibilityElement.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/ExtensionConstants.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/ExtensionConstants.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/ExtensionConstants.java (original)
+++ webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/ExtensionConstants.java Thu Sep 15 11:52:11 2005
@@ -1,58 +1,58 @@
-/*
- * Copyright 2001-2004 The Apache Software Foundation.
- * 
- * Licensed 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.wsdl.extensions;
-
-import javax.xml.namespace.QName;
-
-/**
- * @author chathura@opensource.lk
- */
-public interface ExtensionConstants {
-
-    /**
-     * The Type name for the SOAP Address defined in the Port/Endpoint
-     */
-    public static final QName SOAP_11_ADDRESS = new QName(
-            "http://schemas.xmlsoap.org/wsdl/soap/", "address");
-    public static final QName SOAP_12_ADDRESS = new QName(
-            "http://schemas.xmlsoap.org/wsdl/soap12/", "address");
-
-
-    public static final QName SOAP_11_OPERATION = new QName(
-            "http://schemas.xmlsoap.org/wsdl/soap/", "operation");
-     public static final QName SOAP_12_OPERATION = new QName(
-            "http://schemas.xmlsoap.org/wsdl/soap12/", "operation");
-
-    public static final QName SCHEMA = new QName(
-            "http://www.w3.org/2001/XMLSchema", "schema");
-
-    public static final QName SOAP_11_BODY = new QName(
-            "http://schemas.xmlsoap.org/wsdl/soap/", "body");
-    public static final QName SOAP_12_BODY = new QName(
-            "http://schemas.xmlsoap.org/wsdl/soap12/", "body");
-    
-    public static final QName SOAP_11_HEADER = new QName(
-            "http://schemas.xmlsoap.org/wsdl/soap/", "header");
-     public static final QName SOAP_12_HEADER = new QName(
-            "http://schemas.xmlsoap.org/wsdl/soap12/", "header");
-
-    public static final QName SOAP_11_BINDING = new QName(
-            "http://schemas.xmlsoap.org/wsdl/soap/", "binding");
-     public static final QName SOAP_12_BINDING = new QName(
-            "http://schemas.xmlsoap.org/wsdl/soap12/", "binding");
-
-}
+/*
+ * Copyright 2001-2004 The Apache Software Foundation.
+ * 
+ * Licensed 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.wsdl.extensions;
+
+import javax.xml.namespace.QName;
+
+/**
+ * @author chathura@opensource.lk
+ */
+public interface ExtensionConstants {
+
+    /**
+     * The Type name for the SOAP Address defined in the Port/Endpoint
+     */
+    public static final QName SOAP_11_ADDRESS = new QName(
+            "http://schemas.xmlsoap.org/wsdl/soap/", "address");
+    public static final QName SOAP_12_ADDRESS = new QName(
+            "http://schemas.xmlsoap.org/wsdl/soap12/", "address");
+
+
+    public static final QName SOAP_11_OPERATION = new QName(
+            "http://schemas.xmlsoap.org/wsdl/soap/", "operation");
+     public static final QName SOAP_12_OPERATION = new QName(
+            "http://schemas.xmlsoap.org/wsdl/soap12/", "operation");
+
+    public static final QName SCHEMA = new QName(
+            "http://www.w3.org/2001/XMLSchema", "schema");
+
+    public static final QName SOAP_11_BODY = new QName(
+            "http://schemas.xmlsoap.org/wsdl/soap/", "body");
+    public static final QName SOAP_12_BODY = new QName(
+            "http://schemas.xmlsoap.org/wsdl/soap12/", "body");
+    
+    public static final QName SOAP_11_HEADER = new QName(
+            "http://schemas.xmlsoap.org/wsdl/soap/", "header");
+     public static final QName SOAP_12_HEADER = new QName(
+            "http://schemas.xmlsoap.org/wsdl/soap12/", "header");
+
+    public static final QName SOAP_11_BINDING = new QName(
+            "http://schemas.xmlsoap.org/wsdl/soap/", "binding");
+     public static final QName SOAP_12_BINDING = new QName(
+            "http://schemas.xmlsoap.org/wsdl/soap12/", "binding");
+
+}

Propchange: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/ExtensionConstants.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/ExtensionFactory.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/ExtensionFactory.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/ExtensionFactory.java (original)
+++ webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/ExtensionFactory.java Thu Sep 15 11:52:11 2005
@@ -1,35 +1,35 @@
-/*
- * Copyright 2001-2004 The Apache Software Foundation.
- * 
- * Licensed 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.wsdl.extensions;
-
-import org.apache.wsdl.WSDLExtensibilityElement;
-
-import javax.xml.namespace.QName;
-
-/**
- * @author chathura@opensource.lk
- */
-public interface ExtensionFactory {
-    /**
-     * Returns the correct "Specific" ExtensibilityElement given the
-     * <code>QName</code>
-     *
-     * @param qName QName of the ExtensibilityElement found in the WSDL
-     * @return the Specific implementation for the particular QName given.
-     */
-    public WSDLExtensibilityElement getExtensionElement(QName qName);
+/*
+ * Copyright 2001-2004 The Apache Software Foundation.
+ * 
+ * Licensed 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.wsdl.extensions;
+
+import org.apache.wsdl.WSDLExtensibilityElement;
+
+import javax.xml.namespace.QName;
+
+/**
+ * @author chathura@opensource.lk
+ */
+public interface ExtensionFactory {
+    /**
+     * Returns the correct "Specific" ExtensibilityElement given the
+     * <code>QName</code>
+     *
+     * @param qName QName of the ExtensibilityElement found in the WSDL
+     * @return the Specific implementation for the particular QName given.
+     */
+    public WSDLExtensibilityElement getExtensionElement(QName qName);
 }

Propchange: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/ExtensionFactory.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/SOAPAddress.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/SOAPAddress.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/SOAPAddress.java (original)
+++ webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/SOAPAddress.java Thu Sep 15 11:52:11 2005
@@ -1,37 +1,37 @@
-/*
- * Copyright 2001-2004 The Apache Software Foundation.
- * 
- * Licensed 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.wsdl.extensions;
-
-import org.apache.wsdl.WSDLExtensibilityElement;
-
-/**
- * @author chathura@opensource.lk
- *         This Extensibility Element is extended to handle particularly the
- *         SOAP Adress or the Endpoint URL.
- */
-public interface SOAPAddress extends WSDLExtensibilityElement {
-
-    /**
-     * Gets the Endpoint adress
-     */
-    public String getLocationURI();
-
-    /**
-     * Sets the Endpoint Address
-     */
-    public void setLocationURI(String locationURI);
+/*
+ * Copyright 2001-2004 The Apache Software Foundation.
+ * 
+ * Licensed 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.wsdl.extensions;
+
+import org.apache.wsdl.WSDLExtensibilityElement;
+
+/**
+ * @author chathura@opensource.lk
+ *         This Extensibility Element is extended to handle particularly the
+ *         SOAP Adress or the Endpoint URL.
+ */
+public interface SOAPAddress extends WSDLExtensibilityElement {
+
+    /**
+     * Gets the Endpoint adress
+     */
+    public String getLocationURI();
+
+    /**
+     * Sets the Endpoint Address
+     */
+    public void setLocationURI(String locationURI);
 }

Propchange: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/SOAPAddress.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/SOAPBinding.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/SOAPBinding.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/SOAPBinding.java (original)
+++ webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/SOAPBinding.java Thu Sep 15 11:52:11 2005
@@ -1,32 +1,32 @@
-/*
- * Copyright 2001-2004 The Apache Software Foundation.
- * 
- * Licensed 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.wsdl.extensions;
-
-import org.apache.wsdl.WSDLExtensibilityElement;
-
-/**
- * @author chathura@opensource.lk
- */
-public interface SOAPBinding extends WSDLExtensibilityElement {
-    public String getStyle();
-
-    public void setStyle(String style);
-
-    public String getTransportURI();
-
-    public void setTransportURI(String transportURI);
+/*
+ * Copyright 2001-2004 The Apache Software Foundation.
+ * 
+ * Licensed 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.wsdl.extensions;
+
+import org.apache.wsdl.WSDLExtensibilityElement;
+
+/**
+ * @author chathura@opensource.lk
+ */
+public interface SOAPBinding extends WSDLExtensibilityElement {
+    public String getStyle();
+
+    public void setStyle(String style);
+
+    public String getTransportURI();
+
+    public void setTransportURI(String transportURI);
 }

Propchange: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/SOAPBinding.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/SOAPBody.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/SOAPBody.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/SOAPBody.java (original)
+++ webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/SOAPBody.java Thu Sep 15 11:52:11 2005
@@ -1,32 +1,32 @@
-/*
- * Copyright 2001-2004 The Apache Software Foundation.
- * 
- * Licensed 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.wsdl.extensions;
-
-import org.apache.wsdl.WSDLExtensibilityElement;
-
-/**
- * @author chathura@opensource.lk
- */
-public interface SOAPBody extends WSDLExtensibilityElement {
-    public String getNamespaceURI();
-
-    public void setNamespaceURI(String namespaceURI);
-
-    public String getUse();
-
-    public void setUse(String use);
+/*
+ * Copyright 2001-2004 The Apache Software Foundation.
+ * 
+ * Licensed 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.wsdl.extensions;
+
+import org.apache.wsdl.WSDLExtensibilityElement;
+
+/**
+ * @author chathura@opensource.lk
+ */
+public interface SOAPBody extends WSDLExtensibilityElement {
+    public String getNamespaceURI();
+
+    public void setNamespaceURI(String namespaceURI);
+
+    public String getUse();
+
+    public void setUse(String use);
 }

Propchange: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/SOAPBody.java
------------------------------------------------------------------------------
    svn:eol-style = native