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 he...@apache.org on 2004/10/13 12:48:16 UTC

svn commit: rev 54738 - in webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura: . src src/java src/java/org src/java/org/apache src/java/org/apache/axis src/java/org/apache/axis/wsdl src/java/org/apache/axis/wsdl/wom src/java/org/apache/axis/wsdl/wom/impl

Author: hemapani
Date: Wed Oct 13 03:48:15 2004
New Revision: 54738

Added:
   webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/
   webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/
   webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/
   webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/
   webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/
   webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/
   webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/
   webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/
   webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/Component.java
   webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/FaultReference.java
   webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/MessageReference.java
   webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/WDSLProperty.java
   webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/WSDLBinding.java
   webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/WSDLDefinitions.java
   webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/WSDLFault.java
   webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/WSDLFeature.java
   webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/WSDLInterface.java
   webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/WSDLOperation.java
   webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/WSDLService.java
   webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/impl/
   webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/impl/ComponentImpl.java
   webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/impl/FaultReferenceImpl.java
   webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/impl/MessageReferenceImpl.java
   webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/impl/WDSLPropertyImpl.java
   webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/impl/WSDLBindingImpl.java
   webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/impl/WSDLDefinitionsImpl.java
   webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/impl/WSDLFaultImpl.java
   webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/impl/WSDLFeatureImpl.java
   webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/impl/WSDLInterfaceImpl.java
   webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/impl/WSDLOperationImpl.java
Log:
 check in the WSDL componet model on behalf of Chatura

Added: webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/Component.java
==============================================================================
--- (empty file)
+++ webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/Component.java	Wed Oct 13 03:48:15 2004
@@ -0,0 +1,24 @@
+/*
+ * 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.axis.wsdl.wom;
+
+/**
+ * @author chathura@opensource.lk
+ *
+ */
+public interface Component {
+
+}

Added: webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/FaultReference.java
==============================================================================
--- (empty file)
+++ webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/FaultReference.java	Wed Oct 13 03:48:15 2004
@@ -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.axis.wsdl.wom;
+
+/**
+ * @author chathura@opensource.lk
+ *
+ */
+public interface FaultReference {
+	public String getDirection();
+
+	public void setDirection(String direction);
+
+	public String getMessageLabel();
+
+	public void setMessageLabel(String messageLabel);
+
+	public String getRef();
+
+	public void setRef(String ref);
+}
\ No newline at end of file

Added: webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/MessageReference.java
==============================================================================
--- (empty file)
+++ webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/MessageReference.java	Wed Oct 13 03:48:15 2004
@@ -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.axis.wsdl.wom;
+
+/**
+ * @author chathura@opensource.lk
+ *
+ */
+public interface MessageReference {
+	public String getDirection();
+
+	public void setDirection(String direction);
+
+	public String getElement();
+
+	public void setElement(String element);
+
+	public String getMessageLabel();
+
+	public void setMessageLabel(String messageLabel);
+}
\ No newline at end of file

Added: webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/WDSLProperty.java
==============================================================================
--- (empty file)
+++ webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/WDSLProperty.java	Wed Oct 13 03:48:15 2004
@@ -0,0 +1,36 @@
+/*
+ * 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.axis.wsdl.wom;
+
+import java.net.URI;
+
+/**
+ * @author chathura@opensource.lk
+ *
+ */
+public interface WDSLProperty {
+	public Object getConstraint();
+
+	public void setConstraint(Object constraint);
+
+	public URI getName();
+
+	public void setName(URI name);
+
+	public Object getValue();
+
+	public void setValue(Object value);
+}
\ No newline at end of file

Added: webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/WSDLBinding.java
==============================================================================
--- (empty file)
+++ webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/WSDLBinding.java	Wed Oct 13 03:48:15 2004
@@ -0,0 +1,55 @@
+/*
+ * 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.axis.wsdl.wom;
+
+import java.net.URI;
+import java.util.List;
+
+
+/**
+ * @author chathura@opensource.lk
+ *
+ */
+public interface WSDLBinding {
+	
+	public List getFeatures();
+
+	public void setFeatures(List features);
+
+	public List getProperties();
+
+	public void setProperties(List properties);	
+	
+	public WSDLInterface getBoundInterface();
+
+	public void setBoundInterface(WSDLInterface boundInterface);
+
+	public List getFaults();
+
+	public void setFaults(List faults);
+
+	public String getName();
+
+	public void setName(String name);
+
+	public List getOperations();
+
+	public void setOperations(List operations);
+
+	public URI getTargetNameSpace();
+
+	public void setTargetNameSpace(URI targetNameSpace);
+}
\ No newline at end of file

