Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.wst.wsdl/src-soap/org')
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPAddress.java34
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPBinding.java33
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPBody.java35
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPFactory.java113
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPFault.java35
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPHeader.java48
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPHeaderBase.java159
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPHeaderFault.java25
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPOperation.java33
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPPackage.java1068
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/generator/SOAPContentGenerator.java376
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPAddressImpl.java264
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPBindingImpl.java324
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPFactoryImpl.java229
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPFaultImpl.java406
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPHeaderBaseImpl.java564
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPHeaderFaultImpl.java208
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPHeaderImpl.java303
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPOperationImpl.java325
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPPackageImpl.java594
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/util/SOAPAdapterFactory.java333
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/util/SOAPConstants.java44
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/util/SOAPExtensibilityElementFactory.java64
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/util/SOAPSwitch.java358
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/package.html21
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/package.xml18
26 files changed, 0 insertions, 6014 deletions
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPAddress.java b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPAddress.java
deleted file mode 100644
index 5a7f60fbd..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPAddress.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.soap;
-
-import org.eclipse.wst.wsdl.ExtensibilityElement;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Address</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.SOAPAddress#getLocationURI <em>Location URI</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPPackage#getSOAPAddress()
- * @model
- * @generated
- */
-public interface SOAPAddress extends ExtensibilityElement, javax.wsdl.extensions.soap.SOAPAddress {
-
-
-} // SOAPAddress
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPBinding.java b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPBinding.java
deleted file mode 100644
index ffa285fa4..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPBinding.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.soap;
-
-import org.eclipse.wst.wsdl.ExtensibilityElement;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Binding</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.SOAPBinding#getTransportURI <em>Transport URI</em>}</li>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.SOAPBinding#getStyle <em>Style</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPPackage#getSOAPBinding()
- * @model
- * @generated
- */
-public interface SOAPBinding extends ExtensibilityElement, javax.wsdl.extensions.soap.SOAPBinding {
-} // SOAPBinding
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPBody.java b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPBody.java
deleted file mode 100644
index 429ce9508..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPBody.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.soap;
-
-import org.eclipse.wst.wsdl.ExtensibilityElement;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Body</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.SOAPBody#getUse <em>Use</em>}</li>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.SOAPBody#getNamespaceURI <em>Namespace URI</em>}</li>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.SOAPBody#getEncodingStyles <em>Encoding Styles</em>}</li>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.SOAPBody#getParts <em>Parts</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPPackage#getSOAPBody()
- * @model
- * @generated
- */
-public interface SOAPBody extends ExtensibilityElement, javax.wsdl.extensions.soap.SOAPBody {
-} // SOAPBody
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPFactory.java b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPFactory.java
deleted file mode 100644
index 201d301d3..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPFactory.java
+++ /dev/null
@@ -1,113 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.soap;
-
-import org.eclipse.emf.ecore.EFactory;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Factory</b> for the model.
- * It provides a create method for each non-abstract class of the model.
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPPackage
- * @generated
- */
-public interface SOAPFactory extends EFactory{
- /**
- * The singleton instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- SOAPFactory eINSTANCE = new org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPFactoryImpl();
-
- /**
- * Returns a new object of class '<em>Binding</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Binding</em>'.
- * @generated
- */
- SOAPBinding createSOAPBinding();
-
- /**
- * Returns a new object of class '<em>Body</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Body</em>'.
- * @generated
- */
- SOAPBody createSOAPBody();
-
- /**
- * Returns a new object of class '<em>Header Base</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Header Base</em>'.
- * @generated
- */
- SOAPHeaderBase createSOAPHeaderBase();
-
- /**
- * Returns a new object of class '<em>Fault</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Fault</em>'.
- * @generated
- */
- SOAPFault createSOAPFault();
-
- /**
- * Returns a new object of class '<em>Operation</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Operation</em>'.
- * @generated
- */
- SOAPOperation createSOAPOperation();
-
- /**
- * Returns a new object of class '<em>Address</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Address</em>'.
- * @generated
- */
- SOAPAddress createSOAPAddress();
-
- /**
- * Returns a new object of class '<em>Header Fault</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Header Fault</em>'.
- * @generated
- */
- SOAPHeaderFault createSOAPHeaderFault();
-
- /**
- * Returns a new object of class '<em>Header</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Header</em>'.
- * @generated
- */
- SOAPHeader createSOAPHeader();
-
- /*
- * Returns the package supported by this factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the package supported by this factory.
- * @generated NOT
- */
- //SOAPPackage getSOAPPackage();
-
-} //SOAPFactory
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPFault.java b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPFault.java
deleted file mode 100644
index 86c995711..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPFault.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.soap;
-
-import org.eclipse.wst.wsdl.ExtensibilityElement;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Fault</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.SOAPFault#getUse <em>Use</em>}</li>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.SOAPFault#getNamespaceURI <em>Namespace URI</em>}</li>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.SOAPFault#getEncodingStyles <em>Encoding Styles</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPPackage#getSOAPFault()
- * @model
- * @generated
- */
-public interface SOAPFault extends ExtensibilityElement, javax.wsdl.extensions.soap.SOAPFault {
-
-} // SOAPFault
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPHeader.java b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPHeader.java
deleted file mode 100644
index e5f107562..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPHeader.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.soap;
-
-import org.eclipse.emf.common.util.EList;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Header</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.SOAPHeader#getHeaderFaults <em>Header Faults</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPPackage#getSOAPHeader()
- * @model
- * @generated
- */
-public interface SOAPHeader extends SOAPHeaderBase {
- /**
- * Returns the value of the '<em><b>Header Faults</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.wst.wsdl.binding.soap.SOAPHeaderFault}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Header Faults</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Header Faults</em>' containment reference list.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPPackage#getSOAPHeader_HeaderFaults()
- * @model type="org.eclipse.wst.wsdl.binding.soap.SOAPHeaderFault" containment="true"
- * @generated
- */
- EList getHeaderFaults();
-
-} // SOAPHeader
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPHeaderBase.java b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPHeaderBase.java
deleted file mode 100644
index 2eeaa9b04..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPHeaderBase.java
+++ /dev/null
@@ -1,159 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.soap;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.wst.wsdl.ExtensibilityElement;
-import org.eclipse.wst.wsdl.Message;
-import org.eclipse.wst.wsdl.Part;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Header Base</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase#getUse <em>Use</em>}</li>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase#getNamespaceURI <em>Namespace URI</em>}</li>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase#getEncodingStyles <em>Encoding Styles</em>}</li>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase#getMessage <em>Message</em>}</li>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase#getPart <em>Part</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPPackage#getSOAPHeaderBase()
- * @model
- * @generated
- */
-public interface SOAPHeaderBase extends ExtensibilityElement{
- /**
- * Returns the value of the '<em><b>Use</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Use</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Use</em>' attribute.
- * @see #setUse(String)
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPPackage#getSOAPHeaderBase_Use()
- * @model
- * @generated
- */
- String getUse();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase#getUse <em>Use</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Use</em>' attribute.
- * @see #getUse()
- * @generated
- */
- void setUse(String value);
-
- /**
- * Returns the value of the '<em><b>Namespace URI</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Namespace URI</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Namespace URI</em>' attribute.
- * @see #setNamespaceURI(String)
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPPackage#getSOAPHeaderBase_NamespaceURI()
- * @model
- * @generated
- */
- String getNamespaceURI();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase#getNamespaceURI <em>Namespace URI</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Namespace URI</em>' attribute.
- * @see #getNamespaceURI()
- * @generated
- */
- void setNamespaceURI(String value);
-
- /**
- * Returns the value of the '<em><b>Encoding Styles</b></em>' attribute list.
- * The list contents are of type {@link java.lang.String}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Encoding Styles</em>' attribute list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Encoding Styles</em>' attribute list.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPPackage#getSOAPHeaderBase_EncodingStyles()
- * @model type="java.lang.String" dataType="org.eclipse.wst.wsdl.binding.soap.IString"
- * @generated
- */
- EList getEncodingStyles();
-
- /**
- * Returns the value of the '<em><b>Message</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Message</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Message</em>' reference.
- * @see #setMessage(Message)
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPPackage#getSOAPHeaderBase_Message()
- * @model required="true"
- * @generated
- */
- Message getMessage();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase#getMessage <em>Message</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Message</em>' reference.
- * @see #getMessage()
- * @generated
- */
- void setMessage(Message value);
-
- /**
- * Returns the value of the '<em><b>Part</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Part</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Part</em>' reference.
- * @see #setPart(Part)
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPPackage#getSOAPHeaderBase_Part()
- * @model required="true"
- * @generated
- */
- Part getPart();
-
- /**
- * Sets the value of the '{@link org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase#getPart <em>Part</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Part</em>' reference.
- * @see #getPart()
- * @generated
- */
- void setPart(Part value);
-
-} // SOAPHeaderBase
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPHeaderFault.java b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPHeaderFault.java
deleted file mode 100644
index a3924e749..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPHeaderFault.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.soap;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Header Fault</b></em>'.
- * <!-- end-user-doc -->
- *
- *
- * @see org.eclipse.wst.wsdl.bindings.soap.SOAPPackage#getSOAPHeaderFault()
- * @model
- * @generated
- */
-public interface SOAPHeaderFault extends SOAPHeaderBase {
-} // SOAPHeaderFault
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPOperation.java b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPOperation.java
deleted file mode 100644
index f370492b2..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPOperation.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.soap;
-
-import org.eclipse.wst.wsdl.ExtensibilityElement;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Operation</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.SOAPOperation#getSoapActionURI <em>Soap Action URI</em>}</li>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.SOAPOperation#getStyle <em>Style</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPPackage#getSOAPOperation()
- * @model
- * @generated
- */
-public interface SOAPOperation extends ExtensibilityElement, javax.wsdl.extensions.soap.SOAPOperation {
-} // SOAPOperation
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPPackage.java b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPPackage.java
deleted file mode 100644
index 66e564962..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPPackage.java
+++ /dev/null
@@ -1,1068 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.soap;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EDataType;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.wst.wsdl.WSDLPackage;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Package</b> for the model.
- * It contains accessors for the meta objects to represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPFactory
- * @generated
- */
-public interface SOAPPackage extends EPackage{
- /**
- * The package name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNAME = "soap";
-
- /**
- * The package namespace URI.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_URI = "http://www.ibm.com/wsdl/2003/SOAP";
-
- /**
- * The package namespace name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_PREFIX = "soap";
-
- /**
- * The singleton instance of the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- SOAPPackage eINSTANCE = org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPPackageImpl.init();
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPBindingImpl <em>Binding</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPBindingImpl
- * @see org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPPackageImpl#getSOAPBinding()
- * @generated
- */
- int SOAP_BINDING = 0;
-
- /**
- * The feature id for the '<em><b>Documentation Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_BINDING__DOCUMENTATION_ELEMENT = WSDLPackage.EXTENSIBILITY_ELEMENT__DOCUMENTATION_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_BINDING__ELEMENT = WSDLPackage.EXTENSIBILITY_ELEMENT__ELEMENT;
-
- /**
- * The feature id for the '<em><b>Required</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_BINDING__REQUIRED = WSDLPackage.EXTENSIBILITY_ELEMENT__REQUIRED;
-
- /**
- * The feature id for the '<em><b>Element Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_BINDING__ELEMENT_TYPE = WSDLPackage.EXTENSIBILITY_ELEMENT__ELEMENT_TYPE;
-
- /**
- * The feature id for the '<em><b>Transport URI</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_BINDING__TRANSPORT_URI = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Style</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_BINDING__STYLE = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The number of structural features of the the '<em>Binding</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_BINDING_FEATURE_COUNT = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPBodyImpl <em>Body</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPBodyImpl
- * @see org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPPackageImpl#getSOAPBody()
- * @generated
- */
- int SOAP_BODY = 1;
-
- /**
- * The feature id for the '<em><b>Documentation Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_BODY__DOCUMENTATION_ELEMENT = WSDLPackage.EXTENSIBILITY_ELEMENT__DOCUMENTATION_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_BODY__ELEMENT = WSDLPackage.EXTENSIBILITY_ELEMENT__ELEMENT;
-
- /**
- * The feature id for the '<em><b>Required</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_BODY__REQUIRED = WSDLPackage.EXTENSIBILITY_ELEMENT__REQUIRED;
-
- /**
- * The feature id for the '<em><b>Element Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_BODY__ELEMENT_TYPE = WSDLPackage.EXTENSIBILITY_ELEMENT__ELEMENT_TYPE;
-
- /**
- * The feature id for the '<em><b>Use</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_BODY__USE = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Namespace URI</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_BODY__NAMESPACE_URI = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>Encoding Styles</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_BODY__ENCODING_STYLES = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 2;
-
- /**
- * The feature id for the '<em><b>Parts</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_BODY__PARTS = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 3;
-
- /**
- * The number of structural features of the the '<em>Body</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_BODY_FEATURE_COUNT = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 4;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPHeaderBaseImpl <em>Header Base</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPHeaderBaseImpl
- * @see org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPPackageImpl#getSOAPHeaderBase()
- * @generated
- */
- int SOAP_HEADER_BASE = 2;
-
- /**
- * The feature id for the '<em><b>Documentation Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER_BASE__DOCUMENTATION_ELEMENT = WSDLPackage.EXTENSIBILITY_ELEMENT__DOCUMENTATION_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER_BASE__ELEMENT = WSDLPackage.EXTENSIBILITY_ELEMENT__ELEMENT;
-
- /**
- * The feature id for the '<em><b>Required</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER_BASE__REQUIRED = WSDLPackage.EXTENSIBILITY_ELEMENT__REQUIRED;
-
- /**
- * The feature id for the '<em><b>Element Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER_BASE__ELEMENT_TYPE = WSDLPackage.EXTENSIBILITY_ELEMENT__ELEMENT_TYPE;
-
- /**
- * The feature id for the '<em><b>Use</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER_BASE__USE = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Namespace URI</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER_BASE__NAMESPACE_URI = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>Encoding Styles</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER_BASE__ENCODING_STYLES = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 2;
-
- /**
- * The feature id for the '<em><b>Message</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER_BASE__MESSAGE = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 3;
-
- /**
- * The feature id for the '<em><b>Part</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER_BASE__PART = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 4;
-
- /**
- * The number of structural features of the the '<em>Header Base</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER_BASE_FEATURE_COUNT = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 5;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPFaultImpl <em>Fault</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPFaultImpl
- * @see org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPPackageImpl#getSOAPFault()
- * @generated
- */
- int SOAP_FAULT = 3;
-
- /**
- * The feature id for the '<em><b>Documentation Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_FAULT__DOCUMENTATION_ELEMENT = WSDLPackage.EXTENSIBILITY_ELEMENT__DOCUMENTATION_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_FAULT__ELEMENT = WSDLPackage.EXTENSIBILITY_ELEMENT__ELEMENT;
-
- /**
- * The feature id for the '<em><b>Required</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_FAULT__REQUIRED = WSDLPackage.EXTENSIBILITY_ELEMENT__REQUIRED;
-
- /**
- * The feature id for the '<em><b>Element Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_FAULT__ELEMENT_TYPE = WSDLPackage.EXTENSIBILITY_ELEMENT__ELEMENT_TYPE;
-
- /**
- * The feature id for the '<em><b>Use</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_FAULT__USE = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Namespace URI</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_FAULT__NAMESPACE_URI = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>Encoding Styles</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_FAULT__ENCODING_STYLES = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 2;
-
- /**
- * The number of structural features of the the '<em>Fault</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_FAULT_FEATURE_COUNT = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 3;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPOperationImpl <em>Operation</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPOperationImpl
- * @see org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPPackageImpl#getSOAPOperation()
- * @generated
- */
- int SOAP_OPERATION = 4;
-
- /**
- * The feature id for the '<em><b>Documentation Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_OPERATION__DOCUMENTATION_ELEMENT = WSDLPackage.EXTENSIBILITY_ELEMENT__DOCUMENTATION_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_OPERATION__ELEMENT = WSDLPackage.EXTENSIBILITY_ELEMENT__ELEMENT;
-
- /**
- * The feature id for the '<em><b>Required</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_OPERATION__REQUIRED = WSDLPackage.EXTENSIBILITY_ELEMENT__REQUIRED;
-
- /**
- * The feature id for the '<em><b>Element Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_OPERATION__ELEMENT_TYPE = WSDLPackage.EXTENSIBILITY_ELEMENT__ELEMENT_TYPE;
-
- /**
- * The feature id for the '<em><b>Soap Action URI</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_OPERATION__SOAP_ACTION_URI = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Style</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_OPERATION__STYLE = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The number of structural features of the the '<em>Operation</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_OPERATION_FEATURE_COUNT = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPAddressImpl <em>Address</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPAddressImpl
- * @see org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPPackageImpl#getSOAPAddress()
- * @generated
- */
- int SOAP_ADDRESS = 5;
-
- /**
- * The feature id for the '<em><b>Documentation Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_ADDRESS__DOCUMENTATION_ELEMENT = WSDLPackage.EXTENSIBILITY_ELEMENT__DOCUMENTATION_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_ADDRESS__ELEMENT = WSDLPackage.EXTENSIBILITY_ELEMENT__ELEMENT;
-
- /**
- * The feature id for the '<em><b>Required</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_ADDRESS__REQUIRED = WSDLPackage.EXTENSIBILITY_ELEMENT__REQUIRED;
-
- /**
- * The feature id for the '<em><b>Element Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_ADDRESS__ELEMENT_TYPE = WSDLPackage.EXTENSIBILITY_ELEMENT__ELEMENT_TYPE;
-
- /**
- * The feature id for the '<em><b>Location URI</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_ADDRESS__LOCATION_URI = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the the '<em>Address</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_ADDRESS_FEATURE_COUNT = WSDLPackage.EXTENSIBILITY_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPHeaderFaultImpl <em>Header Fault</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPHeaderFaultImpl
- * @see org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPPackageImpl#getSOAPHeaderFault()
- * @generated
- */
- int SOAP_HEADER_FAULT = 6;
-
- /**
- * The feature id for the '<em><b>Documentation Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER_FAULT__DOCUMENTATION_ELEMENT = SOAP_HEADER_BASE__DOCUMENTATION_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER_FAULT__ELEMENT = SOAP_HEADER_BASE__ELEMENT;
-
- /**
- * The feature id for the '<em><b>Required</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER_FAULT__REQUIRED = SOAP_HEADER_BASE__REQUIRED;
-
- /**
- * The feature id for the '<em><b>Element Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER_FAULT__ELEMENT_TYPE = SOAP_HEADER_BASE__ELEMENT_TYPE;
-
- /**
- * The feature id for the '<em><b>Use</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER_FAULT__USE = SOAP_HEADER_BASE__USE;
-
- /**
- * The feature id for the '<em><b>Namespace URI</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER_FAULT__NAMESPACE_URI = SOAP_HEADER_BASE__NAMESPACE_URI;
-
- /**
- * The feature id for the '<em><b>Encoding Styles</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER_FAULT__ENCODING_STYLES = SOAP_HEADER_BASE__ENCODING_STYLES;
-
- /**
- * The feature id for the '<em><b>Message</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER_FAULT__MESSAGE = SOAP_HEADER_BASE__MESSAGE;
-
- /**
- * The feature id for the '<em><b>Part</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER_FAULT__PART = SOAP_HEADER_BASE__PART;
-
- /**
- * The number of structural features of the the '<em>Header Fault</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER_FAULT_FEATURE_COUNT = SOAP_HEADER_BASE_FEATURE_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPHeaderImpl <em>Header</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPHeaderImpl
- * @see org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPPackageImpl#getSOAPHeader()
- * @generated
- */
- int SOAP_HEADER = 7;
-
- /**
- * The feature id for the '<em><b>Documentation Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER__DOCUMENTATION_ELEMENT = SOAP_HEADER_BASE__DOCUMENTATION_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER__ELEMENT = SOAP_HEADER_BASE__ELEMENT;
-
- /**
- * The feature id for the '<em><b>Required</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER__REQUIRED = SOAP_HEADER_BASE__REQUIRED;
-
- /**
- * The feature id for the '<em><b>Element Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER__ELEMENT_TYPE = SOAP_HEADER_BASE__ELEMENT_TYPE;
-
- /**
- * The feature id for the '<em><b>Use</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER__USE = SOAP_HEADER_BASE__USE;
-
- /**
- * The feature id for the '<em><b>Namespace URI</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER__NAMESPACE_URI = SOAP_HEADER_BASE__NAMESPACE_URI;
-
- /**
- * The feature id for the '<em><b>Encoding Styles</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER__ENCODING_STYLES = SOAP_HEADER_BASE__ENCODING_STYLES;
-
- /**
- * The feature id for the '<em><b>Message</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER__MESSAGE = SOAP_HEADER_BASE__MESSAGE;
-
- /**
- * The feature id for the '<em><b>Part</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER__PART = SOAP_HEADER_BASE__PART;
-
- /**
- * The feature id for the '<em><b>Header Faults</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER__HEADER_FAULTS = SOAP_HEADER_BASE_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the the '<em>Header</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SOAP_HEADER_FEATURE_COUNT = SOAP_HEADER_BASE_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '<em>IString</em>' data type.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see java.lang.String
- * @see org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPPackageImpl#getIString()
- * @generated
- */
- int ISTRING = 8;
-
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.wsdl.binding.soap.SOAPBinding <em>Binding</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Binding</em>'.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPBinding
- * @generated
- */
- EClass getSOAPBinding();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.binding.soap.SOAPBinding#getTransportURI <em>Transport URI</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Transport URI</em>'.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPBinding#getTransportURI()
- * @see #getSOAPBinding()
- * @generated
- */
- EAttribute getSOAPBinding_TransportURI();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.binding.soap.SOAPBinding#getStyle <em>Style</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Style</em>'.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPBinding#getStyle()
- * @see #getSOAPBinding()
- * @generated
- */
- EAttribute getSOAPBinding_Style();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.wsdl.binding.soap.SOAPBody <em>Body</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Body</em>'.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPBody
- * @generated
- */
- EClass getSOAPBody();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.binding.soap.SOAPBody#getUse <em>Use</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Use</em>'.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPBody#getUse()
- * @see #getSOAPBody()
- * @generated
- */
- EAttribute getSOAPBody_Use();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.binding.soap.SOAPBody#getNamespaceURI <em>Namespace URI</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Namespace URI</em>'.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPBody#getNamespaceURI()
- * @see #getSOAPBody()
- * @generated
- */
- EAttribute getSOAPBody_NamespaceURI();
-
- /**
- * Returns the meta object for the attribute list '{@link org.eclipse.wst.wsdl.binding.soap.SOAPBody#getEncodingStyles <em>Encoding Styles</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute list '<em>Encoding Styles</em>'.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPBody#getEncodingStyles()
- * @see #getSOAPBody()
- * @generated
- */
- EAttribute getSOAPBody_EncodingStyles();
-
- /**
- * Returns the meta object for the reference list '{@link org.eclipse.wst.wsdl.binding.soap.SOAPBody#getParts <em>Parts</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference list '<em>Parts</em>'.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPBody#getParts()
- * @see #getSOAPBody()
- * @generated
- */
- EReference getSOAPBody_Parts();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase <em>Header Base</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Header Base</em>'.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase
- * @generated
- */
- EClass getSOAPHeaderBase();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase#getUse <em>Use</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Use</em>'.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase#getUse()
- * @see #getSOAPHeaderBase()
- * @generated
- */
- EAttribute getSOAPHeaderBase_Use();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase#getNamespaceURI <em>Namespace URI</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Namespace URI</em>'.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase#getNamespaceURI()
- * @see #getSOAPHeaderBase()
- * @generated
- */
- EAttribute getSOAPHeaderBase_NamespaceURI();
-
- /**
- * Returns the meta object for the attribute list '{@link org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase#getEncodingStyles <em>Encoding Styles</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute list '<em>Encoding Styles</em>'.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase#getEncodingStyles()
- * @see #getSOAPHeaderBase()
- * @generated
- */
- EAttribute getSOAPHeaderBase_EncodingStyles();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase#getMessage <em>Message</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Message</em>'.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase#getMessage()
- * @see #getSOAPHeaderBase()
- * @generated
- */
- EReference getSOAPHeaderBase_Message();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase#getPart <em>Part</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Part</em>'.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase#getPart()
- * @see #getSOAPHeaderBase()
- * @generated
- */
- EReference getSOAPHeaderBase_Part();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.wsdl.binding.soap.SOAPFault <em>Fault</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Fault</em>'.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPFault
- * @generated
- */
- EClass getSOAPFault();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.binding.soap.SOAPFault#getUse <em>Use</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Use</em>'.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPFault#getUse()
- * @see #getSOAPFault()
- * @generated
- */
- EAttribute getSOAPFault_Use();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.binding.soap.SOAPFault#getNamespaceURI <em>Namespace URI</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Namespace URI</em>'.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPFault#getNamespaceURI()
- * @see #getSOAPFault()
- * @generated
- */
- EAttribute getSOAPFault_NamespaceURI();
-
- /**
- * Returns the meta object for the attribute list '{@link org.eclipse.wst.wsdl.binding.soap.SOAPFault#getEncodingStyles <em>Encoding Styles</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute list '<em>Encoding Styles</em>'.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPFault#getEncodingStyles()
- * @see #getSOAPFault()
- * @generated
- */
- EAttribute getSOAPFault_EncodingStyles();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.wsdl.binding.soap.SOAPOperation <em>Operation</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Operation</em>'.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPOperation
- * @generated
- */
- EClass getSOAPOperation();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.binding.soap.SOAPOperation#getSoapActionURI <em>Soap Action URI</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Soap Action URI</em>'.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPOperation#getSoapActionURI()
- * @see #getSOAPOperation()
- * @generated
- */
- EAttribute getSOAPOperation_SoapActionURI();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.binding.soap.SOAPOperation#getStyle <em>Style</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Style</em>'.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPOperation#getStyle()
- * @see #getSOAPOperation()
- * @generated
- */
- EAttribute getSOAPOperation_Style();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.wsdl.binding.soap.SOAPAddress <em>Address</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Address</em>'.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPAddress
- * @generated
- */
- EClass getSOAPAddress();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.wst.wsdl.binding.soap.SOAPAddress#getLocationURI <em>Location URI</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Location URI</em>'.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPAddress#getLocationURI()
- * @see #getSOAPAddress()
- * @generated
- */
- EAttribute getSOAPAddress_LocationURI();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.wsdl.binding.soap.SOAPHeaderFault <em>Header Fault</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Header Fault</em>'.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPHeaderFault
- * @generated
- */
- EClass getSOAPHeaderFault();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.wst.wsdl.binding.soap.SOAPHeader <em>Header</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Header</em>'.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPHeader
- * @generated
- */
- EClass getSOAPHeader();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.wst.wsdl.binding.soap.SOAPHeader#getHeaderFaults <em>Header Faults</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Header Faults</em>'.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPHeader#getHeaderFaults()
- * @see #getSOAPHeader()
- * @generated
- */
- EReference getSOAPHeader_HeaderFaults();
-
- /**
- * Returns the meta object for data type '{@link java.lang.String <em>IString</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for data type '<em>IString</em>'.
- * @see java.lang.String
- * @model instanceClass="java.lang.String"
- * @generated
- */
- EDataType getIString();
-
- /**
- * Returns the factory that creates the instances of the model.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the factory that creates the instances of the model.
- * @generated
- */
- SOAPFactory getSOAPFactory();
-
-} //SOAPPackage
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/generator/SOAPContentGenerator.java b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/generator/SOAPContentGenerator.java
deleted file mode 100644
index 023eed619..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/generator/SOAPContentGenerator.java
+++ /dev/null
@@ -1,376 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.soap.internal.generator;
-
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-
-import org.eclipse.emf.common.util.BasicEList;
-import org.eclipse.wst.wsdl.Binding;
-import org.eclipse.wst.wsdl.BindingFault;
-import org.eclipse.wst.wsdl.BindingInput;
-import org.eclipse.wst.wsdl.BindingOperation;
-import org.eclipse.wst.wsdl.BindingOutput;
-import org.eclipse.wst.wsdl.ExtensibilityElement;
-import org.eclipse.wst.wsdl.Fault;
-import org.eclipse.wst.wsdl.Input;
-import org.eclipse.wst.wsdl.Operation;
-import org.eclipse.wst.wsdl.Output;
-import org.eclipse.wst.wsdl.Port;
-import org.eclipse.wst.wsdl.PortType;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.binding.soap.SOAPAddress;
-import org.eclipse.wst.wsdl.binding.soap.SOAPBinding;
-import org.eclipse.wst.wsdl.binding.soap.SOAPBody;
-import org.eclipse.wst.wsdl.binding.soap.SOAPFactory;
-import org.eclipse.wst.wsdl.binding.soap.SOAPFault;
-import org.eclipse.wst.wsdl.binding.soap.SOAPOperation;
-import org.eclipse.wst.wsdl.internal.generator.ContentGenerator;
-
-public class SOAPContentGenerator implements ContentGenerator
-{
- public static final int OPTION_NOT_SET = -1;
-
- public static final int STYLE_DOCUMENT = 1;
- public static final int STYLE_RPC = 2;
-
- public static final int USE_LITERAL = 1;
- public static final int USE_ENCODED = 2;
-
- private int styleOption = OPTION_NOT_SET;
- private int useOption = OPTION_NOT_SET;
-
- protected String namespaceValue = "";
- protected String addressLocation = ContentGenerator.ADDRESS_LOCATION;
-
- protected final static String[] requiredNamespaces = {"http://schemas.xmlsoap.org/wsdl/soap/"};
- protected final static String[] preferredNamespacePrefixes = {"soap"};
-
-
- public String[] getRequiredNamespaces()
- {
- return requiredNamespaces;
- }
-
- public String getPreferredNamespacePrefix(String namespace)
- {
- if (namespace.equals("http://schemas.xmlsoap.org/wsdl/soap/")) {
- return "soap";
- }
-
- return "";
- }
-
- public void setStyle(int style) {
- styleOption = style;
- }
-
- public void setUse(int use) {
- useOption = use;
- }
-
- public void setAddressLocation(String addressLocation) {
- this.addressLocation = addressLocation;
- }
-
- public void generatePortContent(Port port)
- {
- // We blow away any existing ExtensibilityElements/content before we generate it
- // Is it worth being smarter? Look for matching content first and create those which aren't found????
- List removeList = new ArrayList(port.getEExtensibilityElements());
- removeExtensebilityElements(port.getEExtensibilityElements(), removeList);
-
- SOAPAddress soapAddress= SOAPFactory.eINSTANCE.createSOAPAddress();
- soapAddress.setLocationURI(addressLocation);
- port.addExtensibilityElement(soapAddress);
- }
-
- public void generateBindingContent(Binding binding, PortType portType)
- {
- // We blow away any existing ExtensibilityElements/content before we generate it
- // Is it worth being smarter? Look for matching content first and create those which aren't found????
- List removeList = new ArrayList(binding.getEExtensibilityElements());
- removeExtensebilityElements(binding.getEExtensibilityElements(), removeList);
-
- SOAPFactory soapFactory = SOAPFactory.eINSTANCE;
- SOAPBinding soapBinding = soapFactory.createSOAPBinding();
- soapBinding.setStyle((getStyleOption(binding) == STYLE_DOCUMENT) ? "document" : "rpc");
- soapBinding.setTransportURI("http://schemas.xmlsoap.org/soap/http");
-
- binding.addExtensibilityElement(soapBinding);
- }
-
- public void generateBindingOperationContent(BindingOperation bindingOperation, Operation operation)
- {
- // We blow away any existing ExtensibilityElements/content before we generate it
- // Is it worth being smarter? Look for matching content first and create those which aren't found????
- List removeList = new ArrayList(bindingOperation.getEExtensibilityElements());
- removeExtensebilityElements(bindingOperation.getEExtensibilityElements(), removeList);
-
- SOAPOperation soapOperation = SOAPFactory.eINSTANCE.createSOAPOperation();
-
- String soapActionValue = getNamespace(bindingOperation);
- if (!soapActionValue.endsWith("/"))
- {
- soapActionValue += "/";
- }
- soapActionValue += operation.getName();
-
- soapOperation.setSoapActionURI(soapActionValue);
-
- bindingOperation.addExtensibilityElement(soapOperation);
- }
-
- public void generateBindingInputContent(BindingInput bindingInput, Input input)
- {
- // We blow away any existing ExtensibilityElements/content before we generate it
- // Is it worth being smarter? Look for matching content first and create those which aren't found????
- List removeList = new ArrayList(bindingInput.getEExtensibilityElements());
- removeExtensebilityElements(bindingInput.getEExtensibilityElements(), removeList);
-
- SOAPFactory soapFactory = SOAPFactory.eINSTANCE;
- SOAPBody soapBody = soapFactory.createSOAPBody();
- soapBody.setUse((getUseOption(null) == USE_ENCODED) ? "encoded" : "literal");
- if (getUseOption(bindingInput) == USE_ENCODED && getStyleOption(bindingInput) == STYLE_RPC)
- {
- List encodingList = new BasicEList();
- encodingList.add("http://schemas.xmlsoap.org/soap/encoding/");
- soapBody.setEncodingStyles(encodingList);
- soapBody.setNamespaceURI(getNamespace(bindingInput));
- }
- else if (getUseOption(bindingInput) == USE_LITERAL && getStyleOption(bindingInput) == STYLE_RPC) {
- soapBody.setNamespaceURI(getNamespace(bindingInput));
- }
-
- bindingInput.addExtensibilityElement(soapBody);
- }
-
- public void generateBindingOutputContent(BindingOutput bindingOutput, Output output)
- {
- // We blow away any existing ExtensibilityElements/content before we generate it
- // Is it worth being smarter? Look for matching content first and create those which aren't found????
- List removeList = new ArrayList(bindingOutput.getEExtensibilityElements());
- removeExtensebilityElements(bindingOutput.getEExtensibilityElements(), removeList);
-
- SOAPFactory soapFactory = SOAPFactory.eINSTANCE;
- SOAPBody soapBody = soapFactory.createSOAPBody();
- soapBody.setUse((getUseOption(bindingOutput) == USE_ENCODED) ? "encoded" : "literal");
- if (getUseOption(bindingOutput) == USE_ENCODED && getStyleOption(bindingOutput) == STYLE_RPC)
- {
- List encodingList = new BasicEList();
- encodingList.add("http://schemas.xmlsoap.org/soap/encoding/");
- soapBody.setEncodingStyles(encodingList);
- soapBody.setNamespaceURI(getNamespace(bindingOutput));
- }
- else if (getUseOption(bindingOutput) == USE_LITERAL && getStyleOption(bindingOutput) == STYLE_RPC) {
- soapBody.setNamespaceURI(getNamespace(bindingOutput));
- }
-
- bindingOutput.addExtensibilityElement(soapBody);
- }
-
- public void generateBindingFaultContent(BindingFault bindingFault, Fault fault)
- {
- // We blow away any existing ExtensibilityElements/content before we generate it
- // Is it worth being smarter? Look for matching content first and create those which aren't found????
- List removeList = new ArrayList(bindingFault.getEExtensibilityElements());
- removeExtensebilityElements(bindingFault.getEExtensibilityElements(), removeList);
-
- SOAPFactory soapFactory = SOAPFactory.eINSTANCE;
- SOAPFault soapFault = soapFactory.createSOAPFault();
- soapFault.setUse((getUseOption(bindingFault) == USE_ENCODED) ? "encoded" : "literal");
- soapFault.setName(fault.getName());
-// soapFault.setNamespaceURI(getNamespace(bindingFault));
-
- if (getUseOption(bindingFault) == USE_ENCODED && getStyleOption(bindingFault) == STYLE_RPC)
- {
- List encodingList = new BasicEList();
- encodingList.add("http://schemas.xmlsoap.org/soap/encoding/");
- soapFault.setEncodingStyles(encodingList);
- }
-
- bindingFault.addExtensibilityElement(soapFault);
- }
-
- private String getNamespace(WSDLElement wsdlElement) {
- if (namespaceValue.equals("") && wsdlElement != null) {
- namespaceValue = wsdlElement.getEnclosingDefinition().getTargetNamespace();
- }
- if (namespaceValue == null) {
- namespaceValue = "";
- }
-
- return namespaceValue;
- }
-
- private void removeExtensebilityElements(List originalList, List removeList) {
- Iterator removeIt = removeList.iterator();
- while (removeIt.hasNext()) {
- originalList.remove(removeIt.next());
- }
- }
-
- private Binding getBindingObject(Object genericBindingObject) {
- Object parent = genericBindingObject;
-
- int index = 0;
- while (parent != null && index < 5) {
- parent = getGenericBindingObjectParent(parent);
- if (parent instanceof Binding) {
- break;
- }
- index++;
- }
-
- return (parent instanceof Binding)? (Binding) parent : null;
- }
-
- private Object getGenericBindingObjectParent(Object genericBindingObject) {
- Object parent = null;
-
- if (genericBindingObject != null) {
- if (genericBindingObject instanceof BindingOperation) {
- parent = ((BindingOperation) genericBindingObject).getContainer();
- }
- else if (genericBindingObject instanceof BindingInput) {
- parent = ((BindingInput) genericBindingObject).getContainer();
- }
- else if (genericBindingObject instanceof BindingOutput) {
- parent = ((BindingOutput) genericBindingObject).getContainer();
- }
- else if (genericBindingObject instanceof BindingFault) {
- parent = ((BindingFault) genericBindingObject).getContainer();
- }
- }
-
- return parent;
- }
-
- private int getStyleOption(Object genericBindingObject) {
- if (styleOption == OPTION_NOT_SET && genericBindingObject != null) {
- // init() was never called, try to determine the 'style' based on what we have/know
- Binding binding = getBindingObject(genericBindingObject);
-
- // Try to determine the style from the Binding Object
- if (binding != null) {
- List list = binding.getEExtensibilityElements();
- Iterator valuesIt = getExtensibilityElementAttributeValue(list, "style").iterator();
-
- while (valuesIt.hasNext()) {
- String style = (String) valuesIt.next();
-
- if (style.equals("document")) {
- styleOption = STYLE_DOCUMENT;
- }
- else if (style.equals("rpc")) {
- styleOption = STYLE_RPC;
- }
-
- if (styleOption != OPTION_NOT_SET) {
- break;
- }
- }
- }
- }
-
- if (styleOption == OPTION_NOT_SET) {
- styleOption = STYLE_DOCUMENT;
- }
-
- return styleOption;
- }
-
- private int getUseOption(Object genericBindingObject) {
- if (useOption == OPTION_NOT_SET) {
- // init() was never called, try to determine the 'use' based on what we have/know
- Iterator messageRefIt = getMessageReferenceBindingObjects(genericBindingObject).iterator();
-
- // Try to determine the use from the list of BindingInputs, BindingOutputs, and BindingFaults
- while (messageRefIt.hasNext()) {
- Object messageRef = messageRefIt.next();
- List values = new ArrayList();
-
- if (messageRef instanceof BindingInput) {
- List list = ((BindingInput) messageRef).getEExtensibilityElements();
- values = getExtensibilityElementAttributeValue(list, "use");
- }
- else if (messageRef instanceof BindingOutput) {
- List list = ((BindingOutput) messageRef).getEExtensibilityElements();
- values = getExtensibilityElementAttributeValue(list, "use");
- }
- else if (messageRef instanceof BindingFault) {
- List list = ((BindingFault) messageRef).getEExtensibilityElements();
- values = getExtensibilityElementAttributeValue(list, "use");
- }
-
- Iterator valuesIt = values.iterator();
- while (valuesIt.hasNext()) {
- String use = (String) valuesIt.next();
-
- if (use.equals("literal")) {
- useOption = USE_LITERAL;
- }
- else if (use.equals("encoded")) {
- useOption = USE_ENCODED;
- }
- }
-
- if (useOption != OPTION_NOT_SET) {
- break;
- }
- }
- }
-
- if (useOption == OPTION_NOT_SET) {
- useOption = USE_LITERAL;
- }
-
- return useOption;
- }
-
- private List getMessageReferenceBindingObjects(Object genericBindingObject) {
- List list = new ArrayList();
- Binding binding = getBindingObject(genericBindingObject);
-
- if (binding != null) {
- Iterator operationsIt = binding.getEBindingOperations().iterator();
-
- while (operationsIt.hasNext()) {
- BindingOperation op = (BindingOperation) operationsIt.next();
- list.add(op.getEBindingInput());
- list.add(op.getEBindingOutput());
- list.addAll(op.getEBindingFaults());
- }
- }
-
- return list;
- }
-
- private List getExtensibilityElementAttributeValue(List eeList, String attributeKey) {
- List values = new ArrayList();
- Iterator eeElementsIt = eeList.iterator();
-
- while (eeElementsIt.hasNext()) {
- ExtensibilityElement eeElement = (ExtensibilityElement) eeElementsIt.next();
- String attributeValue = eeElement.getElement().getAttribute(attributeKey);
- if (attributeValue != null && !attributeValue.equals("")) {
- values.add(attributeValue);
- }
- }
-
- return values;
- }
-
- public String getProtocol() {
- return "SOAP";
- }
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPAddressImpl.java b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPAddressImpl.java
deleted file mode 100644
index c59a4e117..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPAddressImpl.java
+++ /dev/null
@@ -1,264 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.soap.internal.impl;
-
-
-import javax.xml.namespace.QName;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.wst.wsdl.binding.soap.SOAPAddress;
-import org.eclipse.wst.wsdl.binding.soap.SOAPPackage;
-import org.eclipse.wst.wsdl.binding.soap.internal.util.SOAPConstants;
-import org.eclipse.wst.wsdl.internal.impl.ExtensibilityElementImpl;
-import org.w3c.dom.Element;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Address</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPAddressImpl#getLocationURI <em>Location URI</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class SOAPAddressImpl extends ExtensibilityElementImpl implements SOAPAddress {
- /**
- * This class is not intended to be serialized.
- * serialVersionUID is assigned with 1L to avoid
- * compiler warning messages.
- */
- private static final long serialVersionUID = 1L;
-
- /**
- * The default value of the '{@link #getLocationURI() <em>Location URI</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLocationURI()
- * @generated
- * @ordered
- */
- protected static final String LOCATION_URI_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getLocationURI() <em>Location URI</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLocationURI()
- * @generated
- * @ordered
- */
- protected String locationURI = LOCATION_URI_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected SOAPAddressImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass()
- {
- return SOAPPackage.eINSTANCE.getSOAPAddress();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getLocationURI()
- {
- return locationURI;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setLocationURI(String newLocationURI)
- {
- String oldLocationURI = locationURI;
- locationURI = newLocationURI;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, SOAPPackage.SOAP_ADDRESS__LOCATION_URI, oldLocationURI, locationURI));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_ADDRESS__DOCUMENTATION_ELEMENT:
- return getDocumentationElement();
- case SOAPPackage.SOAP_ADDRESS__ELEMENT:
- return getElement();
- case SOAPPackage.SOAP_ADDRESS__REQUIRED:
- return isRequired() ? Boolean.TRUE : Boolean.FALSE;
- case SOAPPackage.SOAP_ADDRESS__ELEMENT_TYPE:
- return getElementType();
- case SOAPPackage.SOAP_ADDRESS__LOCATION_URI:
- return getLocationURI();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_ADDRESS__DOCUMENTATION_ELEMENT:
- setDocumentationElement((Element)newValue);
- return;
- case SOAPPackage.SOAP_ADDRESS__ELEMENT:
- setElement((Element)newValue);
- return;
- case SOAPPackage.SOAP_ADDRESS__REQUIRED:
- setRequired(((Boolean)newValue).booleanValue());
- return;
- case SOAPPackage.SOAP_ADDRESS__ELEMENT_TYPE:
- setElementType((QName)newValue);
- return;
- case SOAPPackage.SOAP_ADDRESS__LOCATION_URI:
- setLocationURI((String)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_ADDRESS__DOCUMENTATION_ELEMENT:
- setDocumentationElement(DOCUMENTATION_ELEMENT_EDEFAULT);
- return;
- case SOAPPackage.SOAP_ADDRESS__ELEMENT:
- setElement(ELEMENT_EDEFAULT);
- return;
- case SOAPPackage.SOAP_ADDRESS__REQUIRED:
- setRequired(REQUIRED_EDEFAULT);
- return;
- case SOAPPackage.SOAP_ADDRESS__ELEMENT_TYPE:
- setElementType(ELEMENT_TYPE_EDEFAULT);
- return;
- case SOAPPackage.SOAP_ADDRESS__LOCATION_URI:
- setLocationURI(LOCATION_URI_EDEFAULT);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_ADDRESS__DOCUMENTATION_ELEMENT:
- return DOCUMENTATION_ELEMENT_EDEFAULT == null ? documentationElement != null : !DOCUMENTATION_ELEMENT_EDEFAULT.equals(documentationElement);
- case SOAPPackage.SOAP_ADDRESS__ELEMENT:
- return ELEMENT_EDEFAULT == null ? element != null : !ELEMENT_EDEFAULT.equals(element);
- case SOAPPackage.SOAP_ADDRESS__REQUIRED:
- return required != REQUIRED_EDEFAULT;
- case SOAPPackage.SOAP_ADDRESS__ELEMENT_TYPE:
- return ELEMENT_TYPE_EDEFAULT == null ? elementType != null : !ELEMENT_TYPE_EDEFAULT.equals(elementType);
- case SOAPPackage.SOAP_ADDRESS__LOCATION_URI:
- return LOCATION_URI_EDEFAULT == null ? locationURI != null : !LOCATION_URI_EDEFAULT.equals(locationURI);
- }
- return eDynamicIsSet(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (locationURI: ");
- result.append(locationURI);
- result.append(')');
- return result.toString();
- }
-
- //
- // Reconcile methods: DOM -> Model
- //
-
- public void reconcileAttributes(Element changedElement)
- {
- setLocationURI
- (SOAPConstants.getAttribute(changedElement, SOAPConstants.LOCATION_ATTRIBUTE));
- reconcileReferences(false);
- }
-
- //
- // For reconciliation: Model -> DOM
- //
-
- protected void changeAttribute(EAttribute eAttribute)
- {
- if (isReconciling)
- return;
-
- super.changeAttribute(eAttribute);
- Element theElement = getElement();
- if (theElement != null)
- {
- if (eAttribute == null || eAttribute == SOAPPackage.eINSTANCE.getSOAPAddress_LocationURI())
- niceSetAttribute(theElement,SOAPConstants.LOCATION_ATTRIBUTE,getLocationURI());
- }
- }
-
- public QName getElementType()
- {
- if (elementType == null)
- elementType = new QName(SOAPConstants.SOAP_NAMESPACE_URI, SOAPConstants.ADDRESS_ELEMENT_TAG);
- return elementType;
- }
-} //SOAPAddressImpl
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPBindingImpl.java b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPBindingImpl.java
deleted file mode 100644
index 6accd6635..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPBindingImpl.java
+++ /dev/null
@@ -1,324 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.soap.internal.impl;
-
-
-import javax.xml.namespace.QName;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.wst.wsdl.binding.soap.SOAPBinding;
-import org.eclipse.wst.wsdl.binding.soap.SOAPPackage;
-import org.eclipse.wst.wsdl.binding.soap.internal.util.SOAPConstants;
-import org.eclipse.wst.wsdl.internal.impl.ExtensibilityElementImpl;
-import org.w3c.dom.Element;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Binding</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPBindingImpl#getTransportURI <em>Transport URI</em>}</li>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPBindingImpl#getStyle <em>Style</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class SOAPBindingImpl extends ExtensibilityElementImpl implements SOAPBinding {
- /**
- * This class is not intended to be serialized.
- * serialVersionUID is assigned with 1L to avoid
- * compiler warning messages.
- */
- private static final long serialVersionUID = 1L;
-
- /**
- * The default value of the '{@link #getTransportURI() <em>Transport URI</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTransportURI()
- * @generated
- * @ordered
- */
- protected static final String TRANSPORT_URI_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getTransportURI() <em>Transport URI</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTransportURI()
- * @generated
- * @ordered
- */
- protected String transportURI = TRANSPORT_URI_EDEFAULT;
-
- /**
- * The default value of the '{@link #getStyle() <em>Style</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getStyle()
- * @generated
- * @ordered
- */
- protected static final String STYLE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getStyle() <em>Style</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getStyle()
- * @generated
- * @ordered
- */
- protected String style = STYLE_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected SOAPBindingImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass()
- {
- return SOAPPackage.eINSTANCE.getSOAPBinding();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getTransportURI()
- {
- return transportURI;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setTransportURI(String newTransportURI)
- {
- String oldTransportURI = transportURI;
- transportURI = newTransportURI;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, SOAPPackage.SOAP_BINDING__TRANSPORT_URI, oldTransportURI, transportURI));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getStyle()
- {
- return style;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setStyle(String newStyle)
- {
- String oldStyle = style;
- style = newStyle;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, SOAPPackage.SOAP_BINDING__STYLE, oldStyle, style));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_BINDING__DOCUMENTATION_ELEMENT:
- return getDocumentationElement();
- case SOAPPackage.SOAP_BINDING__ELEMENT:
- return getElement();
- case SOAPPackage.SOAP_BINDING__REQUIRED:
- return isRequired() ? Boolean.TRUE : Boolean.FALSE;
- case SOAPPackage.SOAP_BINDING__ELEMENT_TYPE:
- return getElementType();
- case SOAPPackage.SOAP_BINDING__TRANSPORT_URI:
- return getTransportURI();
- case SOAPPackage.SOAP_BINDING__STYLE:
- return getStyle();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_BINDING__DOCUMENTATION_ELEMENT:
- setDocumentationElement((Element)newValue);
- return;
- case SOAPPackage.SOAP_BINDING__ELEMENT:
- setElement((Element)newValue);
- return;
- case SOAPPackage.SOAP_BINDING__REQUIRED:
- setRequired(((Boolean)newValue).booleanValue());
- return;
- case SOAPPackage.SOAP_BINDING__ELEMENT_TYPE:
- setElementType((QName)newValue);
- return;
- case SOAPPackage.SOAP_BINDING__TRANSPORT_URI:
- setTransportURI((String)newValue);
- return;
- case SOAPPackage.SOAP_BINDING__STYLE:
- setStyle((String)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_BINDING__DOCUMENTATION_ELEMENT:
- setDocumentationElement(DOCUMENTATION_ELEMENT_EDEFAULT);
- return;
- case SOAPPackage.SOAP_BINDING__ELEMENT:
- setElement(ELEMENT_EDEFAULT);
- return;
- case SOAPPackage.SOAP_BINDING__REQUIRED:
- setRequired(REQUIRED_EDEFAULT);
- return;
- case SOAPPackage.SOAP_BINDING__ELEMENT_TYPE:
- setElementType(ELEMENT_TYPE_EDEFAULT);
- return;
- case SOAPPackage.SOAP_BINDING__TRANSPORT_URI:
- setTransportURI(TRANSPORT_URI_EDEFAULT);
- return;
- case SOAPPackage.SOAP_BINDING__STYLE:
- setStyle(STYLE_EDEFAULT);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_BINDING__DOCUMENTATION_ELEMENT:
- return DOCUMENTATION_ELEMENT_EDEFAULT == null ? documentationElement != null : !DOCUMENTATION_ELEMENT_EDEFAULT.equals(documentationElement);
- case SOAPPackage.SOAP_BINDING__ELEMENT:
- return ELEMENT_EDEFAULT == null ? element != null : !ELEMENT_EDEFAULT.equals(element);
- case SOAPPackage.SOAP_BINDING__REQUIRED:
- return required != REQUIRED_EDEFAULT;
- case SOAPPackage.SOAP_BINDING__ELEMENT_TYPE:
- return ELEMENT_TYPE_EDEFAULT == null ? elementType != null : !ELEMENT_TYPE_EDEFAULT.equals(elementType);
- case SOAPPackage.SOAP_BINDING__TRANSPORT_URI:
- return TRANSPORT_URI_EDEFAULT == null ? transportURI != null : !TRANSPORT_URI_EDEFAULT.equals(transportURI);
- case SOAPPackage.SOAP_BINDING__STYLE:
- return STYLE_EDEFAULT == null ? style != null : !STYLE_EDEFAULT.equals(style);
- }
- return eDynamicIsSet(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (transportURI: ");
- result.append(transportURI);
- result.append(", style: ");
- result.append(style);
- result.append(')');
- return result.toString();
- }
-
- //
- // Reconcile methods
- //
-
- public void reconcileAttributes(Element changedElement)
- {
- setStyle
- (SOAPConstants.getAttribute(changedElement, SOAPConstants.STYLE_ATTRIBUTE));
- setTransportURI
- (SOAPConstants.getAttribute(changedElement, SOAPConstants.TRANSPORT_ATTRIBUTE));
- reconcileReferences(false);
- }
-
- //
- // For reconciliation: Model -> DOM
- //
-
- protected void changeAttribute(EAttribute eAttribute)
- {
- if (isReconciling)
- return;
-
- super.changeAttribute(eAttribute);
- Element theElement = getElement();
- if (theElement != null)
- {
- if (eAttribute == null || eAttribute == SOAPPackage.eINSTANCE.getSOAPBinding_Style())
- niceSetAttribute(theElement,SOAPConstants.STYLE_ATTRIBUTE,getStyle());
- if (eAttribute == null || eAttribute == SOAPPackage.eINSTANCE.getSOAPBinding_TransportURI())
- niceSetAttribute(theElement,SOAPConstants.TRANSPORT_ATTRIBUTE,getTransportURI());
- }
- }
-
- public QName getElementType()
- {
- if (elementType == null)
- elementType = new QName(SOAPConstants.SOAP_NAMESPACE_URI, SOAPConstants.BINDING_ELEMENT_TAG);
- return elementType;
- }
-} //SOAPBindingImpl
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPFactoryImpl.java b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPFactoryImpl.java
deleted file mode 100644
index e204e9d06..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPFactoryImpl.java
+++ /dev/null
@@ -1,229 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.soap.internal.impl;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EDataType;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.impl.EFactoryImpl;
-import org.eclipse.wst.wsdl.binding.soap.SOAPAddress;
-import org.eclipse.wst.wsdl.binding.soap.SOAPBinding;
-import org.eclipse.wst.wsdl.binding.soap.SOAPBody;
-import org.eclipse.wst.wsdl.binding.soap.SOAPFactory;
-import org.eclipse.wst.wsdl.binding.soap.SOAPFault;
-import org.eclipse.wst.wsdl.binding.soap.SOAPHeader;
-import org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase;
-import org.eclipse.wst.wsdl.binding.soap.SOAPHeaderFault;
-import org.eclipse.wst.wsdl.binding.soap.SOAPOperation;
-import org.eclipse.wst.wsdl.binding.soap.SOAPPackage;
-
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Factory</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class SOAPFactoryImpl extends EFactoryImpl implements SOAPFactory {
- /**
- * Creates and instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public SOAPFactoryImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject create(EClass eClass)
- {
- switch (eClass.getClassifierID())
- {
- case SOAPPackage.SOAP_BINDING: return createSOAPBinding();
- case SOAPPackage.SOAP_BODY: return createSOAPBody();
- case SOAPPackage.SOAP_HEADER_BASE: return createSOAPHeaderBase();
- case SOAPPackage.SOAP_FAULT: return createSOAPFault();
- case SOAPPackage.SOAP_OPERATION: return createSOAPOperation();
- case SOAPPackage.SOAP_ADDRESS: return createSOAPAddress();
- case SOAPPackage.SOAP_HEADER_FAULT: return createSOAPHeaderFault();
- case SOAPPackage.SOAP_HEADER: return createSOAPHeader();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object createFromString(EDataType eDataType, String initialValue)
- {
- switch (eDataType.getClassifierID())
- {
- case SOAPPackage.ISTRING:
- return createIStringFromString(eDataType, initialValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String convertToString(EDataType eDataType, Object instanceValue)
- {
- switch (eDataType.getClassifierID())
- {
- case SOAPPackage.ISTRING:
- return convertIStringToString(eDataType, instanceValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public SOAPBinding createSOAPBinding()
- {
- SOAPBindingImpl soapBinding = new SOAPBindingImpl();
- return soapBinding;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public SOAPBody createSOAPBody()
- {
- SOAPBodyImpl soapBody = new SOAPBodyImpl();
- return soapBody;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public SOAPHeaderBase createSOAPHeaderBase()
- {
- SOAPHeaderBaseImpl soapHeaderBase = new SOAPHeaderBaseImpl();
- return soapHeaderBase;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public SOAPFault createSOAPFault()
- {
- SOAPFaultImpl soapFault = new SOAPFaultImpl();
- return soapFault;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public SOAPOperation createSOAPOperation()
- {
- SOAPOperationImpl soapOperation = new SOAPOperationImpl();
- return soapOperation;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public SOAPAddress createSOAPAddress()
- {
- SOAPAddressImpl soapAddress = new SOAPAddressImpl();
- return soapAddress;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public SOAPHeaderFault createSOAPHeaderFault()
- {
- SOAPHeaderFaultImpl soapHeaderFault = new SOAPHeaderFaultImpl();
- return soapHeaderFault;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public SOAPHeader createSOAPHeader()
- {
- SOAPHeaderImpl soapHeader = new SOAPHeaderImpl();
- return soapHeader;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String createIStringFromString(EDataType eDataType, String initialValue)
- {
- return (String)super.createFromString(eDataType, initialValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String convertIStringToString(EDataType eDataType, Object instanceValue)
- {
- return super.convertToString(eDataType, instanceValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public SOAPPackage getSOAPPackage()
- {
- return (SOAPPackage)getEPackage();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @deprecated
- * @generated
- */
- public static SOAPPackage getPackage()
- {
- return SOAPPackage.eINSTANCE;
- }
-} //SOAPFactoryImpl
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPFaultImpl.java b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPFaultImpl.java
deleted file mode 100644
index 07809ad6d..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPFaultImpl.java
+++ /dev/null
@@ -1,406 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.soap.internal.impl;
-
-
-import java.util.Collection;
-import java.util.Iterator;
-import java.util.List;
-
-import javax.xml.namespace.QName;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.util.EDataTypeUniqueEList;
-import org.eclipse.wst.wsdl.binding.soap.SOAPFault;
-import org.eclipse.wst.wsdl.binding.soap.SOAPPackage;
-import org.eclipse.wst.wsdl.binding.soap.internal.util.SOAPConstants;
-import org.eclipse.wst.wsdl.internal.impl.ExtensibilityElementImpl;
-import org.w3c.dom.Element;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Fault</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPFaultImpl#getUse <em>Use</em>}</li>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPFaultImpl#getNamespaceURI <em>Namespace URI</em>}</li>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPFaultImpl#getEncodingStyles <em>Encoding Styles</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class SOAPFaultImpl extends ExtensibilityElementImpl implements SOAPFault {
- /**
- * This class is not intended to be serialized.
- * serialVersionUID is assigned with 1L to avoid
- * compiler warning messages.
- */
- private static final long serialVersionUID = 1L;
-
- /**
- * The default value of the '{@link #getUse() <em>Use</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getUse()
- * @generated
- * @ordered
- */
- protected static final String USE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getUse() <em>Use</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getUse()
- * @generated
- * @ordered
- */
- protected String use = USE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getNamespaceURI() <em>Namespace URI</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getNamespaceURI()
- * @generated
- * @ordered
- */
- protected static final String NAMESPACE_URI_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getNamespaceURI() <em>Namespace URI</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getNamespaceURI()
- * @generated
- * @ordered
- */
- protected String namespaceURI = NAMESPACE_URI_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getEncodingStyles() <em>Encoding Styles</em>}' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEncodingStyles()
- * @generated
- * @ordered
- */
- protected EList encodingStyles = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected SOAPFaultImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass()
- {
- return SOAPPackage.eINSTANCE.getSOAPFault();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getUse()
- {
- return use;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setUse(String newUse)
- {
- String oldUse = use;
- use = newUse;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, SOAPPackage.SOAP_FAULT__USE, oldUse, use));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getNamespaceURI()
- {
- return namespaceURI;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setNamespaceURI(String newNamespaceURI)
- {
- String oldNamespaceURI = namespaceURI;
- namespaceURI = newNamespaceURI;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, SOAPPackage.SOAP_FAULT__NAMESPACE_URI, oldNamespaceURI, namespaceURI));
- }
-
-private String name;
-public String getName()
-{
- return name;
-}
-
-public void setName(String name)
-{
- this.name = name;
-}
-
-public void setEncodingStyles(List list)
-{
- encodingStyles = (EList)list;
-}
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public List getEncodingStyles()
- {
- if (encodingStyles == null)
- {
- encodingStyles = new EDataTypeUniqueEList(String.class, this, SOAPPackage.SOAP_FAULT__ENCODING_STYLES);
- }
- return encodingStyles;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_FAULT__DOCUMENTATION_ELEMENT:
- return getDocumentationElement();
- case SOAPPackage.SOAP_FAULT__ELEMENT:
- return getElement();
- case SOAPPackage.SOAP_FAULT__REQUIRED:
- return isRequired() ? Boolean.TRUE : Boolean.FALSE;
- case SOAPPackage.SOAP_FAULT__ELEMENT_TYPE:
- return getElementType();
- case SOAPPackage.SOAP_FAULT__USE:
- return getUse();
- case SOAPPackage.SOAP_FAULT__NAMESPACE_URI:
- return getNamespaceURI();
- case SOAPPackage.SOAP_FAULT__ENCODING_STYLES:
- return getEncodingStyles();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_FAULT__DOCUMENTATION_ELEMENT:
- setDocumentationElement((Element)newValue);
- return;
- case SOAPPackage.SOAP_FAULT__ELEMENT:
- setElement((Element)newValue);
- return;
- case SOAPPackage.SOAP_FAULT__REQUIRED:
- setRequired(((Boolean)newValue).booleanValue());
- return;
- case SOAPPackage.SOAP_FAULT__ELEMENT_TYPE:
- setElementType((QName)newValue);
- return;
- case SOAPPackage.SOAP_FAULT__USE:
- setUse((String)newValue);
- return;
- case SOAPPackage.SOAP_FAULT__NAMESPACE_URI:
- setNamespaceURI((String)newValue);
- return;
- case SOAPPackage.SOAP_FAULT__ENCODING_STYLES:
- getEncodingStyles().clear();
- getEncodingStyles().addAll((Collection)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_FAULT__DOCUMENTATION_ELEMENT:
- setDocumentationElement(DOCUMENTATION_ELEMENT_EDEFAULT);
- return;
- case SOAPPackage.SOAP_FAULT__ELEMENT:
- setElement(ELEMENT_EDEFAULT);
- return;
- case SOAPPackage.SOAP_FAULT__REQUIRED:
- setRequired(REQUIRED_EDEFAULT);
- return;
- case SOAPPackage.SOAP_FAULT__ELEMENT_TYPE:
- setElementType(ELEMENT_TYPE_EDEFAULT);
- return;
- case SOAPPackage.SOAP_FAULT__USE:
- setUse(USE_EDEFAULT);
- return;
- case SOAPPackage.SOAP_FAULT__NAMESPACE_URI:
- setNamespaceURI(NAMESPACE_URI_EDEFAULT);
- return;
- case SOAPPackage.SOAP_FAULT__ENCODING_STYLES:
- getEncodingStyles().clear();
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_FAULT__DOCUMENTATION_ELEMENT:
- return DOCUMENTATION_ELEMENT_EDEFAULT == null ? documentationElement != null : !DOCUMENTATION_ELEMENT_EDEFAULT.equals(documentationElement);
- case SOAPPackage.SOAP_FAULT__ELEMENT:
- return ELEMENT_EDEFAULT == null ? element != null : !ELEMENT_EDEFAULT.equals(element);
- case SOAPPackage.SOAP_FAULT__REQUIRED:
- return required != REQUIRED_EDEFAULT;
- case SOAPPackage.SOAP_FAULT__ELEMENT_TYPE:
- return ELEMENT_TYPE_EDEFAULT == null ? elementType != null : !ELEMENT_TYPE_EDEFAULT.equals(elementType);
- case SOAPPackage.SOAP_FAULT__USE:
- return USE_EDEFAULT == null ? use != null : !USE_EDEFAULT.equals(use);
- case SOAPPackage.SOAP_FAULT__NAMESPACE_URI:
- return NAMESPACE_URI_EDEFAULT == null ? namespaceURI != null : !NAMESPACE_URI_EDEFAULT.equals(namespaceURI);
- case SOAPPackage.SOAP_FAULT__ENCODING_STYLES:
- return encodingStyles != null && !encodingStyles.isEmpty();
- }
- return eDynamicIsSet(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (use: ");
- result.append(use);
- result.append(", namespaceURI: ");
- result.append(namespaceURI);
- result.append(", encodingStyles: ");
- result.append(encodingStyles);
- result.append(')');
- return result.toString();
- }
-
- //
- // Reconcile methods: DOM -> Model
- //
-
- public void reconcileAttributes(Element changedElement)
- {
- setName
- (SOAPConstants.getAttribute(changedElement, SOAPConstants.NAME_ATTRIBUTE));
- setNamespaceURI
- (SOAPConstants.getAttribute(changedElement, SOAPConstants.NAMESPACE_URI_ATTRIBUTE));
- setUse
- (SOAPConstants.getAttribute(changedElement, SOAPConstants.USE_ATTRIBUTE));
-
- // TBD - handle encodingStyles
-
- reconcileReferences(false);
- }
-
- //
- // For reconciliation: Model -> DOM
- //
-
- protected void changeAttribute(EAttribute eAttribute)
- {
- if (isReconciling)
- return;
-
- super.changeAttribute(eAttribute);
- Element theElement = getElement();
- if (theElement != null)
- {
- if (eAttribute == null || eAttribute == SOAPPackage.eINSTANCE.getSOAPFault_NamespaceURI())
- niceSetAttribute(theElement,SOAPConstants.NAMESPACE_ATTRIBUTE,getNamespaceURI());
- if (eAttribute == null || eAttribute == SOAPPackage.eINSTANCE.getSOAPFault_Use())
- niceSetAttribute(theElement,SOAPConstants.USE_ATTRIBUTE,getUse());
- if (eAttribute == null || eAttribute == SOAPPackage.eINSTANCE.getSOAPFault_EncodingStyles())
- {
- List encodingStyleList = getEncodingStyles();
- String encodingStyles = "";
- Iterator iterator = encodingStyleList.iterator();
- while (iterator.hasNext())
- {
- if (encodingStyles.equals("")) // first iteration
- encodingStyles += (String)iterator.next();
- else
- encodingStyles += " " + (String)iterator.next();
- }
- if (!encodingStyles.equals(""))
- niceSetAttribute(theElement,SOAPConstants.ENCODING_STYLE_ATTRIBUTE,encodingStyles);
- } // TBD - Is this the proper way to handle encodingStyles
- if (getName() != null)
- niceSetAttribute(theElement,SOAPConstants.NAME_ATTRIBUTE,getName()); // Revisit Rose model
- }
- }
-
- public QName getElementType()
- {
- if (elementType == null)
- elementType = new QName(SOAPConstants.SOAP_NAMESPACE_URI, SOAPConstants.FAULT_ELEMENT_TAG);
- return elementType;
- }
-
-} //SOAPFaultImpl
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPHeaderBaseImpl.java b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPHeaderBaseImpl.java
deleted file mode 100644
index 3ccc3a2dc..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPHeaderBaseImpl.java
+++ /dev/null
@@ -1,564 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.soap.internal.impl;
-
-import java.util.Collection;
-import java.util.Iterator;
-import java.util.List;
-import com.ibm.icu.util.StringTokenizer;
-
-import javax.xml.namespace.QName;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.util.EDataTypeUniqueEList;
-import org.eclipse.wst.wsdl.Definition;
-import org.eclipse.wst.wsdl.Message;
-import org.eclipse.wst.wsdl.Part;
-import org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase;
-import org.eclipse.wst.wsdl.binding.soap.SOAPPackage;
-import org.eclipse.wst.wsdl.binding.soap.internal.util.SOAPConstants;
-import org.eclipse.wst.wsdl.internal.impl.ExtensibilityElementImpl;
-import org.w3c.dom.Element;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Header Base</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPHeaderBaseImpl#getUse <em>Use</em>}</li>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPHeaderBaseImpl#getNamespaceURI <em>Namespace URI</em>}</li>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPHeaderBaseImpl#getEncodingStyles <em>Encoding Styles</em>}</li>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPHeaderBaseImpl#getMessage <em>Message</em>}</li>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPHeaderBaseImpl#getPart <em>Part</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class SOAPHeaderBaseImpl extends ExtensibilityElementImpl implements SOAPHeaderBase {
- /**
- * The default value of the '{@link #getUse() <em>Use</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getUse()
- * @generated
- * @ordered
- */
- protected static final String USE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getUse() <em>Use</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getUse()
- * @generated
- * @ordered
- */
- protected String use = USE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getNamespaceURI() <em>Namespace URI</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getNamespaceURI()
- * @generated
- * @ordered
- */
- protected static final String NAMESPACE_URI_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getNamespaceURI() <em>Namespace URI</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getNamespaceURI()
- * @generated
- * @ordered
- */
- protected String namespaceURI = NAMESPACE_URI_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getEncodingStyles() <em>Encoding Styles</em>}' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEncodingStyles()
- * @generated
- * @ordered
- */
- protected EList encodingStyles = null;
-
- /**
- * The cached value of the '{@link #getMessage() <em>Message</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMessage()
- * @generated
- * @ordered
- */
- protected Message message = null;
-
- /**
- * The cached value of the '{@link #getPart() <em>Part</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPart()
- * @generated
- * @ordered
- */
- protected Part part = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected SOAPHeaderBaseImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass()
- {
- return SOAPPackage.eINSTANCE.getSOAPHeaderBase();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getUse()
- {
- return use;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setUse(String newUse)
- {
- String oldUse = use;
- use = newUse;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, SOAPPackage.SOAP_HEADER_BASE__USE, oldUse, use));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getNamespaceURI()
- {
- return namespaceURI;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setNamespaceURI(String newNamespaceURI)
- {
- String oldNamespaceURI = namespaceURI;
- namespaceURI = newNamespaceURI;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, SOAPPackage.SOAP_HEADER_BASE__NAMESPACE_URI, oldNamespaceURI, namespaceURI));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList getEncodingStyles()
- {
- if (encodingStyles == null)
- {
- encodingStyles = new EDataTypeUniqueEList(String.class, this, SOAPPackage.SOAP_HEADER_BASE__ENCODING_STYLES);
- }
- return encodingStyles;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Message getMessage()
- {
- if (message != null && message.eIsProxy())
- {
- Message oldMessage = message;
- message = (Message)eResolveProxy((InternalEObject)message);
- if (message != oldMessage)
- {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, SOAPPackage.SOAP_HEADER_BASE__MESSAGE, oldMessage, message));
- }
- }
- return message;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Message basicGetMessage()
- {
- return message;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setMessage(Message newMessage)
- {
- Message oldMessage = message;
- message = newMessage;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, SOAPPackage.SOAP_HEADER_BASE__MESSAGE, oldMessage, message));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Part getPart()
- {
- if (part != null && part.eIsProxy())
- {
- Part oldPart = part;
- part = (Part)eResolveProxy((InternalEObject)part);
- if (part != oldPart)
- {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, SOAPPackage.SOAP_HEADER_BASE__PART, oldPart, part));
- }
- }
- return part;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Part basicGetPart()
- {
- return part;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setPart(Part newPart)
- {
- Part oldPart = part;
- part = newPart;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, SOAPPackage.SOAP_HEADER_BASE__PART, oldPart, part));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_HEADER_BASE__DOCUMENTATION_ELEMENT:
- return getDocumentationElement();
- case SOAPPackage.SOAP_HEADER_BASE__ELEMENT:
- return getElement();
- case SOAPPackage.SOAP_HEADER_BASE__REQUIRED:
- return isRequired() ? Boolean.TRUE : Boolean.FALSE;
- case SOAPPackage.SOAP_HEADER_BASE__ELEMENT_TYPE:
- return getElementType();
- case SOAPPackage.SOAP_HEADER_BASE__USE:
- return getUse();
- case SOAPPackage.SOAP_HEADER_BASE__NAMESPACE_URI:
- return getNamespaceURI();
- case SOAPPackage.SOAP_HEADER_BASE__ENCODING_STYLES:
- return getEncodingStyles();
- case SOAPPackage.SOAP_HEADER_BASE__MESSAGE:
- if (resolve) return getMessage();
- return basicGetMessage();
- case SOAPPackage.SOAP_HEADER_BASE__PART:
- if (resolve) return getPart();
- return basicGetPart();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_HEADER_BASE__DOCUMENTATION_ELEMENT:
- setDocumentationElement((Element)newValue);
- return;
- case SOAPPackage.SOAP_HEADER_BASE__ELEMENT:
- setElement((Element)newValue);
- return;
- case SOAPPackage.SOAP_HEADER_BASE__REQUIRED:
- setRequired(((Boolean)newValue).booleanValue());
- return;
- case SOAPPackage.SOAP_HEADER_BASE__ELEMENT_TYPE:
- setElementType((QName)newValue);
- return;
- case SOAPPackage.SOAP_HEADER_BASE__USE:
- setUse((String)newValue);
- return;
- case SOAPPackage.SOAP_HEADER_BASE__NAMESPACE_URI:
- setNamespaceURI((String)newValue);
- return;
- case SOAPPackage.SOAP_HEADER_BASE__ENCODING_STYLES:
- getEncodingStyles().clear();
- getEncodingStyles().addAll((Collection)newValue);
- return;
- case SOAPPackage.SOAP_HEADER_BASE__MESSAGE:
- setMessage((Message)newValue);
- return;
- case SOAPPackage.SOAP_HEADER_BASE__PART:
- setPart((Part)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_HEADER_BASE__DOCUMENTATION_ELEMENT:
- setDocumentationElement(DOCUMENTATION_ELEMENT_EDEFAULT);
- return;
- case SOAPPackage.SOAP_HEADER_BASE__ELEMENT:
- setElement(ELEMENT_EDEFAULT);
- return;
- case SOAPPackage.SOAP_HEADER_BASE__REQUIRED:
- setRequired(REQUIRED_EDEFAULT);
- return;
- case SOAPPackage.SOAP_HEADER_BASE__ELEMENT_TYPE:
- setElementType(ELEMENT_TYPE_EDEFAULT);
- return;
- case SOAPPackage.SOAP_HEADER_BASE__USE:
- setUse(USE_EDEFAULT);
- return;
- case SOAPPackage.SOAP_HEADER_BASE__NAMESPACE_URI:
- setNamespaceURI(NAMESPACE_URI_EDEFAULT);
- return;
- case SOAPPackage.SOAP_HEADER_BASE__ENCODING_STYLES:
- getEncodingStyles().clear();
- return;
- case SOAPPackage.SOAP_HEADER_BASE__MESSAGE:
- setMessage((Message)null);
- return;
- case SOAPPackage.SOAP_HEADER_BASE__PART:
- setPart((Part)null);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_HEADER_BASE__DOCUMENTATION_ELEMENT:
- return DOCUMENTATION_ELEMENT_EDEFAULT == null ? documentationElement != null : !DOCUMENTATION_ELEMENT_EDEFAULT.equals(documentationElement);
- case SOAPPackage.SOAP_HEADER_BASE__ELEMENT:
- return ELEMENT_EDEFAULT == null ? element != null : !ELEMENT_EDEFAULT.equals(element);
- case SOAPPackage.SOAP_HEADER_BASE__REQUIRED:
- return required != REQUIRED_EDEFAULT;
- case SOAPPackage.SOAP_HEADER_BASE__ELEMENT_TYPE:
- return ELEMENT_TYPE_EDEFAULT == null ? elementType != null : !ELEMENT_TYPE_EDEFAULT.equals(elementType);
- case SOAPPackage.SOAP_HEADER_BASE__USE:
- return USE_EDEFAULT == null ? use != null : !USE_EDEFAULT.equals(use);
- case SOAPPackage.SOAP_HEADER_BASE__NAMESPACE_URI:
- return NAMESPACE_URI_EDEFAULT == null ? namespaceURI != null : !NAMESPACE_URI_EDEFAULT.equals(namespaceURI);
- case SOAPPackage.SOAP_HEADER_BASE__ENCODING_STYLES:
- return encodingStyles != null && !encodingStyles.isEmpty();
- case SOAPPackage.SOAP_HEADER_BASE__MESSAGE:
- return message != null;
- case SOAPPackage.SOAP_HEADER_BASE__PART:
- return part != null;
- }
- return eDynamicIsSet(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (use: ");
- result.append(use);
- result.append(", namespaceURI: ");
- result.append(namespaceURI);
- result.append(", encodingStyles: ");
- result.append(encodingStyles);
- result.append(')');
- return result.toString();
- }
-
- //
- // Reconcile methods: DOM -> Model
- //
-
- public void reconcileAttributes(Element changedElement)
- {
- if (changedElement.hasAttribute(SOAPConstants.USE_ATTRIBUTE))
- setUse(changedElement.getAttribute(SOAPConstants.USE_ATTRIBUTE));
- if (changedElement.hasAttribute(SOAPConstants.NAMESPACE_ATTRIBUTE))
- setNamespaceURI(changedElement.getAttribute(SOAPConstants.NAMESPACE_ATTRIBUTE));
- if (changedElement.hasAttribute(SOAPConstants.ENCODING_STYLE_ATTRIBUTE))
- {
- String encodingStyles = changedElement.getAttribute(SOAPConstants.ENCODING_STYLE_ATTRIBUTE);
- StringTokenizer tokenizer = new StringTokenizer(encodingStyles);
- while (tokenizer.hasMoreTokens())
- getEncodingStyles().add(tokenizer.nextToken());
- }
-
- reconcileReferences(false);
- }
-
- public void reconcileReferences(boolean deep)
- {
- if (element != null && element.hasAttribute(SOAPConstants.MESSAGE_ATTRIBUTE))
- {
- Definition definition = getEnclosingDefinition();
- QName messageQName = createQName(definition, element.getAttribute(SOAPConstants.MESSAGE_ATTRIBUTE), element);
- Message newMessage = (messageQName != null) ? (Message) definition.getMessage(messageQName) : null;
- if (newMessage != null && newMessage != getMessage())
- setMessage(newMessage);
-
- if (element.hasAttribute(SOAPConstants.PART_ATTRIBUTE))
- {
- String partName = element.getAttribute(SOAPConstants.PART_ATTRIBUTE);
- Part newPart = (newMessage != null) ? (Part) newMessage.getPart(partName) : null;
- if (newPart != null && newPart != getPart())
- setPart(newPart);
- }
- }
- super.reconcileReferences(deep);
- }
-
- //
- // For reconciliation: Model -> DOM
- //
-
- protected void changeAttribute(EAttribute eAttribute)
- {
- if (isReconciling)
- return;
-
- super.changeAttribute(eAttribute);
- Element theElement = getElement();
- if (theElement != null)
- {
- if (eAttribute == null || eAttribute == SOAPPackage.eINSTANCE.getSOAPHeaderBase_Use())
- niceSetAttribute(theElement,SOAPConstants.USE_ATTRIBUTE,getUse());
- if(eAttribute == null || eAttribute == SOAPPackage.eINSTANCE.getSOAPHeaderBase_NamespaceURI())
- niceSetAttribute(theElement,SOAPConstants.NAMESPACE_ATTRIBUTE,getNamespaceURI());
- if (eAttribute == null || eAttribute == SOAPPackage.eINSTANCE.getSOAPHeaderBase_EncodingStyles())
- {
- List encodingStyleList = getEncodingStyles();
- String encodingStyles = "";
- Iterator iterator = encodingStyleList.iterator();
- while (iterator.hasNext())
- {
- if (encodingStyles.equals("")) // first iteration
- encodingStyles += (String)iterator.next();
- else
- encodingStyles += " " + (String)iterator.next();
- }
- if (!encodingStyles.equals(""))
- niceSetAttribute(theElement,SOAPConstants.ENCODING_STYLE_ATTRIBUTE,encodingStyles);
- }
- }
- }
-
- protected void changeReference(EReference eReference)
- {
- if (isReconciling)
- return;
-
- super.changeReference(eReference);
- Element theElement = getElement();
- if (theElement != null)
- {
- if (eReference == null || eReference == SOAPPackage.eINSTANCE.getSOAPHeaderBase_Message())
- {
- Message message = getMessage();
- if (message != null)
- {
- QName qName = message.getQName();
- niceSetAttributeURIValue(theElement, SOAPConstants.MESSAGE_ATTRIBUTE, qName.getNamespaceURI() + "#" + qName.getLocalPart());
- }
- }
-
- if (eReference == null || eReference == SOAPPackage.eINSTANCE.getSOAPHeaderBase_Part())
- {
- Part part = getPart();
- if (part != null)
- {
- String partName = part.getName();
- niceSetAttribute(theElement, SOAPConstants.PART_ATTRIBUTE,partName);
- }
- }
- }
- }
-} //SOAPHeaderBaseImpl
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPHeaderFaultImpl.java b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPHeaderFaultImpl.java
deleted file mode 100644
index 403240079..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPHeaderFaultImpl.java
+++ /dev/null
@@ -1,208 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.soap.internal.impl;
-
-import java.util.Collection;
-
-import javax.xml.namespace.QName;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.wst.wsdl.Message;
-import org.eclipse.wst.wsdl.Part;
-import org.eclipse.wst.wsdl.binding.soap.SOAPHeaderFault;
-import org.eclipse.wst.wsdl.binding.soap.SOAPPackage;
-import org.eclipse.wst.wsdl.binding.soap.internal.util.SOAPConstants;
-import org.w3c.dom.Element;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Header Fault</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * </p>
- *
- * @generated
- */
-public class SOAPHeaderFaultImpl extends SOAPHeaderBaseImpl implements SOAPHeaderFault {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected SOAPHeaderFaultImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass()
- {
- return SOAPPackage.eINSTANCE.getSOAPHeaderFault();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_HEADER_FAULT__DOCUMENTATION_ELEMENT:
- return getDocumentationElement();
- case SOAPPackage.SOAP_HEADER_FAULT__ELEMENT:
- return getElement();
- case SOAPPackage.SOAP_HEADER_FAULT__REQUIRED:
- return isRequired() ? Boolean.TRUE : Boolean.FALSE;
- case SOAPPackage.SOAP_HEADER_FAULT__ELEMENT_TYPE:
- return getElementType();
- case SOAPPackage.SOAP_HEADER_FAULT__USE:
- return getUse();
- case SOAPPackage.SOAP_HEADER_FAULT__NAMESPACE_URI:
- return getNamespaceURI();
- case SOAPPackage.SOAP_HEADER_FAULT__ENCODING_STYLES:
- return getEncodingStyles();
- case SOAPPackage.SOAP_HEADER_FAULT__MESSAGE:
- if (resolve) return getMessage();
- return basicGetMessage();
- case SOAPPackage.SOAP_HEADER_FAULT__PART:
- if (resolve) return getPart();
- return basicGetPart();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_HEADER_FAULT__DOCUMENTATION_ELEMENT:
- setDocumentationElement((Element)newValue);
- return;
- case SOAPPackage.SOAP_HEADER_FAULT__ELEMENT:
- setElement((Element)newValue);
- return;
- case SOAPPackage.SOAP_HEADER_FAULT__REQUIRED:
- setRequired(((Boolean)newValue).booleanValue());
- return;
- case SOAPPackage.SOAP_HEADER_FAULT__ELEMENT_TYPE:
- setElementType((QName)newValue);
- return;
- case SOAPPackage.SOAP_HEADER_FAULT__USE:
- setUse((String)newValue);
- return;
- case SOAPPackage.SOAP_HEADER_FAULT__NAMESPACE_URI:
- setNamespaceURI((String)newValue);
- return;
- case SOAPPackage.SOAP_HEADER_FAULT__ENCODING_STYLES:
- getEncodingStyles().clear();
- getEncodingStyles().addAll((Collection)newValue);
- return;
- case SOAPPackage.SOAP_HEADER_FAULT__MESSAGE:
- setMessage((Message)newValue);
- return;
- case SOAPPackage.SOAP_HEADER_FAULT__PART:
- setPart((Part)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_HEADER_FAULT__DOCUMENTATION_ELEMENT:
- setDocumentationElement(DOCUMENTATION_ELEMENT_EDEFAULT);
- return;
- case SOAPPackage.SOAP_HEADER_FAULT__ELEMENT:
- setElement(ELEMENT_EDEFAULT);
- return;
- case SOAPPackage.SOAP_HEADER_FAULT__REQUIRED:
- setRequired(REQUIRED_EDEFAULT);
- return;
- case SOAPPackage.SOAP_HEADER_FAULT__ELEMENT_TYPE:
- setElementType(ELEMENT_TYPE_EDEFAULT);
- return;
- case SOAPPackage.SOAP_HEADER_FAULT__USE:
- setUse(USE_EDEFAULT);
- return;
- case SOAPPackage.SOAP_HEADER_FAULT__NAMESPACE_URI:
- setNamespaceURI(NAMESPACE_URI_EDEFAULT);
- return;
- case SOAPPackage.SOAP_HEADER_FAULT__ENCODING_STYLES:
- getEncodingStyles().clear();
- return;
- case SOAPPackage.SOAP_HEADER_FAULT__MESSAGE:
- setMessage((Message)null);
- return;
- case SOAPPackage.SOAP_HEADER_FAULT__PART:
- setPart((Part)null);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_HEADER_FAULT__DOCUMENTATION_ELEMENT:
- return DOCUMENTATION_ELEMENT_EDEFAULT == null ? documentationElement != null : !DOCUMENTATION_ELEMENT_EDEFAULT.equals(documentationElement);
- case SOAPPackage.SOAP_HEADER_FAULT__ELEMENT:
- return ELEMENT_EDEFAULT == null ? element != null : !ELEMENT_EDEFAULT.equals(element);
- case SOAPPackage.SOAP_HEADER_FAULT__REQUIRED:
- return required != REQUIRED_EDEFAULT;
- case SOAPPackage.SOAP_HEADER_FAULT__ELEMENT_TYPE:
- return ELEMENT_TYPE_EDEFAULT == null ? elementType != null : !ELEMENT_TYPE_EDEFAULT.equals(elementType);
- case SOAPPackage.SOAP_HEADER_FAULT__USE:
- return USE_EDEFAULT == null ? use != null : !USE_EDEFAULT.equals(use);
- case SOAPPackage.SOAP_HEADER_FAULT__NAMESPACE_URI:
- return NAMESPACE_URI_EDEFAULT == null ? namespaceURI != null : !NAMESPACE_URI_EDEFAULT.equals(namespaceURI);
- case SOAPPackage.SOAP_HEADER_FAULT__ENCODING_STYLES:
- return encodingStyles != null && !encodingStyles.isEmpty();
- case SOAPPackage.SOAP_HEADER_FAULT__MESSAGE:
- return message != null;
- case SOAPPackage.SOAP_HEADER_FAULT__PART:
- return part != null;
- }
- return eDynamicIsSet(eFeature);
- }
-
- public QName getElementType()
- {
- if (elementType == null)
- elementType = new QName(SOAPConstants.SOAP_NAMESPACE_URI, SOAPConstants.HEADER_FAULT_ELEMENT_TAG);
- return elementType;
- }
-
-} //SOAPHeaderFaultImpl
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPHeaderImpl.java b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPHeaderImpl.java
deleted file mode 100644
index da6241437..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPHeaderImpl.java
+++ /dev/null
@@ -1,303 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.soap.internal.impl;
-
-import java.util.Collection;
-import java.util.Iterator;
-
-import javax.xml.namespace.QName;
-
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-import org.eclipse.wst.wsdl.Message;
-import org.eclipse.wst.wsdl.Part;
-import org.eclipse.wst.wsdl.binding.soap.SOAPFactory;
-import org.eclipse.wst.wsdl.binding.soap.SOAPHeader;
-import org.eclipse.wst.wsdl.binding.soap.SOAPHeaderFault;
-import org.eclipse.wst.wsdl.binding.soap.SOAPPackage;
-import org.eclipse.wst.wsdl.binding.soap.internal.util.SOAPConstants;
-import org.w3c.dom.Element;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Header</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPHeaderImpl#getHeaderFaults <em>Header Faults</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class SOAPHeaderImpl extends SOAPHeaderBaseImpl implements SOAPHeader {
- /**
- * The cached value of the '{@link #getHeaderFaults() <em>Header Faults</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getHeaderFaults()
- * @generated
- * @ordered
- */
- protected EList headerFaults = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected SOAPHeaderImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass()
- {
- return SOAPPackage.eINSTANCE.getSOAPHeader();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList getHeaderFaults()
- {
- if (headerFaults == null)
- {
- headerFaults = new EObjectContainmentEList(SOAPHeaderFault.class, this, SOAPPackage.SOAP_HEADER__HEADER_FAULTS);
- }
- return headerFaults;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs)
- {
- if (featureID >= 0)
- {
- switch (eDerivedStructuralFeatureID(featureID, baseClass))
- {
- case SOAPPackage.SOAP_HEADER__HEADER_FAULTS:
- return ((InternalEList)getHeaderFaults()).basicRemove(otherEnd, msgs);
- default:
- return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
- }
- }
- return eBasicSetContainer(null, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_HEADER__DOCUMENTATION_ELEMENT:
- return getDocumentationElement();
- case SOAPPackage.SOAP_HEADER__ELEMENT:
- return getElement();
- case SOAPPackage.SOAP_HEADER__REQUIRED:
- return isRequired() ? Boolean.TRUE : Boolean.FALSE;
- case SOAPPackage.SOAP_HEADER__ELEMENT_TYPE:
- return getElementType();
- case SOAPPackage.SOAP_HEADER__USE:
- return getUse();
- case SOAPPackage.SOAP_HEADER__NAMESPACE_URI:
- return getNamespaceURI();
- case SOAPPackage.SOAP_HEADER__ENCODING_STYLES:
- return getEncodingStyles();
- case SOAPPackage.SOAP_HEADER__MESSAGE:
- if (resolve) return getMessage();
- return basicGetMessage();
- case SOAPPackage.SOAP_HEADER__PART:
- if (resolve) return getPart();
- return basicGetPart();
- case SOAPPackage.SOAP_HEADER__HEADER_FAULTS:
- return getHeaderFaults();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_HEADER__DOCUMENTATION_ELEMENT:
- setDocumentationElement((Element)newValue);
- return;
- case SOAPPackage.SOAP_HEADER__ELEMENT:
- setElement((Element)newValue);
- return;
- case SOAPPackage.SOAP_HEADER__REQUIRED:
- setRequired(((Boolean)newValue).booleanValue());
- return;
- case SOAPPackage.SOAP_HEADER__ELEMENT_TYPE:
- setElementType((QName)newValue);
- return;
- case SOAPPackage.SOAP_HEADER__USE:
- setUse((String)newValue);
- return;
- case SOAPPackage.SOAP_HEADER__NAMESPACE_URI:
- setNamespaceURI((String)newValue);
- return;
- case SOAPPackage.SOAP_HEADER__ENCODING_STYLES:
- getEncodingStyles().clear();
- getEncodingStyles().addAll((Collection)newValue);
- return;
- case SOAPPackage.SOAP_HEADER__MESSAGE:
- setMessage((Message)newValue);
- return;
- case SOAPPackage.SOAP_HEADER__PART:
- setPart((Part)newValue);
- return;
- case SOAPPackage.SOAP_HEADER__HEADER_FAULTS:
- getHeaderFaults().clear();
- getHeaderFaults().addAll((Collection)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_HEADER__DOCUMENTATION_ELEMENT:
- setDocumentationElement(DOCUMENTATION_ELEMENT_EDEFAULT);
- return;
- case SOAPPackage.SOAP_HEADER__ELEMENT:
- setElement(ELEMENT_EDEFAULT);
- return;
- case SOAPPackage.SOAP_HEADER__REQUIRED:
- setRequired(REQUIRED_EDEFAULT);
- return;
- case SOAPPackage.SOAP_HEADER__ELEMENT_TYPE:
- setElementType(ELEMENT_TYPE_EDEFAULT);
- return;
- case SOAPPackage.SOAP_HEADER__USE:
- setUse(USE_EDEFAULT);
- return;
- case SOAPPackage.SOAP_HEADER__NAMESPACE_URI:
- setNamespaceURI(NAMESPACE_URI_EDEFAULT);
- return;
- case SOAPPackage.SOAP_HEADER__ENCODING_STYLES:
- getEncodingStyles().clear();
- return;
- case SOAPPackage.SOAP_HEADER__MESSAGE:
- setMessage((Message)null);
- return;
- case SOAPPackage.SOAP_HEADER__PART:
- setPart((Part)null);
- return;
- case SOAPPackage.SOAP_HEADER__HEADER_FAULTS:
- getHeaderFaults().clear();
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_HEADER__DOCUMENTATION_ELEMENT:
- return DOCUMENTATION_ELEMENT_EDEFAULT == null ? documentationElement != null : !DOCUMENTATION_ELEMENT_EDEFAULT.equals(documentationElement);
- case SOAPPackage.SOAP_HEADER__ELEMENT:
- return ELEMENT_EDEFAULT == null ? element != null : !ELEMENT_EDEFAULT.equals(element);
- case SOAPPackage.SOAP_HEADER__REQUIRED:
- return required != REQUIRED_EDEFAULT;
- case SOAPPackage.SOAP_HEADER__ELEMENT_TYPE:
- return ELEMENT_TYPE_EDEFAULT == null ? elementType != null : !ELEMENT_TYPE_EDEFAULT.equals(elementType);
- case SOAPPackage.SOAP_HEADER__USE:
- return USE_EDEFAULT == null ? use != null : !USE_EDEFAULT.equals(use);
- case SOAPPackage.SOAP_HEADER__NAMESPACE_URI:
- return NAMESPACE_URI_EDEFAULT == null ? namespaceURI != null : !NAMESPACE_URI_EDEFAULT.equals(namespaceURI);
- case SOAPPackage.SOAP_HEADER__ENCODING_STYLES:
- return encodingStyles != null && !encodingStyles.isEmpty();
- case SOAPPackage.SOAP_HEADER__MESSAGE:
- return message != null;
- case SOAPPackage.SOAP_HEADER__PART:
- return part != null;
- case SOAPPackage.SOAP_HEADER__HEADER_FAULTS:
- return headerFaults != null && !headerFaults.isEmpty();
- }
- return eDynamicIsSet(eFeature);
- }
-
- public void handleUnreconciledElement(Element child, Collection remainingModelObjects)
- {
- if (SOAPConstants.HEADER_FAULT_ELEMENT_TAG.equals(child.getLocalName()))
- {
- SOAPHeaderFault fault = SOAPFactory.eINSTANCE.createSOAPHeaderFault();
- fault.setEnclosingDefinition(getEnclosingDefinition());
- fault.setElement(child);
- getHeaderFaults().add(fault);
- }
- }
-
- protected void handleReconciliation(Collection remainingModelObjects)
- {
- for (Iterator i = remainingModelObjects.iterator(); i.hasNext();)
- {
- remove(this, i.next());
- }
- }
-
- protected void remove(Object component, Object modelObject)
- {
- SOAPHeader header = (SOAPHeader) component;
- if (modelObject instanceof SOAPHeaderFault)
- {
- header.getHeaderFaults().remove(modelObject);
- }
- }
-
- public QName getElementType()
- {
- if (elementType == null)
- elementType = new QName(SOAPConstants.SOAP_NAMESPACE_URI, SOAPConstants.HEADER_ELEMENT_TAG);
- return elementType;
- }
-
-} //SOAPHeaderImpl
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPOperationImpl.java b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPOperationImpl.java
deleted file mode 100644
index a94e27611..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPOperationImpl.java
+++ /dev/null
@@ -1,325 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.soap.internal.impl;
-
-
-import javax.xml.namespace.QName;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.wst.wsdl.binding.soap.SOAPOperation;
-import org.eclipse.wst.wsdl.binding.soap.SOAPPackage;
-import org.eclipse.wst.wsdl.binding.soap.internal.util.SOAPConstants;
-import org.eclipse.wst.wsdl.internal.impl.ExtensibilityElementImpl;
-import org.w3c.dom.Element;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Operation</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPOperationImpl#getSoapActionURI <em>Soap Action URI</em>}</li>
- * <li>{@link org.eclipse.wst.wsdl.binding.soap.internal.impl.SOAPOperationImpl#getStyle <em>Style</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class SOAPOperationImpl extends ExtensibilityElementImpl implements SOAPOperation {
- /**
- * This class is not intended to be serialized.
- * serialVersionUID is assigned with 1L to avoid
- * compiler warning messages.
- */
- private static final long serialVersionUID = 1L;
-
- /**
- * The default value of the '{@link #getSoapActionURI() <em>Soap Action URI</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getSoapActionURI()
- * @generated
- * @ordered
- */
- protected static final String SOAP_ACTION_URI_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getSoapActionURI() <em>Soap Action URI</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getSoapActionURI()
- * @generated
- * @ordered
- */
- protected String soapActionURI = SOAP_ACTION_URI_EDEFAULT;
-
- /**
- * The default value of the '{@link #getStyle() <em>Style</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getStyle()
- * @generated
- * @ordered
- */
- protected static final String STYLE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getStyle() <em>Style</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getStyle()
- * @generated
- * @ordered
- */
- protected String style = STYLE_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected SOAPOperationImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass()
- {
- return SOAPPackage.eINSTANCE.getSOAPOperation();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getSoapActionURI()
- {
- return soapActionURI;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setSoapActionURI(String newSoapActionURI)
- {
- String oldSoapActionURI = soapActionURI;
- soapActionURI = newSoapActionURI;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, SOAPPackage.SOAP_OPERATION__SOAP_ACTION_URI, oldSoapActionURI, soapActionURI));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getStyle()
- {
- return style;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setStyle(String newStyle)
- {
- String oldStyle = style;
- style = newStyle;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, SOAPPackage.SOAP_OPERATION__STYLE, oldStyle, style));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_OPERATION__DOCUMENTATION_ELEMENT:
- return getDocumentationElement();
- case SOAPPackage.SOAP_OPERATION__ELEMENT:
- return getElement();
- case SOAPPackage.SOAP_OPERATION__REQUIRED:
- return isRequired() ? Boolean.TRUE : Boolean.FALSE;
- case SOAPPackage.SOAP_OPERATION__ELEMENT_TYPE:
- return getElementType();
- case SOAPPackage.SOAP_OPERATION__SOAP_ACTION_URI:
- return getSoapActionURI();
- case SOAPPackage.SOAP_OPERATION__STYLE:
- return getStyle();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_OPERATION__DOCUMENTATION_ELEMENT:
- setDocumentationElement((Element)newValue);
- return;
- case SOAPPackage.SOAP_OPERATION__ELEMENT:
- setElement((Element)newValue);
- return;
- case SOAPPackage.SOAP_OPERATION__REQUIRED:
- setRequired(((Boolean)newValue).booleanValue());
- return;
- case SOAPPackage.SOAP_OPERATION__ELEMENT_TYPE:
- setElementType((QName)newValue);
- return;
- case SOAPPackage.SOAP_OPERATION__SOAP_ACTION_URI:
- setSoapActionURI((String)newValue);
- return;
- case SOAPPackage.SOAP_OPERATION__STYLE:
- setStyle((String)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_OPERATION__DOCUMENTATION_ELEMENT:
- setDocumentationElement(DOCUMENTATION_ELEMENT_EDEFAULT);
- return;
- case SOAPPackage.SOAP_OPERATION__ELEMENT:
- setElement(ELEMENT_EDEFAULT);
- return;
- case SOAPPackage.SOAP_OPERATION__REQUIRED:
- setRequired(REQUIRED_EDEFAULT);
- return;
- case SOAPPackage.SOAP_OPERATION__ELEMENT_TYPE:
- setElementType(ELEMENT_TYPE_EDEFAULT);
- return;
- case SOAPPackage.SOAP_OPERATION__SOAP_ACTION_URI:
- setSoapActionURI(SOAP_ACTION_URI_EDEFAULT);
- return;
- case SOAPPackage.SOAP_OPERATION__STYLE:
- setStyle(STYLE_EDEFAULT);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature)
- {
- switch (eDerivedStructuralFeatureID(eFeature))
- {
- case SOAPPackage.SOAP_OPERATION__DOCUMENTATION_ELEMENT:
- return DOCUMENTATION_ELEMENT_EDEFAULT == null ? documentationElement != null : !DOCUMENTATION_ELEMENT_EDEFAULT.equals(documentationElement);
- case SOAPPackage.SOAP_OPERATION__ELEMENT:
- return ELEMENT_EDEFAULT == null ? element != null : !ELEMENT_EDEFAULT.equals(element);
- case SOAPPackage.SOAP_OPERATION__REQUIRED:
- return required != REQUIRED_EDEFAULT;
- case SOAPPackage.SOAP_OPERATION__ELEMENT_TYPE:
- return ELEMENT_TYPE_EDEFAULT == null ? elementType != null : !ELEMENT_TYPE_EDEFAULT.equals(elementType);
- case SOAPPackage.SOAP_OPERATION__SOAP_ACTION_URI:
- return SOAP_ACTION_URI_EDEFAULT == null ? soapActionURI != null : !SOAP_ACTION_URI_EDEFAULT.equals(soapActionURI);
- case SOAPPackage.SOAP_OPERATION__STYLE:
- return STYLE_EDEFAULT == null ? style != null : !STYLE_EDEFAULT.equals(style);
- }
- return eDynamicIsSet(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (soapActionURI: ");
- result.append(soapActionURI);
- result.append(", style: ");
- result.append(style);
- result.append(')');
- return result.toString();
- }
-
- //
- // Reconcile methods: DOM -> Model
- //
-
- public void reconcileAttributes(Element changedElement)
- {
- setSoapActionURI
- (SOAPConstants.getAttribute(changedElement, SOAPConstants.SOAP_ACTION_ATTRIBUTE));
- setStyle
- (SOAPConstants.getAttribute(changedElement, SOAPConstants.STYLE_ATTRIBUTE));
- reconcileReferences(false);
- }
-
- //
- // For reconciliation: Model -> DOM
- //
-
- protected void changeAttribute(EAttribute eAttribute)
- {
- if (isReconciling)
- return;
-
- super.changeAttribute(eAttribute);
- Element theElement = getElement();
- if (theElement != null)
- {
- if (eAttribute == null || eAttribute == SOAPPackage.eINSTANCE.getSOAPOperation_SoapActionURI())
- niceSetAttribute(theElement,SOAPConstants.SOAP_ACTION_ATTRIBUTE,getSoapActionURI());
- if (eAttribute == null || eAttribute == SOAPPackage.eINSTANCE.getSOAPOperation_Style())
- niceSetAttribute(theElement,SOAPConstants.STYLE_ATTRIBUTE,getStyle());
- }
- }
-
- public QName getElementType()
- {
- if (elementType == null)
- elementType = new QName(SOAPConstants.SOAP_NAMESPACE_URI, SOAPConstants.OPERATION_ELEMENT_TAG);
- return elementType;
- }
-
-} //SOAPOperationImpl
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPPackageImpl.java b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPPackageImpl.java
deleted file mode 100644
index 8e1d126f8..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPPackageImpl.java
+++ /dev/null
@@ -1,594 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.soap.internal.impl;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EDataType;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.impl.EPackageImpl;
-import org.eclipse.wst.wsdl.WSDLPackage;
-import org.eclipse.wst.wsdl.binding.soap.SOAPAddress;
-import org.eclipse.wst.wsdl.binding.soap.SOAPBinding;
-import org.eclipse.wst.wsdl.binding.soap.SOAPBody;
-import org.eclipse.wst.wsdl.binding.soap.SOAPFactory;
-import org.eclipse.wst.wsdl.binding.soap.SOAPFault;
-import org.eclipse.wst.wsdl.binding.soap.SOAPHeader;
-import org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase;
-import org.eclipse.wst.wsdl.binding.soap.SOAPHeaderFault;
-import org.eclipse.wst.wsdl.binding.soap.SOAPOperation;
-import org.eclipse.wst.wsdl.binding.soap.SOAPPackage;
-import org.eclipse.wst.wsdl.internal.impl.WSDLPackageImpl;
-import org.eclipse.xsd.impl.XSDPackageImpl;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Package</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class SOAPPackageImpl extends EPackageImpl implements SOAPPackage {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass soapBindingEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass soapBodyEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass soapHeaderBaseEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass soapFaultEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass soapOperationEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass soapAddressEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass soapHeaderFaultEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass soapHeaderEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EDataType iStringEDataType = null;
-
- /**
- * Creates an instance of the model <b>Package</b>, registered with
- * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
- * package URI value.
- * <p>Note: the correct way to create the package is via the static
- * factory method {@link #init init()}, which also performs
- * initialization of the package, or returns the registered package,
- * if one already exists.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.ecore.EPackage.Registry
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPPackage#eNS_URI
- * @see #init()
- * @generated
- */
- private SOAPPackageImpl()
- {
- super(eNS_URI, SOAPFactory.eINSTANCE);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private static boolean isInited = false;
-
- /**
- * Creates, registers, and initializes the <b>Package</b> for this
- * model, and for any others upon which it depends. Simple
- * dependencies are satisfied by calling this method on all
- * dependent packages before doing anything else. This method drives
- * initialization for interdependent packages directly, in parallel
- * with this package, itself.
- * <p>Of this package and its interdependencies, all packages which
- * have not yet been registered by their URI values are first created
- * and registered. The packages are then initialized in two steps:
- * meta-model objects for all of the packages are created before any
- * are initialized, since one package's meta-model objects may refer to
- * those of another.
- * <p>Invocation of this method will not affect any packages that have
- * already been initialized.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #eNS_URI
- * @see #createPackageContents()
- * @see #initializePackageContents()
- * @generated
- */
- public static SOAPPackage init()
- {
- if (isInited) return (SOAPPackage)EPackage.Registry.INSTANCE.get(SOAPPackage.eNS_URI);
-
- // Obtain or create and register package.
- SOAPPackageImpl theSOAPPackage = (SOAPPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof EPackage ? EPackage.Registry.INSTANCE.get(eNS_URI) : new SOAPPackageImpl());
-
- isInited = true;
-
- // Initialize simple dependencies
- XSDPackageImpl.init();
-
- // Obtain or create and register interdependencies
- WSDLPackageImpl theWSDLPackage = (WSDLPackageImpl)(EPackage.Registry.INSTANCE.get(WSDLPackage.eNS_URI) instanceof EPackage ? EPackage.Registry.INSTANCE.get(WSDLPackage.eNS_URI) : WSDLPackageImpl.eINSTANCE);
-
- // Step 1: create meta-model objects
- theSOAPPackage.createPackageContents();
- theWSDLPackage.createPackageContents();
-
- // Step 2: complete initialization
- theSOAPPackage.initializePackageContents();
- theWSDLPackage.initializePackageContents();
-
- return theSOAPPackage;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getSOAPBinding()
- {
- return soapBindingEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getSOAPBinding_TransportURI()
- {
- return (EAttribute)soapBindingEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getSOAPBinding_Style()
- {
- return (EAttribute)soapBindingEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getSOAPBody()
- {
- return soapBodyEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getSOAPBody_Use()
- {
- return (EAttribute)soapBodyEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getSOAPBody_NamespaceURI()
- {
- return (EAttribute)soapBodyEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getSOAPBody_EncodingStyles()
- {
- return (EAttribute)soapBodyEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getSOAPBody_Parts()
- {
- return (EReference)soapBodyEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getSOAPHeaderBase()
- {
- return soapHeaderBaseEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getSOAPHeaderBase_Use()
- {
- return (EAttribute)soapHeaderBaseEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getSOAPHeaderBase_NamespaceURI()
- {
- return (EAttribute)soapHeaderBaseEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getSOAPHeaderBase_EncodingStyles()
- {
- return (EAttribute)soapHeaderBaseEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getSOAPHeaderBase_Message()
- {
- return (EReference)soapHeaderBaseEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getSOAPHeaderBase_Part()
- {
- return (EReference)soapHeaderBaseEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getSOAPFault()
- {
- return soapFaultEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getSOAPFault_Use()
- {
- return (EAttribute)soapFaultEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getSOAPFault_NamespaceURI()
- {
- return (EAttribute)soapFaultEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getSOAPFault_EncodingStyles()
- {
- return (EAttribute)soapFaultEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getSOAPOperation()
- {
- return soapOperationEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getSOAPOperation_SoapActionURI()
- {
- return (EAttribute)soapOperationEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getSOAPOperation_Style()
- {
- return (EAttribute)soapOperationEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getSOAPAddress()
- {
- return soapAddressEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getSOAPAddress_LocationURI()
- {
- return (EAttribute)soapAddressEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getSOAPHeaderFault()
- {
- return soapHeaderFaultEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getSOAPHeader()
- {
- return soapHeaderEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getSOAPHeader_HeaderFaults()
- {
- return (EReference)soapHeaderEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EDataType getIString()
- {
- return iStringEDataType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public SOAPFactory getSOAPFactory()
- {
- return (SOAPFactory)getEFactoryInstance();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private boolean isCreated = false;
-
- /**
- * Creates the meta-model objects for the package. This method is
- * guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void createPackageContents()
- {
- if (isCreated) return;
- isCreated = true;
-
- // Create classes and their features
- soapBindingEClass = createEClass(SOAP_BINDING);
- createEAttribute(soapBindingEClass, SOAP_BINDING__TRANSPORT_URI);
- createEAttribute(soapBindingEClass, SOAP_BINDING__STYLE);
-
- soapBodyEClass = createEClass(SOAP_BODY);
- createEAttribute(soapBodyEClass, SOAP_BODY__USE);
- createEAttribute(soapBodyEClass, SOAP_BODY__NAMESPACE_URI);
- createEAttribute(soapBodyEClass, SOAP_BODY__ENCODING_STYLES);
- createEReference(soapBodyEClass, SOAP_BODY__PARTS);
-
- soapHeaderBaseEClass = createEClass(SOAP_HEADER_BASE);
- createEAttribute(soapHeaderBaseEClass, SOAP_HEADER_BASE__USE);
- createEAttribute(soapHeaderBaseEClass, SOAP_HEADER_BASE__NAMESPACE_URI);
- createEAttribute(soapHeaderBaseEClass, SOAP_HEADER_BASE__ENCODING_STYLES);
- createEReference(soapHeaderBaseEClass, SOAP_HEADER_BASE__MESSAGE);
- createEReference(soapHeaderBaseEClass, SOAP_HEADER_BASE__PART);
-
- soapFaultEClass = createEClass(SOAP_FAULT);
- createEAttribute(soapFaultEClass, SOAP_FAULT__USE);
- createEAttribute(soapFaultEClass, SOAP_FAULT__NAMESPACE_URI);
- createEAttribute(soapFaultEClass, SOAP_FAULT__ENCODING_STYLES);
-
- soapOperationEClass = createEClass(SOAP_OPERATION);
- createEAttribute(soapOperationEClass, SOAP_OPERATION__SOAP_ACTION_URI);
- createEAttribute(soapOperationEClass, SOAP_OPERATION__STYLE);
-
- soapAddressEClass = createEClass(SOAP_ADDRESS);
- createEAttribute(soapAddressEClass, SOAP_ADDRESS__LOCATION_URI);
-
- soapHeaderFaultEClass = createEClass(SOAP_HEADER_FAULT);
-
- soapHeaderEClass = createEClass(SOAP_HEADER);
- createEReference(soapHeaderEClass, SOAP_HEADER__HEADER_FAULTS);
-
- // Create data types
- iStringEDataType = createEDataType(ISTRING);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private boolean isInitialized = false;
-
- /**
- * Complete the initialization of the package and its meta-model. This
- * method is guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void initializePackageContents()
- {
- if (isInitialized) return;
- isInitialized = true;
-
- // Initialize package
- setName(eNAME);
- setNsPrefix(eNS_PREFIX);
- setNsURI(eNS_URI);
-
- // Obtain other dependent packages
- WSDLPackageImpl theWSDLPackage = (WSDLPackageImpl)EPackage.Registry.INSTANCE.getEPackage(WSDLPackage.eNS_URI);
-
- // Add supertypes to classes
- soapBindingEClass.getESuperTypes().add(theWSDLPackage.getExtensibilityElement());
- soapBodyEClass.getESuperTypes().add(theWSDLPackage.getExtensibilityElement());
- soapHeaderBaseEClass.getESuperTypes().add(theWSDLPackage.getExtensibilityElement());
- soapFaultEClass.getESuperTypes().add(theWSDLPackage.getExtensibilityElement());
- soapOperationEClass.getESuperTypes().add(theWSDLPackage.getExtensibilityElement());
- soapAddressEClass.getESuperTypes().add(theWSDLPackage.getExtensibilityElement());
- soapHeaderFaultEClass.getESuperTypes().add(this.getSOAPHeaderBase());
- soapHeaderEClass.getESuperTypes().add(this.getSOAPHeaderBase());
-
- // Initialize classes and features; add operations and parameters
- initEClass(soapBindingEClass, SOAPBinding.class, "SOAPBinding", !IS_ABSTRACT, !IS_INTERFACE);
- initEAttribute(getSOAPBinding_TransportURI(), ecorePackage.getEString(), "transportURI", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED);
- initEAttribute(getSOAPBinding_Style(), ecorePackage.getEString(), "style", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED);
-
- initEClass(soapBodyEClass, SOAPBody.class, "SOAPBody", !IS_ABSTRACT, !IS_INTERFACE);
- initEAttribute(getSOAPBody_Use(), ecorePackage.getEString(), "use", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED);
- initEAttribute(getSOAPBody_NamespaceURI(), ecorePackage.getEString(), "namespaceURI", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED);
- initEAttribute(getSOAPBody_EncodingStyles(), this.getIString(), "encodingStyles", null, 0, -1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED);
- initEReference(getSOAPBody_Parts(), theWSDLPackage.getPart(), null, "parts", null, 0, -1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED);
-
- initEClass(soapHeaderBaseEClass, SOAPHeaderBase.class, "SOAPHeaderBase", !IS_ABSTRACT, !IS_INTERFACE);
- initEAttribute(getSOAPHeaderBase_Use(), ecorePackage.getEString(), "use", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED);
- initEAttribute(getSOAPHeaderBase_NamespaceURI(), ecorePackage.getEString(), "namespaceURI", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED);
- initEAttribute(getSOAPHeaderBase_EncodingStyles(), this.getIString(), "encodingStyles", null, 0, -1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED);
- initEReference(getSOAPHeaderBase_Message(), theWSDLPackage.getMessage(), null, "message", null, 1, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED);
- initEReference(getSOAPHeaderBase_Part(), theWSDLPackage.getPart(), null, "part", null, 1, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED);
-
- initEClass(soapFaultEClass, SOAPFault.class, "SOAPFault", !IS_ABSTRACT, !IS_INTERFACE);
- initEAttribute(getSOAPFault_Use(), ecorePackage.getEString(), "use", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED);
- initEAttribute(getSOAPFault_NamespaceURI(), ecorePackage.getEString(), "namespaceURI", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED);
- initEAttribute(getSOAPFault_EncodingStyles(), this.getIString(), "encodingStyles", null, 0, -1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED);
-
- initEClass(soapOperationEClass, SOAPOperation.class, "SOAPOperation", !IS_ABSTRACT, !IS_INTERFACE);
- initEAttribute(getSOAPOperation_SoapActionURI(), ecorePackage.getEString(), "soapActionURI", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED);
- initEAttribute(getSOAPOperation_Style(), ecorePackage.getEString(), "style", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED);
-
- initEClass(soapAddressEClass, SOAPAddress.class, "SOAPAddress", !IS_ABSTRACT, !IS_INTERFACE);
- initEAttribute(getSOAPAddress_LocationURI(), ecorePackage.getEString(), "locationURI", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED);
-
- initEClass(soapHeaderFaultEClass, SOAPHeaderFault.class, "SOAPHeaderFault", !IS_ABSTRACT, !IS_INTERFACE);
-
- initEClass(soapHeaderEClass, SOAPHeader.class, "SOAPHeader", !IS_ABSTRACT, !IS_INTERFACE);
- initEReference(getSOAPHeader_HeaderFaults(), this.getSOAPHeaderFault(), null, "headerFaults", null, 0, -1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED);
-
- // Initialize data types
- initEDataType(iStringEDataType, String.class, "IString", IS_SERIALIZABLE);
-
- // Create resource
- createResource(eNS_URI);
- }
-} //SOAPPackageImpl
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/util/SOAPAdapterFactory.java b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/util/SOAPAdapterFactory.java
deleted file mode 100644
index 2fbe03317..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/util/SOAPAdapterFactory.java
+++ /dev/null
@@ -1,333 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.soap.internal.util;
-
-import javax.wsdl.extensions.ExtensibilityElement;
-
-import org.eclipse.emf.common.notify.Adapter;
-import org.eclipse.emf.common.notify.Notifier;
-import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.binding.soap.SOAPAddress;
-import org.eclipse.wst.wsdl.binding.soap.SOAPBinding;
-import org.eclipse.wst.wsdl.binding.soap.SOAPBody;
-import org.eclipse.wst.wsdl.binding.soap.SOAPFault;
-import org.eclipse.wst.wsdl.binding.soap.SOAPHeader;
-import org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase;
-import org.eclipse.wst.wsdl.binding.soap.SOAPHeaderFault;
-import org.eclipse.wst.wsdl.binding.soap.SOAPOperation;
-import org.eclipse.wst.wsdl.binding.soap.SOAPPackage;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Adapter Factory</b> for the model.
- * It provides an adapter <code>createXXX</code> method for each class of the model.
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPPackage
- * @generated
- */
-public class SOAPAdapterFactory extends AdapterFactoryImpl {
- /**
- * The cached model package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static SOAPPackage modelPackage;
-
- /**
- * Creates an instance of the adapter factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public SOAPAdapterFactory()
- {
- if (modelPackage == null)
- {
- modelPackage = SOAPPackage.eINSTANCE;
- }
- }
-
- /**
- * Returns whether this factory is applicable for the type of the object.
- * <!-- begin-user-doc -->
- * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
- * <!-- end-user-doc -->
- * @return whether this factory is applicable for the type of the object.
- * @generated
- */
- public boolean isFactoryForType(Object object)
- {
- if (object == modelPackage)
- {
- return true;
- }
- if (object instanceof EObject)
- {
- return ((EObject)object).eClass().getEPackage() == modelPackage;
- }
- return false;
- }
-
- /**
- * The switch the delegates to the <code>createXXX</code> methods.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected SOAPSwitch modelSwitch =
- new SOAPSwitch()
- {
- public Object caseSOAPBinding(SOAPBinding object)
- {
- return createSOAPBindingAdapter();
- }
- public Object caseSOAPBody(SOAPBody object)
- {
- return createSOAPBodyAdapter();
- }
- public Object caseSOAPHeaderBase(SOAPHeaderBase object)
- {
- return createSOAPHeaderBaseAdapter();
- }
- public Object caseSOAPFault(SOAPFault object)
- {
- return createSOAPFaultAdapter();
- }
- public Object caseSOAPOperation(SOAPOperation object)
- {
- return createSOAPOperationAdapter();
- }
- public Object caseSOAPAddress(SOAPAddress object)
- {
- return createSOAPAddressAdapter();
- }
- public Object caseSOAPHeaderFault(SOAPHeaderFault object)
- {
- return createSOAPHeaderFaultAdapter();
- }
- public Object caseSOAPHeader(SOAPHeader object)
- {
- return createSOAPHeaderAdapter();
- }
- public Object caseWSDLElement(WSDLElement object)
- {
- return createWSDLElementAdapter();
- }
- public Object caseIExtensibilityElement(ExtensibilityElement object)
- {
- return createIExtensibilityElementAdapter();
- }
- public Object caseExtensibilityElement(org.eclipse.wst.wsdl.ExtensibilityElement object)
- {
- return createExtensibilityElementAdapter();
- }
- public Object defaultCase(EObject object)
- {
- return createEObjectAdapter();
- }
- };
-
- /**
- * Creates an adapter for the <code>target</code>.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param target the object to adapt.
- * @return the adapter for the <code>target</code>.
- * @generated
- */
- public Adapter createAdapter(Notifier target)
- {
- return (Adapter)modelSwitch.doSwitch((EObject)target);
- }
-
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wst.wsdl.binding.soap.SOAPBinding <em>Binding</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPBinding
- * @generated
- */
- public Adapter createSOAPBindingAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wst.wsdl.binding.soap.SOAPBody <em>Body</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPBody
- * @generated
- */
- public Adapter createSOAPBodyAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase <em>Header Base</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase
- * @generated
- */
- public Adapter createSOAPHeaderBaseAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wst.wsdl.binding.soap.SOAPFault <em>Fault</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPFault
- * @generated
- */
- public Adapter createSOAPFaultAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wst.wsdl.binding.soap.SOAPOperation <em>Operation</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPOperation
- * @generated
- */
- public Adapter createSOAPOperationAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wst.wsdl.binding.soap.SOAPAddress <em>Address</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPAddress
- * @generated
- */
- public Adapter createSOAPAddressAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wst.wsdl.binding.soap.SOAPHeaderFault <em>Header Fault</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPHeaderFault
- * @generated
- */
- public Adapter createSOAPHeaderFaultAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wst.wsdl.binding.soap.SOAPHeader <em>Header</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPHeader
- * @generated
- */
- public Adapter createSOAPHeaderAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wst.wsdl.WSDLElement <em>Element</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.WSDLElement
- * @generated
- */
- public Adapter createWSDLElementAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link javax.wsdl.extensions.ExtensibilityElement <em>IExtensibility Element</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see javax.wsdl.extensions.ExtensibilityElement
- * @generated
- */
- public Adapter createIExtensibilityElementAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.wst.wsdl.ExtensibilityElement <em>Extensibility Element</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.wst.wsdl.ExtensibilityElement
- * @generated
- */
- public Adapter createExtensibilityElementAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for the default case.
- * <!-- begin-user-doc -->
- * This default implementation returns null.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @generated
- */
- public Adapter createEObjectAdapter()
- {
- return null;
- }
-
-} //SOAPAdapterFactory
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/util/SOAPConstants.java b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/util/SOAPConstants.java
deleted file mode 100644
index 56f34967d..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/util/SOAPConstants.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.soap.internal.util;
-
-import org.w3c.dom.Element;
-
-public final class SOAPConstants
-{
- public static final String ADDRESS_ELEMENT_TAG = "address";
- public static final String BINDING_ELEMENT_TAG = "binding";
- public static final String BODY_ELEMENT_TAG = "body";
- public static final String FAULT_ELEMENT_TAG = "fault";
- public static final String HEADER_ELEMENT_TAG = "header";
- public static final String HEADER_FAULT_ELEMENT_TAG = "headerfault";
- public static final String OPERATION_ELEMENT_TAG = "operation";
-
- public static final String SOAP_NAMESPACE_URI = "http://schemas.xmlsoap.org/wsdl/soap/";
-
- public static final String SOAP_ACTION_ATTRIBUTE ="soapAction";
- public static final String STYLE_ATTRIBUTE ="style";
- public static final String LOCATION_ATTRIBUTE ="location";
- public static final String TRANSPORT_ATTRIBUTE ="transport";
- public static final String USE_ATTRIBUTE ="use";
- public static final String NAMESPACE_ATTRIBUTE ="namespace";
- public static final String NAMESPACE_URI_ATTRIBUTE ="namespaceURI";
- public static final String NAME_ATTRIBUTE ="name";
- public static final String ENCODING_STYLE_ATTRIBUTE ="encodingStyle";
- public static final String MESSAGE_ATTRIBUTE ="message";
- public static final String PART_ATTRIBUTE ="part";
- public static final String PARTS_ATTRIBUTE ="parts";
-
- public static String getAttribute(Element element, String attributeName)
- {
- return element.hasAttribute(attributeName) ? element.getAttribute(attributeName) : null;
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/util/SOAPExtensibilityElementFactory.java b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/util/SOAPExtensibilityElementFactory.java
deleted file mode 100644
index 0fa3a978f..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/util/SOAPExtensibilityElementFactory.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.soap.internal.util;
-
-import org.eclipse.wst.wsdl.ExtensibilityElement;
-import org.eclipse.wst.wsdl.WSDLFactory;
-import org.eclipse.wst.wsdl.binding.soap.SOAPFactory;
-import org.eclipse.wst.wsdl.util.ExtensibilityElementFactory;
-
-public class SOAPExtensibilityElementFactory implements ExtensibilityElementFactory
-{
- public ExtensibilityElement createExtensibilityElement(String namespace, String localName)
- {
- if (SOAPConstants.SOAP_NAMESPACE_URI.equals(namespace))
- {
- if (SOAPConstants.ADDRESS_ELEMENT_TAG.equals(localName))
- {
- return SOAPFactory.eINSTANCE.createSOAPAddress();
- }
- else if (SOAPConstants.BINDING_ELEMENT_TAG.equals(localName))
- {
- return SOAPFactory.eINSTANCE.createSOAPBinding();
- }
- else if (SOAPConstants.BODY_ELEMENT_TAG.equals(localName))
- {
- return SOAPFactory.eINSTANCE.createSOAPBody();
- }
- else if (SOAPConstants.FAULT_ELEMENT_TAG.equals(localName))
- {
- return SOAPFactory.eINSTANCE.createSOAPFault();
- }
- else if (SOAPConstants.OPERATION_ELEMENT_TAG.equals(localName))
- {
- return SOAPFactory.eINSTANCE.createSOAPOperation();
- }
- else if (SOAPConstants.HEADER_ELEMENT_TAG.equals(localName))
- {
- return SOAPFactory.eINSTANCE.createSOAPHeader();
- }
- else if (SOAPConstants.HEADER_FAULT_ELEMENT_TAG.equals(localName))
- {
- return SOAPFactory.eINSTANCE.createSOAPHeaderFault();
- }
- else
- {
- //System.out.println("Unhandled localName: " + localName);
- return WSDLFactory.eINSTANCE.createUnknownExtensibilityElement();
- }
- }
- else
- {
- //System.out.println("Unhandled namespace: " + namespace);
- return WSDLFactory.eINSTANCE.createUnknownExtensibilityElement();
- }
- }
-}
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/util/SOAPSwitch.java b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/util/SOAPSwitch.java
deleted file mode 100644
index 25ac8bfb2..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/util/SOAPSwitch.java
+++ /dev/null
@@ -1,358 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.wsdl.binding.soap.internal.util;
-
-import javax.wsdl.extensions.ExtensibilityElement;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.wst.wsdl.WSDLElement;
-import org.eclipse.wst.wsdl.binding.soap.SOAPAddress;
-import org.eclipse.wst.wsdl.binding.soap.SOAPBinding;
-import org.eclipse.wst.wsdl.binding.soap.SOAPBody;
-import org.eclipse.wst.wsdl.binding.soap.SOAPFault;
-import org.eclipse.wst.wsdl.binding.soap.SOAPHeader;
-import org.eclipse.wst.wsdl.binding.soap.SOAPHeaderBase;
-import org.eclipse.wst.wsdl.binding.soap.SOAPHeaderFault;
-import org.eclipse.wst.wsdl.binding.soap.SOAPOperation;
-import org.eclipse.wst.wsdl.binding.soap.SOAPPackage;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Switch</b> for the model's inheritance hierarchy.
- * It supports the call {@link #doSwitch doSwitch(object)}
- * to invoke the <code>caseXXX</code> method for each class of the model,
- * starting with the actual class of the object
- * and proceeding up the inheritance hierarchy
- * until a non-null result is returned,
- * which is the result of the switch.
- * <!-- end-user-doc -->
- * @see org.eclipse.wst.wsdl.binding.soap.SOAPPackage
- * @generated
- */
-public class SOAPSwitch {
- /**
- * The cached model package
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static SOAPPackage modelPackage;
-
- /**
- * Creates an instance of the switch.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public SOAPSwitch()
- {
- if (modelPackage == null)
- {
- modelPackage = SOAPPackage.eINSTANCE;
- }
- }
-
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- public Object doSwitch(EObject theEObject)
- {
- EClass theEClass = theEObject.eClass();
- if (theEClass.eContainer() == modelPackage)
- {
- switch (theEClass.getClassifierID())
- {
- case SOAPPackage.SOAP_BINDING:
- {
- SOAPBinding soapBinding = (SOAPBinding)theEObject;
- Object result = caseSOAPBinding(soapBinding);
- if (result == null) result = caseExtensibilityElement(soapBinding);
- if (result == null) result = caseWSDLElement(soapBinding);
- if (result == null) result = caseIExtensibilityElement(soapBinding);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case SOAPPackage.SOAP_BODY:
- {
- SOAPBody soapBody = (SOAPBody)theEObject;
- Object result = caseSOAPBody(soapBody);
- if (result == null) result = caseExtensibilityElement(soapBody);
- if (result == null) result = caseWSDLElement(soapBody);
- if (result == null) result = caseIExtensibilityElement(soapBody);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case SOAPPackage.SOAP_HEADER_BASE:
- {
- SOAPHeaderBase soapHeaderBase = (SOAPHeaderBase)theEObject;
- Object result = caseSOAPHeaderBase(soapHeaderBase);
- if (result == null) result = caseExtensibilityElement(soapHeaderBase);
- if (result == null) result = caseWSDLElement(soapHeaderBase);
- if (result == null) result = caseIExtensibilityElement(soapHeaderBase);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case SOAPPackage.SOAP_FAULT:
- {
- SOAPFault soapFault = (SOAPFault)theEObject;
- Object result = caseSOAPFault(soapFault);
- if (result == null) result = caseExtensibilityElement(soapFault);
- if (result == null) result = caseWSDLElement(soapFault);
- if (result == null) result = caseIExtensibilityElement(soapFault);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case SOAPPackage.SOAP_OPERATION:
- {
- SOAPOperation soapOperation = (SOAPOperation)theEObject;
- Object result = caseSOAPOperation(soapOperation);
- if (result == null) result = caseExtensibilityElement(soapOperation);
- if (result == null) result = caseWSDLElement(soapOperation);
- if (result == null) result = caseIExtensibilityElement(soapOperation);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case SOAPPackage.SOAP_ADDRESS:
- {
- SOAPAddress soapAddress = (SOAPAddress)theEObject;
- Object result = caseSOAPAddress(soapAddress);
- if (result == null) result = caseExtensibilityElement(soapAddress);
- if (result == null) result = caseWSDLElement(soapAddress);
- if (result == null) result = caseIExtensibilityElement(soapAddress);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case SOAPPackage.SOAP_HEADER_FAULT:
- {
- SOAPHeaderFault soapHeaderFault = (SOAPHeaderFault)theEObject;
- Object result = caseSOAPHeaderFault(soapHeaderFault);
- if (result == null) result = caseSOAPHeaderBase(soapHeaderFault);
- if (result == null) result = caseExtensibilityElement(soapHeaderFault);
- if (result == null) result = caseWSDLElement(soapHeaderFault);
- if (result == null) result = caseIExtensibilityElement(soapHeaderFault);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case SOAPPackage.SOAP_HEADER:
- {
- SOAPHeader soapHeader = (SOAPHeader)theEObject;
- Object result = caseSOAPHeader(soapHeader);
- if (result == null) result = caseSOAPHeaderBase(soapHeader);
- if (result == null) result = caseExtensibilityElement(soapHeader);
- if (result == null) result = caseWSDLElement(soapHeader);
- if (result == null) result = caseIExtensibilityElement(soapHeader);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- default: return defaultCase(theEObject);
- }
- }
- return defaultCase(theEObject);
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Binding</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Binding</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseSOAPBinding(SOAPBinding object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Body</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Body</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseSOAPBody(SOAPBody object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Header Base</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Header Base</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseSOAPHeaderBase(SOAPHeaderBase object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Fault</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Fault</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseSOAPFault(SOAPFault object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Operation</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Operation</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseSOAPOperation(SOAPOperation object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Address</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Address</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseSOAPAddress(SOAPAddress object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Header Fault</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Header Fault</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseSOAPHeaderFault(SOAPHeaderFault object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Header</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Header</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseSOAPHeader(SOAPHeader object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Element</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Element</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseWSDLElement(WSDLElement object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>IExtensibility Element</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>IExtensibility Element</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseIExtensibilityElement(ExtensibilityElement object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Extensibility Element</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Extensibility Element</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseExtensibilityElement(org.eclipse.wst.wsdl.ExtensibilityElement object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>EObject</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch, but this is the last case anyway.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>EObject</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject)
- * @generated
- */
- public Object defaultCase(EObject object)
- {
- return null;
- }
-
-} //SOAPSwitch
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/package.html b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/package.html
deleted file mode 100644
index 9554345e4..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/package.html
+++ /dev/null
@@ -1,21 +0,0 @@
-<html>
-<head>
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<link rel="stylesheet" href="../../../../../..//apistyles.css" type="text/css">
-<title>WSDL Model SOAP Binding Extension API Overview</title>
-</head>
-<body>
-<p>
- The WSDL model API allows clients to work with the WSDL 1.1 documents.
- </p>
-<table width="500">
-<tr>
-<td>
-<p>The WSDL model API allows clients to load, modify, and save WSDL 1.1 documents.
- </p>
-</td>
-</tr>
-</table>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/package.xml b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/package.xml
deleted file mode 100644
index c2cb92a1c..000000000
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/package.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<html>
- <head>
- <meta
- name="root"
-
- content="../../../../../../" />
- <title>WSDL Model SOAP Binding Extension API Overview</title>
- </head>
-
- <body>
- <abstract>
- The WSDL model API allows clients to work with the WSDL 1.1 documents.
- </abstract>
- <p>The WSDL model API allows clients to load, modify, and save WSDL 1.1 documents.
- </p>
- </body>
-</html>

Back to the top