axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chath...@apache.org
Subject svn commit: r201568 - in /webservices/axis/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions: ExtensionConstants.java SOAPBinding.java SOAPBody.java impl/ExtensionFactoryImpl.java impl/SOAPBindingImpl.java impl/SOAPBodyImpl.java
Date Fri, 24 Jun 2005 05:55:20 GMT
Author: chathura
Date: Thu Jun 23 22:55:18 2005
New Revision: 201568

URL: http://svn.apache.org/viewcvs?rev=201568&view=rev
Log:
Added the SOAPBinding and SOAPBody special cased classes as extensions.

Added:
    webservices/axis/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/SOAPBinding.java
    webservices/axis/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/SOAPBody.java
    webservices/axis/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/SOAPBindingImpl.java
    webservices/axis/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/SOAPBodyImpl.java
Modified:
    webservices/axis/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/ExtensionConstants.java
    webservices/axis/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/ExtensionFactoryImpl.java

Modified: webservices/axis/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/ExtensionConstants.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/ExtensionConstants.java?rev=201568&r1=201567&r2=201568&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/ExtensionConstants.java
(original)
+++ webservices/axis/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/ExtensionConstants.java
Thu Jun 23 22:55:18 2005
@@ -33,5 +33,8 @@
 	
 	public static final QName SCHEMA = new QName("http://www.w3.org/2001/XMLSchema", "schema");
 	
+	public static final QName SOAP_BODY = new QName("http://schemas.xmlsoap.org/wsdl/soap/",
"body");
+	
+	public static final QName SOAP_BINDING = new QName("http://schemas.xmlsoap.org/wsdl/soap/",
"binding");
 
 }

Added: webservices/axis/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/SOAPBinding.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/SOAPBinding.java?rev=201568&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/SOAPBinding.java
(added)
+++ webservices/axis/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/SOAPBinding.java
Thu Jun 23 22:55:18 2005
@@ -0,0 +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.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);
+}
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/SOAPBody.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/SOAPBody.java?rev=201568&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/SOAPBody.java
(added)
+++ webservices/axis/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/SOAPBody.java
Thu Jun 23 22:55:18 2005
@@ -0,0 +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.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);
+}
\ No newline at end of file

Modified: webservices/axis/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/ExtensionFactoryImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/ExtensionFactoryImpl.java?rev=201568&r1=201567&r2=201568&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/ExtensionFactoryImpl.java
(original)
+++ webservices/axis/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/ExtensionFactoryImpl.java
Thu Jun 23 22:55:18 2005
@@ -40,7 +40,10 @@
 	 		return new SchemaImpl();
 	 	if(qName.equals(SOAP_OPERATION))
 	 		return new SOAPOperationImpl();
-	 	
+	 	if(SOAP_BODY.equals(qName))
+	 		return new SOAPBodyImpl();
+	 	if(SOAP_BINDING.equals(qName))
+	 		return new SOAPBindingImpl();
 	 	
 	 	return new DefaultExtensibilityElementImpl();
 	 }

Added: webservices/axis/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/SOAPBindingImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/SOAPBindingImpl.java?rev=201568&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/SOAPBindingImpl.java
(added)
+++ webservices/axis/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/SOAPBindingImpl.java
Thu Jun 23 22:55:18 2005
@@ -0,0 +1,49 @@
+/*
+ * 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.impl;
+
+import org.apache.wsdl.extensions.ExtensionConstants;
+import org.apache.wsdl.extensions.SOAPBinding;
+import org.apache.wsdl.impl.WSDLExtensibilityElementImpl;
+
+/**
+ * @author chathura@opensource.lk
+ *
+ */
+public class SOAPBindingImpl extends WSDLExtensibilityElementImpl implements ExtensionConstants,
SOAPBinding {
+
+	protected String style;
+	protected String transportURI;
+	
+	public SOAPBindingImpl(){
+		this.type = SOAP_BINDING;
+	}
+	
+	
+	public String getStyle() {
+		return style;
+	}
+	public void setStyle(String style) {
+		this.style = style;
+	}
+	public String getTransportURI() {
+		return transportURI;
+	}
+	public void setTransportURI(String transportURI) {
+		this.transportURI = transportURI;
+	}
+}

Added: webservices/axis/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/SOAPBodyImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/SOAPBodyImpl.java?rev=201568&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/SOAPBodyImpl.java
(added)
+++ webservices/axis/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/SOAPBodyImpl.java
Thu Jun 23 22:55:18 2005
@@ -0,0 +1,49 @@
+/*
+ * 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.impl;
+
+import org.apache.wsdl.extensions.ExtensionConstants;
+import org.apache.wsdl.extensions.SOAPBody;
+import org.apache.wsdl.impl.WSDLExtensibilityElementImpl;
+
+/**
+ * @author chathura@opensource.lk
+ *
+ */
+public class SOAPBodyImpl extends WSDLExtensibilityElementImpl implements ExtensionConstants,
SOAPBody{
+
+	protected String use;
+	protected String namespaceURI;
+	  
+	public SOAPBodyImpl(){
+		this.type = SOAP_BODY;
+	}
+	
+	
+	public String getNamespaceURI() {
+		return namespaceURI;
+	}
+	public void setNamespaceURI(String namespaceURI) {
+		this.namespaceURI = namespaceURI;
+	}
+	public String getUse() {
+		return use;
+	}
+	public void setUse(String use) {
+		this.use = use;
+	}
+}



Mime
View raw message