Added: webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/WSDLDefinitions.java
==============================================================================
--- (empty file)
+++ webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/WSDLDefinitions.java	Wed Oct 13 03:48:15 2004
@@ -0,0 +1,45 @@
+/*
+ * 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.axis.wsdl.wom;
+
+import java.net.URI;
+import java.util.List;
+
+/**
+ * @author chathura@opensource.lk
+ *
+ */
+public interface WSDLDefinitions {
+	public List getBindings();
+
+	public void setBindings(List bindings);
+
+	public List getServices();
+
+	public void setServices(List services);
+
+	public URI getTargetNameSpace();
+
+	public void setTargetNameSpace(URI targetNameSpace);
+
+	public Object getTypes();
+
+	public void setTypes(Object types);
+
+	public List getWsdlInterfaces();
+
+	public void setWsdlInterfaces(List wsdlInterfaces);
+}
\ No newline at end of file

Added: webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/WSDLFault.java
==============================================================================
--- (empty file)
+++ webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/WSDLFault.java	Wed Oct 13 03:48:15 2004
@@ -0,0 +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.axis.wsdl.wom;
+
+import org.w3c.dom.Element;
+
+/**
+ * @author chathura@opensource.lk
+ *
+ */
+public interface WSDLFault {
+	public Element getElement();
+
+	public void setElement(Element element);
+
+	public String getName();
+
+	public void setName(String name);
+}
\ No newline at end of file

Added: webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/WSDLFeature.java
==============================================================================
--- (empty file)
+++ webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/WSDLFeature.java	Wed Oct 13 03:48:15 2004
@@ -0,0 +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.axis.wsdl.wom;
+
+import java.net.URI;
+
+/**
+ * @author chathura@opensource.lk
+ *
+ */
+public interface WSDLFeature {
+	public URI getName();
+
+	public void setName(URI name);
+
+	public boolean isRequired();
+
+	public void setRequired(boolean required);
+}
\ No newline at end of file

Added: webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/WSDLInterface.java
==============================================================================
--- (empty file)
+++ webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/WSDLInterface.java	Wed Oct 13 03:48:15 2004
@@ -0,0 +1,87 @@
+/*
+ * 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.axis.wsdl.wom;
+
+import java.net.URI;
+import java.util.List;
+
+/**
+ * @author chathura@opensource.lk
+ *
+ */
+public interface WSDLInterface {
+	public List getFeatures();
+
+	public void setFeatures(List features);
+
+	public List getProperties();
+
+	public void setProperties(List properties);
+
+	public List getDefinedOperations(WSDLInterface wsdlInterface);
+
+	public List getDefinedOperations();
+
+	/**
+	 * @return
+	 */
+	public List getFaults();
+
+	/**
+	 * @return
+	 */
+	public String getName();
+
+	/**
+	 * @return
+	 */
+	public List getOperations();
+
+	/**
+	 * @return
+	 */
+	public List getSuperInterfaces();
+
+	/**
+	 * @return
+	 */
+	public URI getTargetnamespace();
+
+	/**
+	 * @param list
+	 */
+	public void setFaults(List list);
+
+	/**
+	 * @param string
+	 */
+	public void setName(String string);
+
+	/**
+	 * @param list
+	 */
+	public void setOperations(List list);
+
+	/**
+	 * @param list
+	 */
+	public void setSuperInterfaces(List list);
+
+	/**
+	 * @param uri
+	 */
+	public void setTargetnamespace(URI uri);
+}
\ No newline at end of file

