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 ch...@apache.org on 2005/06/20 05:45:52 UTC

svn commit: r191387 - in /webservices/axis/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions: SOAPOperation.java impl/SOAPOperationImpl.java

Author: chathura
Date: Sun Jun 19 20:45:50 2005
New Revision: 191387

URL: http://svn.apache.org/viewcvs?rev=191387&view=rev
Log:
Added the SOAPOperation extension Element

Added:
    webservices/axis/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/SOAPOperation.java
    webservices/axis/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/SOAPOperationImpl.java

Added: webservices/axis/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/SOAPOperation.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/SOAPOperation.java?rev=191387&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/SOAPOperation.java (added)
+++ webservices/axis/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/SOAPOperation.java Sun Jun 19 20:45:50 2005
@@ -0,0 +1,34 @@
+/*
+ * 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 SOAPOperation extends WSDLExtensibilityElement {
+	public String getSoapAction();
+
+	public void setSoapAction(String soapAction);
+	
+	public String getStyle();	
+	
+	public void setStyle(String style) ;
+	
+}
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/SOAPOperationImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/SOAPOperationImpl.java?rev=191387&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/SOAPOperationImpl.java (added)
+++ webservices/axis/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/SOAPOperationImpl.java Sun Jun 19 20:45:50 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.SOAPOperation;
+import org.apache.wsdl.impl.WSDLExtensibilityElementImpl;
+
+/**
+ * @author chathura@opensource.lk
+ *
+ */
+public class SOAPOperationImpl extends WSDLExtensibilityElementImpl implements
+		ExtensionConstants, SOAPOperation {
+	
+	private String soapAction;
+	
+	private String style;
+	
+	public SOAPOperationImpl(){
+		this.type = SOAP_OPERATION;
+	}
+	public String getStyle() {
+		return style;
+	}
+	public void setStyle(String style) {
+		this.style = style;
+	}
+	public String getSoapAction() {
+		return soapAction;
+	}
+	public void setSoapAction(String soapAction) {
+		this.soapAction = soapAction;
+	}
+}