Added: webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/WSDLOperation.java
==============================================================================
--- (empty file)
+++ webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/WSDLOperation.java	Wed Oct 13 03:48:15 2004
@@ -0,0 +1,70 @@
+/*
+ * 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.axis.wsdl.wom;
+
+import java.net.URI;
+import java.util.List;
+
+
+/**
+ * @author chathura@opensource.lk
+ *
+ */
+public interface WSDLOperation {
+	public List getFeatures();
+
+	public void setFeatures(List features);
+
+	public List getProperties();
+
+	public void setProperties(List properties);
+
+	public List getInfaults();
+
+	public void setInfaults(List infaults);
+
+	public MessageReference getInputMessage();
+
+	public void setInputMessage(MessageReference inputMessage);
+
+	public int getMessageExchangePattern();
+
+	public void setMessageExchangePattern(int messageExchangePattern);
+
+	public String getName();
+
+	public void setName(String name);
+
+	public List getOutfaults();
+
+	public void setOutfaults(List outfaults);
+
+	public MessageReference getOutputMessage();
+
+	public void setOutputMessage(MessageReference outputMessage);
+
+	public boolean isSafe();
+
+	public void setSafety(boolean safe);
+
+	public int getStyle();
+
+	public void setStyle(int style);
+
+	public URI getTargetnemespace();
+
+	public void setTargetnemespace(URI targetnemespace);
+}
\ No newline at end of file

Added: webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/WSDLService.java
==============================================================================
--- (empty file)
+++ webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/WSDLService.java	Wed Oct 13 03:48:15 2004
@@ -0,0 +1,24 @@
+/*
+ * 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.axis.wsdl.wom;
+
+/**
+ * @author chathura@opensource.lk
+ *
+ */
+public interface WSDLService {
+
+}

Added: webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/impl/ComponentImpl.java
==============================================================================
--- (empty file)
+++ webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/impl/ComponentImpl.java	Wed Oct 13 03:48:15 2004
@@ -0,0 +1,24 @@
+/**
+ * Copyright 2001-2004 The Apache Software Foundation.
+ * <p/>
+ * 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
+ * <p/>
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * <p/>
+ * 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.axis.wsdl.wom.impl;
+
+/**
+ * @author Chathura Herath
+ *
+ */
+public class ComponentImpl {
+
+}

Added: webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/impl/FaultReferenceImpl.java
==============================================================================
--- (empty file)
+++ webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/impl/FaultReferenceImpl.java	Wed Oct 13 03:48:15 2004
@@ -0,0 +1,53 @@
+/*
+ * 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.axis.wsdl.wom.impl;
+
+import org.apache.axis.wsdl.wom.FaultReference;
+
+/**
+ * @author chathura@opensource.lk
+ *
+ */
+public class FaultReferenceImpl implements FaultReference {
+
+	//TODO make it  a QNAME
+	private String ref;
+	
+	//TODO put the value if available ; if not message lable property of the message with same direction of the interface component.
+	private String messageLabel;
+	
+	private String direction;
+	
+	
+	public String getDirection() {
+		return direction;
+	}
+	public void setDirection(String direction) {
+		this.direction = direction;
+	}
+	public String getMessageLabel() {
+		return messageLabel;
+	}
+	public void setMessageLabel(String messageLabel) {
+		this.messageLabel = messageLabel;
+	}
+	public String getRef() {
+		return ref;
+	}
+	public void setRef(String ref) {
+		this.ref = ref;
+	}
+}

Added: webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/impl/MessageReferenceImpl.java
==============================================================================
--- (empty file)
+++ webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/impl/MessageReferenceImpl.java	Wed Oct 13 03:48:15 2004
@@ -0,0 +1,59 @@
+/**
+ * Copyright 2001-2004 The Apache Software Foundation.
+ * <p/>
+ * 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
+ * <p/>
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * <p/>
+ * 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.axis.wsdl.wom.impl;
+
+import org.apache.axis.wsdl.wom.MessageReference;
+
+/**
+ * @author Chathura Herath
+ *
+ */
+public class MessageReferenceImpl implements MessageReference {
+
+			
+	//Referes to the MEP the Message relates to.
+	private String messageLabel;
+	
+	// Can be "in" or "out" depending on the element name being "input" or "output" respectively; 
+	private String Direction;
+	
+	
+	//TODO Do we need it "Message content model"
+	
+	//TODO can make it a QNAME value is a QName that needs to be resolved by the types element children
+	private String element;
+	
+	
+	
+	public String getDirection() {
+		return Direction;
+	}
+	public void setDirection(String direction) {
+		Direction = direction;
+	}
+	public String getElement() {
+		return element;
+	}
+	public void setElement(String element) {
+		this.element = element;
+	}
+	public String getMessageLabel() {
+		return messageLabel;
+	}
+	public void setMessageLabel(String messageLabel) {
+		this.messageLabel = messageLabel;
+	}
+}

Added: webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/impl/WDSLPropertyImpl.java
==============================================================================
--- (empty file)
+++ webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/impl/WDSLPropertyImpl.java	Wed Oct 13 03:48:15 2004
@@ -0,0 +1,56 @@
+/*
+ * 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.axis.wsdl.wom.impl;
+
+import java.net.URI;
+
+import org.apache.axis.wsdl.wom.WDSLProperty;
+
+/**
+ * @author chathura@opensource.lk
+ *
+ */
+public class WDSLPropertyImpl implements WDSLProperty {
+
+	
+	private URI name;
+	
+	//TODO replace with the xmlbeans data binding
+	private Object constraint;
+	
+	//TODO replace with the xmlbeans data binding
+	private Object value;
+	
+	
+	public Object getConstraint() {
+		return constraint;
+	}
+	public void setConstraint(Object constraint) {
+		this.constraint = constraint;
+	}
+	public URI getName() {
+		return name;
+	}
+	public void setName(URI name) {
+		this.name = name;
+	}
+	public Object getValue() {
+		return value;
+	}
+	public void setValue(Object value) {
+		this.value = value;
+	}
+}

Added: webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/impl/WSDLBindingImpl.java
==============================================================================
--- (empty file)
+++ webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/impl/WSDLBindingImpl.java	Wed Oct 13 03:48:15 2004
@@ -0,0 +1,90 @@
+/*
+ * 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.axis.wsdl.wom.impl;
+
+import java.net.URI;
+import java.util.LinkedList;
+import java.util.List;
+
+import org.apache.axis.wsdl.wom.WSDLBinding;
+import org.apache.axis.wsdl.wom.WSDLInterface;
+
+/**
+ * @author chathura@opensource.lk
+ *
+ */
+public class WSDLBindingImpl implements WSDLBinding {
+
+	private String name;
+	
+	private URI targetNameSpace;
+	
+	private WSDLInterface boundInterface;
+	
+	private List faults;
+	
+	private List operations;
+	
+	private List features = new LinkedList();
+	
+	private List properties = new LinkedList();	
+	
+	
+	 
+	public List getFeatures() {
+		return features;
+	}
+	public void setFeatures(List features) {
+		this.features = features;
+	}
+	public List getProperties() {
+		return properties;
+	}
+	public void setProperties(List properties) {
+		this.properties = properties;
+	}	
+	
+	public WSDLInterface getBoundInterface() {
+		return boundInterface;
+	}
+	public void setBoundInterface(WSDLInterface boundInterface) {
+		this.boundInterface = boundInterface;
+	}
+	public List getFaults() {
+		return faults;
+	}
+	public void setFaults(List faults) {
+		this.faults = faults;
+	}
+	public String getName() {
+		return name;
+	}
+	public void setName(String name) {
+		this.name = name;
+	}
+	public List getOperations() {
+		return operations;
+	}
+	public void setOperations(List operations) {
+		this.operations = operations;
+	}
+	public URI getTargetNameSpace() {
+		return targetNameSpace;
+	}
+	public void setTargetNameSpace(URI targetNameSpace) {
+		this.targetNameSpace = targetNameSpace;
+	}
+}

Added: webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/impl/WSDLDefinitionsImpl.java
==============================================================================
--- (empty file)
+++ webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/impl/WSDLDefinitionsImpl.java	Wed Oct 13 03:48:15 2004
@@ -0,0 +1,95 @@
+/*
+ * 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 thWSDLInterfaceImple 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.axis.wsdl.wom.impl;
+
+import java.net.URI;
+import java.util.LinkedList;
+import java.util.List;
+
+import org.apache.axis.wsdl.wom.WSDLDefinitions;
+
+/**
+ * @author chathura@opensource.lk
+ *
+ */
+public class WSDLDefinitionsImpl implements WSDLDefinitions {
+
+	//TODO local name and the naspace name to be made static or through a Constant class.
+	
+	// The attrebute information items
+	
+	//TODO required; thus check it up
+	private URI targetNameSpace;
+	
+	//private NamespaceMappings[] namespaceDefinitions;
+	
+	//Element Infotmation Items.
+	
+	private Object types;
+	
+	/**
+	 * This List will be a list of <code>WSDLInterface</code> objects.
+	 */
+	private List wsdlInterfaces = new LinkedList();
+	
+	/**
+	 * This <code>List </code> is a list of <code>WSDLBinding </code> objects. 
+	 */
+	private List bindings = new LinkedList();
+	
+	/**
+	 * This <code>List </code> is a list of <code>WSDLService </code> objects.
+	 * Support of multiple is backed by the requirements in the specification.
+	 */
+	private List services = new LinkedList();
+	
+	
+	
+	
+	
+	
+	
+	public List getBindings() {
+		return bindings;
+	}
+	public void setBindings(List bindings) {
+		this.bindings = bindings;
+	}
+	public List getServices() {
+		return services;
+	}
+	public void setServices(List services) {
+		this.services = services;
+	}
+	public URI getTargetNameSpace() {
+		return targetNameSpace;
+	}
+	public void setTargetNameSpace(URI targetNameSpace) {
+		this.targetNameSpace = targetNameSpace;
+	}
+	public Object getTypes() {
+		return types;
+	}
+	public void setTypes(Object types) {
+		this.types = types;
+	}
+	public List getWsdlInterfaces() {
+		return wsdlInterfaces;
+	}
+	public void setWsdlInterfaces(List wsdlInterfaces) {
+		this.wsdlInterfaces = wsdlInterfaces;
+	}
+}

Added: webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/impl/WSDLFaultImpl.java
==============================================================================
--- (empty file)
+++ webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/impl/WSDLFaultImpl.java	Wed Oct 13 03:48:15 2004
@@ -0,0 +1,44 @@
+/*
+ * 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.axis.wsdl.wom.impl;
+
+import org.apache.axis.wsdl.wom.WSDLFault;
+import org.w3c.dom.Element;
+
+/**
+ * @author chathura@opensource.lk
+ *
+ */
+public class WSDLFaultImpl implements WSDLFault {
+	
+	//TODO its a NCName so parse it. and this is required
+	private String name;
+	
+	private Element element;
+
+	public Element getElement() {
+		return element;
+	}
+	public void setElement(Element element) {
+		this.element = element;
+	}
+	public String getName() {
+		return name;
+	}
+	public void setName(String name) {
+		this.name = name;
+	}
+}

Added: webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/impl/WSDLFeatureImpl.java
==============================================================================
--- (empty file)
+++ webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/impl/WSDLFeatureImpl.java	Wed Oct 13 03:48:15 2004
@@ -0,0 +1,46 @@
+/*
+ * 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.axis.wsdl.wom.impl;
+
+import java.net.URI;
+
+import org.apache.axis.wsdl.wom.WSDLFeature;
+
+/**
+ * @author chathura@opensource.lk
+ *
+ */
+public class WSDLFeatureImpl implements WSDLFeature {
+
+	
+	private URI name;
+	
+	private boolean required;
+	
+	
+	public URI getName() {
+		return name;
+	}
+	public void setName(URI name) {
+		this.name = name;
+	}
+	public boolean isRequired() {
+		return required;
+	}
+	public void setRequired(boolean required) {
+		this.required = required;
+	}
+}

Added: webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/impl/WSDLInterfaceImpl.java
==============================================================================
--- (empty file)
+++ webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/impl/WSDLInterfaceImpl.java	Wed Oct 13 03:48:15 2004
@@ -0,0 +1,144 @@
+/**
+ * Copyright 2001-2004 The Apache Software Foundation.
+ * <p/>
+ * 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
+ * <p/>
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * <p/>
+ * 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.axis.wsdl.wom.impl;
+
+import java.net.URI;
+import java.util.LinkedList;
+import java.util.List;
+
+import org.apache.axis.wsdl.wom.WSDLInterface;
+
+
+
+
+
+/**
+ * @author Chathura Herath
+ *  
+ */
+public class WSDLInterfaceImpl implements  WSDLInterface {
+	
+	
+	private String name;
+
+	private URI targetnamespace;
+
+	private List superInterfaces = new LinkedList();
+
+	private List faults = new LinkedList();
+
+	private List operations = new LinkedList();
+	
+	private List features = new LinkedList();
+	
+	private List properties = new LinkedList();
+	
+	
+	public List getFeatures() {
+		return features;
+	}
+	public void setFeatures(List features) {
+		this.features = features;
+	}
+	public List getProperties() {
+		return properties;
+	}
+	public void setProperties(List properties) {
+		this.properties = properties;
+	}
+	public List getDefinedOperations(WSDLInterface wsdlInterface){
+		throw new UnsupportedOperationException("To be implementaed");
+	}
+	
+	
+	public List getDefinedOperations(){
+		
+		return this.getDefinedOperations(this);
+		
+	}
+	
+
+	/**
+	 * @return
+	 */
+	public List getFaults() {
+		return faults;
+	}
+
+	/**
+	 * @return
+	 */
+	public String getName() {
+		return name;
+	}
+
+	/**
+	 * @return
+	 */
+	public List getOperations() {
+		return operations;
+	}
+
+	/**
+	 * @return
+	 */
+	public List getSuperInterfaces() {
+		return superInterfaces;
+	}
+
+	/**
+	 * @return
+	 */
+	public URI getTargetnamespace() {
+		return targetnamespace;
+	}
+
+	/**
+	 * @param list
+	 */
+	public void setFaults(List list) {
+		faults = list;
+	}
+
+	/**
+	 * @param string
+	 */
+	public void setName(String string) {
+		name = string;
+	}
+
+	/**
+	 * @param list
+	 */
+	public void setOperations(List list) {
+		operations = list;
+	}
+
+	/**
+	 * @param list
+	 */
+	public void setSuperInterfaces(List list) {
+		superInterfaces = list;
+	}
+
+	/**
+	 * @param uri
+	 */
+	public void setTargetnamespace(URI uri) {
+		targetnamespace = uri;
+	}
+
+}
\ No newline at end of file

Added: webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/impl/WSDLOperationImpl.java
==============================================================================
--- (empty file)
+++ webservices/axis/trunk/java/dev/scratch/wsdl_pt_chatura/src/java/org/apache/axis/wsdl/wom/impl/WSDLOperationImpl.java	Wed Oct 13 03:48:15 2004
@@ -0,0 +1,116 @@
+/**
+ * Copyright 2001-2004 The Apache Software Foundation.
+ * <p/>
+ * 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
+ * <p/>
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * <p/>
+ * 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.axis.wsdl.wom.impl;
+
+import java.net.URI;
+import java.util.LinkedList;
+import java.util.List;
+
+import org.apache.axis.wsdl.wom.MessageReference;
+import org.apache.axis.wsdl.wom.WSDLOperation;
+
+/**
+ * @author Chathura Herath
+ *
+ */
+public class WSDLOperationImpl implements WSDLOperation {
+
+	private String name;
+	private URI targetnemespace;
+	private int messageExchangePattern;
+	private MessageReference inputMessage;
+	private MessageReference outputMessage;
+ 	private List infaults = new LinkedList();
+	private List outfaults = new LinkedList();
+	//value of parent if not specified
+	private int style;
+	
+	private boolean safety = false;
+	
+	private List features = new LinkedList();
+	
+	private List properties = new LinkedList();	
+	
+	
+	 
+	public List getFeatures() {
+		return features;
+	}
+	public void setFeatures(List features) {
+		this.features = features;
+	}
+	public List getProperties() {
+		return properties;
+	}
+	public void setProperties(List properties) {
+		this.properties = properties;
+	}
+	public List getInfaults() {
+		return infaults;
+	}
+	public void setInfaults(List infaults) {
+		this.infaults = infaults;
+	}
+	public MessageReference getInputMessage() {
+		return inputMessage;
+	}
+	public void setInputMessage(MessageReference inputMessage) {
+		this.inputMessage = inputMessage;
+	}
+	public int getMessageExchangePattern() {
+		return messageExchangePattern;
+	}
+	public void setMessageExchangePattern(int messageExchangePattern) {
+		this.messageExchangePattern = messageExchangePattern;
+	}
+	public String getName() {
+		return name;
+	}
+	public void setName(String name) {
+		this.name = name;
+	}
+	public List getOutfaults() {
+		return outfaults;
+	}
+	public void setOutfaults(List outfaults) {
+		this.outfaults = outfaults;
+	}
+	public MessageReference getOutputMessage() {
+		return outputMessage;
+	}
+	public void setOutputMessage(MessageReference outputMessage) {
+		this.outputMessage = outputMessage;
+	}
+	
+	public boolean isSafe() {
+		return safety;
+	}
+	public void setSafety(boolean safe) {
+		this.safety = safe;
+	}
+	public int getStyle() {
+		return style;
+	}
+	public void setStyle(int style) {
+		this.style = style;
+	}
+	public URI getTargetnemespace() {
+		return targetnemespace;
+	}
+	public void setTargetnemespace(URI targetnemespace) {
+		this.targetnemespace = targetnemespace;
+	}
+}