title: INVALID_WSDL error when calling SOAP service
body: <p>I'm programming a SOAP client for an existing soap web service. 
  I'm using Wildfly8.2 as a server where the client is and JbossWS, JAX-WS</p>
  
  <p>I generated the classes needed to call the service via eclispe with the NEW-> Web service client wizzard</p>
  
  <p>When I call the service I got the error INVALID_WSDL ... the stack trace is on the bottom.</p>
  
  <p>The actual problematic service call is the call to "addService" method of the web service.</p>
  
  <p>This is the code that I use to call the service:</p>
  
  <pre><code>SOAP service1 = new SOAP();
  WorkflowEditor workflowEditor = service1.getSOAPPort();
  
  AddService parameters = new AddService();
  parameters.setLogicalURI(logicalUri);
  parameters.setServiceDescription(serviceDescription);
  parameters.setServiceType(servicetype.getName());
  Specialties specialities = new Specialties();
  specialities.getSpecialty().add("aaaa");
  parameters.setSpecialties(specialities);
  parameters.setWsdlLocation(wsdlLocation);
  parameters.setWsdlServiceName(wsdlServiceName);
  parameters.setSessionToken(currentUser.getKeystoneSessionToken());
  workflowEditor.addService(parameters);
  </code></pre>
  
  <p>the generated java class for the parameters in the soap call:</p>
  
  <pre><code>package si.arctur.services.workflowEditor;
  
  import java.util.ArrayList;
  import java.util.List;
  import javax.xml.bind.annotation.XmlAccessType;
  import javax.xml.bind.annotation.XmlAccessorType;
  import javax.xml.bind.annotation.XmlElement;
  import javax.xml.bind.annotation.XmlRootElement;
  import javax.xml.bind.annotation.XmlType;
  
  @XmlAccessorType(XmlAccessType.FIELD)
  @XmlType(name = "", propOrder = {
  
  })
  @XmlRootElement(name = "addService")
  public class AddService {
  
      @XmlElement(required = true)
      protected String sessionToken;
      @XmlElement(required = true)
      protected String wsdlLocation;
      @XmlElement(required = true)
      protected String wsdlServiceName;
      @XmlElement(required = true)
      protected String logicalURI;
      @XmlElement(required = true)
      protected String serviceType;
      protected AddService.Specialties specialties;
      @XmlElement(required = true)
      protected String serviceDescription;
  
  
      public String getSessionToken() {
          return sessionToken;
      }
  
  
      public void setSessionToken(String value) {
          this.sessionToken = value;
      }
  
  
      public String getWsdlLocation() {
          return wsdlLocation;
      }
  
  
      public void setWsdlLocation(String value) {
          this.wsdlLocation = value;
      }
  
  
      public String getWsdlServiceName() {
          return wsdlServiceName;
      }
  
  
      public void setWsdlServiceName(String value) {
          this.wsdlServiceName = value;
      }
  
  
      public String getLogicalURI() {
          return logicalURI;
      }
  
  
      public void setLogicalURI(String value) {
          this.logicalURI = value;
      }
  
  
      public String getServiceType() {
          return serviceType;
      }
  
  
      public void setServiceType(String value) {
          this.serviceType = value;
      }
  
  
      public AddService.Specialties getSpecialties() {
          return specialties;
      }
  
  
      public void setSpecialties(AddService.Specialties value) {
          this.specialties = value;
      }
  
      public String getServiceDescription() {
          return serviceDescription;
      }
  
  
      public void setServiceDescription(String value) {
          this.serviceDescription = value;
      }
  
  
      @XmlAccessorType(XmlAccessType.FIELD)
      @XmlType(name = "", propOrder = {
          "specialty"
      })
      public static class Specialties {
  
          @XmlElement(required = true)
          protected List&lt;String&gt; specialty;
  
  
          public List&lt;String&gt; getSpecialty() {
              if (specialty == null) {
                  specialty = new ArrayList&lt;String&gt;();
              }
              return this.specialty;
          }
  
      }
  
  }
  </code></pre>
  
  <p>This is the wsdl copied from the browser:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;wsdl:definitions name="WorkflowEditor" targetNamespace="*****************" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wfe="*****************" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"&gt;
    &lt;wsdl:types&gt;
      &lt;xsd:schema targetNamespace="*****************"&gt;
        &lt;xsd:element name="addService"&gt;
          &lt;xsd:complexType&gt;
            &lt;xsd:all&gt;
              &lt;xsd:element name="sessionToken" type="xsd:string"/&gt;
              &lt;xsd:element name="wsdlLocation" type="xsd:string"/&gt;
              &lt;xsd:element name="wsdlServiceName" type="xsd:string"/&gt;
              &lt;xsd:element name="logicalURI" type="xsd:string"/&gt;
              &lt;xsd:element name="serviceType" type="xsd:string"/&gt;
              &lt;xsd:element maxOccurs="1" minOccurs="0" name="specialties"&gt;
                  &lt;xsd:complexType&gt;
                      &lt;xsd:sequence&gt;
                          &lt;xsd:element maxOccurs="unbounded" minOccurs="1" name="specialty" type="xsd:string"&gt;
                          &lt;/xsd:element&gt;
                      &lt;/xsd:sequence&gt;
                  &lt;/xsd:complexType&gt;
              &lt;/xsd:element&gt;
              &lt;xsd:element name="serviceDescription" type="xsd:string"&gt;
              &lt;/xsd:element&gt;
              &lt;xsd:element name="serviceTitle" type="xsd:string"/&gt;
            &lt;/xsd:all&gt;
          &lt;/xsd:complexType&gt;
        &lt;/xsd:element&gt;
        &lt;xsd:element name="addServiceResponse"&gt;
          &lt;xsd:complexType&gt;
            &lt;xsd:sequence&gt;
              &lt;xsd:element name="success" type="xsd:boolean"/&gt;
            &lt;/xsd:sequence&gt;
          &lt;/xsd:complexType&gt;
        &lt;/xsd:element&gt;
        &lt;xsd:element name="removeService"&gt;
          &lt;xsd:complexType&gt;
              &lt;xsd:all&gt;
                  &lt;xsd:element name="sessionToken" type="xsd:string"/&gt;
                  &lt;xsd:element name="serviceURI" type="xsd:string"/&gt;
              &lt;/xsd:all&gt;
          &lt;/xsd:complexType&gt;
        &lt;/xsd:element&gt;
        &lt;xsd:element name="removeServiceResponse"&gt;
          &lt;xsd:complexType&gt;
              &lt;xsd:sequence&gt;
                  &lt;xsd:element name="success" type="xsd:boolean"/&gt;
              &lt;/xsd:sequence&gt;
          &lt;/xsd:complexType&gt;
        &lt;/xsd:element&gt;
        &lt;xsd:element name="addUserToService"&gt;
          &lt;xsd:complexType&gt;
              &lt;xsd:all&gt;
                  &lt;xsd:element name="sessionToken" type="xsd:string"/&gt;
                  &lt;xsd:element name="serviceURI" type="xsd:string"/&gt;
                  &lt;xsd:element name="username" type="xsd:string"/&gt;
              &lt;/xsd:all&gt;
          &lt;/xsd:complexType&gt;
        &lt;/xsd:element&gt;
        &lt;xsd:element name="addUserToServiceResponse"&gt;
          &lt;xsd:complexType&gt;
              &lt;xsd:sequence&gt;
                  &lt;xsd:element name="success" type="xsd:boolean"/&gt;
              &lt;/xsd:sequence&gt;
          &lt;/xsd:complexType&gt;
        &lt;/xsd:element&gt;
        &lt;xsd:element name="removeUserFromService"&gt;
          &lt;xsd:complexType&gt;
              &lt;xsd:all&gt;
                  &lt;xsd:element name="sessionToken" type="xsd:string"/&gt;
                  &lt;xsd:element name="serviceURI" type="xsd:string"/&gt;
                  &lt;xsd:element name="username" type="xsd:string"/&gt;
              &lt;/xsd:all&gt;
          &lt;/xsd:complexType&gt;
        &lt;/xsd:element&gt;
        &lt;xsd:element name="removeUserFromServiceResponse"&gt;
          &lt;xsd:complexType&gt;
              &lt;xsd:sequence&gt;
                  &lt;xsd:element name="success" type="xsd:boolean"/&gt;
              &lt;/xsd:sequence&gt;
          &lt;/xsd:complexType&gt;
        &lt;/xsd:element&gt;
        &lt;xsd:element name="addWorkflow"&gt;
          &lt;xsd:complexType&gt;
              &lt;xsd:all&gt;
                  &lt;xsd:element name="sessionToken" type="xsd:string"/&gt;
                  &lt;xsd:element name="workflowDescription_base64" type="xsd:string"/&gt;
              &lt;/xsd:all&gt;
          &lt;/xsd:complexType&gt;
        &lt;/xsd:element&gt;
        &lt;xsd:element name="addWorkflowResponse"&gt;
          &lt;xsd:complexType&gt;
              &lt;xsd:sequence&gt;
                  &lt;xsd:element name="success" type="xsd:boolean"/&gt;
              &lt;/xsd:sequence&gt;
          &lt;/xsd:complexType&gt;
        &lt;/xsd:element&gt;
        &lt;xsd:element name="removeWorkflow"&gt;
          &lt;xsd:complexType&gt;
              &lt;xsd:all&gt;
                  &lt;xsd:element name="sessionToken" type="xsd:string"/&gt;
                  &lt;xsd:element name="workflowURI" type="xsd:string"/&gt;
              &lt;/xsd:all&gt;
          &lt;/xsd:complexType&gt;
        &lt;/xsd:element&gt;
        &lt;xsd:element name="removeWorkflowResponse"&gt;
          &lt;xsd:complexType&gt;
              &lt;xsd:sequence&gt;
                  &lt;xsd:element name="success" type="xsd:boolean"/&gt;
              &lt;/xsd:sequence&gt;
          &lt;/xsd:complexType&gt;
        &lt;/xsd:element&gt;
        &lt;xsd:element name="replaceWorkflow"&gt;
          &lt;xsd:complexType&gt;
              &lt;xsd:all&gt;
                  &lt;xsd:element name="sessionToken" type="xsd:string"/&gt;
                  &lt;xsd:element name="workflowDescription_base64" type="xsd:string"/&gt;
              &lt;/xsd:all&gt;
          &lt;/xsd:complexType&gt;
        &lt;/xsd:element&gt;
        &lt;xsd:element name="replaceWorkflowResponse"&gt;
          &lt;xsd:complexType&gt;
              &lt;xsd:sequence&gt;
                  &lt;xsd:element name="success" type="xsd:boolean"/&gt;
              &lt;/xsd:sequence&gt;
          &lt;/xsd:complexType&gt;
        &lt;/xsd:element&gt;
        &lt;xsd:element name="getWorkflowDescription"&gt;
          &lt;xsd:complexType&gt;
              &lt;xsd:all&gt;
                  &lt;xsd:element name="sessionToken" type="xsd:string"/&gt;
                  &lt;xsd:element name="workflowURI" type="xsd:string"/&gt;
              &lt;/xsd:all&gt;
          &lt;/xsd:complexType&gt;
        &lt;/xsd:element&gt;
        &lt;xsd:element name="getWorkflowDescriptionResponse"&gt;
          &lt;xsd:complexType&gt;
              &lt;xsd:sequence&gt;
                  &lt;xsd:element name="success" type="xsd:boolean"/&gt;
                  &lt;xsd:element name="workflowDescription_base64" type="xsd:string"/&gt;
              &lt;/xsd:sequence&gt;
          &lt;/xsd:complexType&gt;
        &lt;/xsd:element&gt;
        &lt;xsd:element name="getWorkflows"&gt;
          &lt;xsd:complexType&gt;
              &lt;xsd:all&gt;
                  &lt;xsd:element name="sessionToken" type="xsd:string"/&gt;
              &lt;/xsd:all&gt;
          &lt;/xsd:complexType&gt;
        &lt;/xsd:element&gt;
        &lt;xsd:element name="getWorkflowsResponse"&gt;
          &lt;xsd:complexType&gt;
              &lt;xsd:sequence&gt;
                  &lt;xsd:element name="success" type="xsd:boolean"/&gt;
                  &lt;xsd:element name="workflows"&gt;
                      &lt;xsd:complexType&gt;
                          &lt;xsd:sequence&gt;
                              &lt;xsd:element maxOccurs="unbounded" minOccurs="0" name="workflow" type="xsd:string"/&gt;
                          &lt;/xsd:sequence&gt;
                      &lt;/xsd:complexType&gt;
                  &lt;/xsd:element&gt;
              &lt;/xsd:sequence&gt;
          &lt;/xsd:complexType&gt;
        &lt;/xsd:element&gt;
        &lt;xsd:element name="getServices"&gt;
          &lt;xsd:complexType&gt;
              &lt;xsd:all&gt;
                  &lt;xsd:element name="sessionToken" type="xsd:string"/&gt;
              &lt;/xsd:all&gt;
          &lt;/xsd:complexType&gt;
        &lt;/xsd:element&gt;
        &lt;xsd:element name="getServicesResponse"&gt;
          &lt;xsd:complexType&gt;
              &lt;xsd:sequence&gt;
                  &lt;xsd:element name="success" type="xsd:boolean"/&gt;
                  &lt;xsd:element name="services"&gt;
                      &lt;xsd:complexType&gt;
                          &lt;xsd:sequence&gt;
                              &lt;xsd:element maxOccurs="unbounded" minOccurs="0" name="service" type="xsd:string"/&gt;
                          &lt;/xsd:sequence&gt;
                      &lt;/xsd:complexType&gt;
                  &lt;/xsd:element&gt;
              &lt;/xsd:sequence&gt;
          &lt;/xsd:complexType&gt;
        &lt;/xsd:element&gt;
        &lt;xsd:element name="getServiceIOs"&gt;
          &lt;xsd:complexType&gt;
              &lt;xsd:all&gt;
                  &lt;xsd:element name="sessionToken" type="xsd:string"/&gt;
                  &lt;xsd:element name="serviceURI" type="xsd:string"/&gt;
              &lt;/xsd:all&gt;
          &lt;/xsd:complexType&gt;
        &lt;/xsd:element&gt;
        &lt;xsd:element name="getServiceIOsResponse"&gt;
          &lt;xsd:complexType&gt;
              &lt;xsd:sequence&gt;
                  &lt;xsd:element name="success" type="xsd:boolean"/&gt;
                  &lt;xsd:element name="serviceIOs"&gt;
                      &lt;xsd:complexType&gt;
                          &lt;xsd:sequence&gt;
                              &lt;xsd:element maxOccurs="unbounded" minOccurs="0" name="serviceIO" type="xsd:string"/&gt;
                          &lt;/xsd:sequence&gt;
                      &lt;/xsd:complexType&gt;
                  &lt;/xsd:element&gt;
              &lt;/xsd:sequence&gt;
          &lt;/xsd:complexType&gt;
        &lt;/xsd:element&gt;
        &lt;xsd:element name="getServiceInfo"&gt;
          &lt;xsd:complexType&gt;
              &lt;xsd:sequence&gt;
                  &lt;xsd:element name="sessionToken" type="xsd:string"/&gt;
                  &lt;xsd:element name="serviceURI" type="xsd:string"/&gt;
              &lt;/xsd:sequence&gt;
          &lt;/xsd:complexType&gt;
        &lt;/xsd:element&gt;
        &lt;xsd:element name="getServiceInfoResponse"&gt;
          &lt;xsd:complexType&gt;
              &lt;xsd:sequence&gt;
                  &lt;xsd:element name="description" type="xsd:string"/&gt;
                  &lt;xsd:element name="wsdlLink" type="xsd:string"/&gt;
                  &lt;xsd:element name="title" type="xsd:string"/&gt;
              &lt;/xsd:sequence&gt;
          &lt;/xsd:complexType&gt;
        &lt;/xsd:element&gt;
        &lt;xsd:element name="getServicesInfo"&gt;
          &lt;xsd:complexType&gt;
              &lt;xsd:sequence&gt;
                  &lt;xsd:element name="sessionToken" type="xsd:string"/&gt;
              &lt;/xsd:sequence&gt;
          &lt;/xsd:complexType&gt;
        &lt;/xsd:element&gt;
        &lt;xsd:element name="getServicesInfoResponse"&gt;
          &lt;xsd:complexType&gt;
              &lt;xsd:sequence&gt;
                  &lt;xsd:element name="success" type="xsd:boolean"/&gt;
                  &lt;xsd:element name="services"&gt;
                      &lt;xsd:complexType&gt;
                              &lt;xsd:sequence&gt;
                                  &lt;xsd:element maxOccurs="unbounded" minOccurs="0" name="service"&gt;
                                      &lt;xsd:complexType&gt;
                                          &lt;xsd:sequence&gt;
                                              &lt;xsd:element maxOccurs="1" minOccurs="1" name="serviceURI" type="xsd:string"&gt;
                                              &lt;/xsd:element&gt;
                                              &lt;xsd:element maxOccurs="1" minOccurs="0" name="serviceDescription" type="xsd:string"&gt;
                                              &lt;/xsd:element&gt;
                                              &lt;xsd:element maxOccurs="1" minOccurs="1" name="serviceWSDL" type="xsd:string"&gt;
                                              &lt;/xsd:element&gt;
                                              &lt;xsd:element maxOccurs="1" minOccurs="1" name="serviceTitle" type="xsd:string"&gt;
                                              &lt;/xsd:element&gt;
                                          &lt;/xsd:sequence&gt;
                                      &lt;/xsd:complexType&gt;
                                  &lt;/xsd:element&gt;
                                  &lt;/xsd:sequence&gt;
                          &lt;/xsd:complexType&gt;
                  &lt;/xsd:element&gt;
              &lt;/xsd:sequence&gt;
          &lt;/xsd:complexType&gt;
        &lt;/xsd:element&gt;
      &lt;/xsd:schema&gt;
    &lt;/wsdl:types&gt;
    &lt;wsdl:message name="removeWorkflowRequest"&gt;
      &lt;wsdl:part name="parameters" element="wfe:removeWorkflow"&gt;
      &lt;/wsdl:part&gt;
    &lt;/wsdl:message&gt;
    &lt;wsdl:message name="addWorkflowRequest"&gt;
      &lt;wsdl:part name="parameters" element="wfe:addWorkflow"&gt;
      &lt;/wsdl:part&gt;
    &lt;/wsdl:message&gt;
    &lt;wsdl:message name="removeUserFromServiceRequest"&gt;
      &lt;wsdl:part name="parameters" element="wfe:removeUserFromService"&gt;
      &lt;/wsdl:part&gt;
    &lt;/wsdl:message&gt;
    &lt;wsdl:message name="removeServiceRequest"&gt;
      &lt;wsdl:part name="parameters" element="wfe:removeService"&gt;
      &lt;/wsdl:part&gt;
    &lt;/wsdl:message&gt;
    &lt;wsdl:message name="getServicesRequest"&gt;
      &lt;wsdl:part name="parameters" element="wfe:getServices"&gt;
      &lt;/wsdl:part&gt;
    &lt;/wsdl:message&gt;
    &lt;wsdl:message name="removeUserFromServiceResponse"&gt;
      &lt;wsdl:part name="parameters" element="wfe:removeUserFromServiceResponse"&gt;
      &lt;/wsdl:part&gt;
    &lt;/wsdl:message&gt;
    &lt;wsdl:message name="replaceWorkflowRequest"&gt;
      &lt;wsdl:part name="parameters" element="wfe:replaceWorkflow"&gt;
      &lt;/wsdl:part&gt;
    &lt;/wsdl:message&gt;
    &lt;wsdl:message name="getServicesInfoRequest"&gt;
      &lt;wsdl:part name="parameters" element="wfe:getServicesInfo"&gt;
      &lt;/wsdl:part&gt;
    &lt;/wsdl:message&gt;
    &lt;wsdl:message name="getWorkflowDescriptionRequest"&gt;
      &lt;wsdl:part name="parameters" element="wfe:getWorkflowDescription"&gt;
      &lt;/wsdl:part&gt;
    &lt;/wsdl:message&gt;
    &lt;wsdl:message name="getServicesResponse"&gt;
      &lt;wsdl:part name="parameters" element="wfe:getServicesResponse"&gt;
      &lt;/wsdl:part&gt;
    &lt;/wsdl:message&gt;
    &lt;wsdl:message name="getServiceIOsResponse"&gt;
      &lt;wsdl:part name="parameters" element="wfe:getServiceIOsResponse"&gt;
      &lt;/wsdl:part&gt;
    &lt;/wsdl:message&gt;
    &lt;wsdl:message name="getServiceInfoResponse"&gt;
      &lt;wsdl:part name="parameters" element="wfe:getServiceInfoResponse"&gt;
      &lt;/wsdl:part&gt;
    &lt;/wsdl:message&gt;
    &lt;wsdl:message name="addUserToServiceResponse"&gt;
      &lt;wsdl:part name="parameters" element="wfe:addUserToServiceResponse"&gt;
      &lt;/wsdl:part&gt;
    &lt;/wsdl:message&gt;
    &lt;wsdl:message name="removeWorkflowResponse"&gt;
      &lt;wsdl:part name="parameters" element="wfe:removeWorkflowResponse"&gt;
      &lt;/wsdl:part&gt;
    &lt;/wsdl:message&gt;
    &lt;wsdl:message name="getWorkflowDescriptionResponse"&gt;
      &lt;wsdl:part name="parameters" element="wfe:getWorkflowDescriptionResponse"&gt;
      &lt;/wsdl:part&gt;
    &lt;/wsdl:message&gt;
    &lt;wsdl:message name="getServiceInfoRequest"&gt;
      &lt;wsdl:part name="parameters" element="wfe:getServiceInfo"&gt;
      &lt;/wsdl:part&gt;
    &lt;/wsdl:message&gt;
    &lt;wsdl:message name="getWorkflowsResponse"&gt;
      &lt;wsdl:part name="parameters" element="wfe:getWorkflowsResponse"&gt;
      &lt;/wsdl:part&gt;
    &lt;/wsdl:message&gt;
    &lt;wsdl:message name="getServiceIOsRequest"&gt;
      &lt;wsdl:part name="parameters" element="wfe:getServiceIOs"&gt;
      &lt;/wsdl:part&gt;
    &lt;/wsdl:message&gt;
    &lt;wsdl:message name="replaceWorkflowResponse"&gt;
      &lt;wsdl:part name="parameters" element="wfe:replaceWorkflowResponse"&gt;
      &lt;/wsdl:part&gt;
    &lt;/wsdl:message&gt;
    &lt;wsdl:message name="addServiceResponse"&gt;
      &lt;wsdl:part name="parameters" element="wfe:addServiceResponse"&gt;
      &lt;/wsdl:part&gt;
    &lt;/wsdl:message&gt;
    &lt;wsdl:message name="addUserToServiceRequest"&gt;
      &lt;wsdl:part name="parameters" element="wfe:addUserToService"&gt;
      &lt;/wsdl:part&gt;
    &lt;/wsdl:message&gt;
    &lt;wsdl:message name="removeServiceResponse"&gt;
      &lt;wsdl:part name="parameters" element="wfe:removeServiceResponse"&gt;
      &lt;/wsdl:part&gt;
    &lt;/wsdl:message&gt;
    &lt;wsdl:message name="getServicesInfoResponse"&gt;
      &lt;wsdl:part name="parameters" element="wfe:getServicesInfoResponse"&gt;
      &lt;/wsdl:part&gt;
    &lt;/wsdl:message&gt;
    &lt;wsdl:message name="addWorkflowResponse"&gt;
      &lt;wsdl:part name="parameters" element="wfe:addWorkflowResponse"&gt;
      &lt;/wsdl:part&gt;
    &lt;/wsdl:message&gt;
    &lt;wsdl:message name="getWorkflowsRequest"&gt;
      &lt;wsdl:part name="parameters" element="wfe:getWorkflows"&gt;
      &lt;/wsdl:part&gt;
    &lt;/wsdl:message&gt;
    &lt;wsdl:message name="addServiceRequest"&gt;
      &lt;wsdl:part name="parameters" element="wfe:addService"&gt;
      &lt;/wsdl:part&gt;
    &lt;/wsdl:message&gt;
    &lt;wsdl:portType name="WorkflowEditor"&gt;
      &lt;wsdl:operation name="addService"&gt;
        &lt;wsdl:input message="wfe:addServiceRequest"&gt;
      &lt;/wsdl:input&gt;
        &lt;wsdl:output message="wfe:addServiceResponse"&gt;
      &lt;/wsdl:output&gt;
      &lt;/wsdl:operation&gt;
      &lt;wsdl:operation name="removeService"&gt;
        &lt;wsdl:input message="wfe:removeServiceRequest"&gt;
      &lt;/wsdl:input&gt;
        &lt;wsdl:output message="wfe:removeServiceResponse"&gt;
      &lt;/wsdl:output&gt;
      &lt;/wsdl:operation&gt;
      &lt;wsdl:operation name="addUserToService"&gt;
        &lt;wsdl:input message="wfe:addUserToServiceRequest"&gt;
      &lt;/wsdl:input&gt;
        &lt;wsdl:output message="wfe:addUserToServiceResponse"&gt;
      &lt;/wsdl:output&gt;
      &lt;/wsdl:operation&gt;
      &lt;wsdl:operation name="removeUserFromService"&gt;
        &lt;wsdl:input message="wfe:removeUserFromServiceRequest"&gt;
      &lt;/wsdl:input&gt;
        &lt;wsdl:output message="wfe:removeUserFromServiceResponse"&gt;
      &lt;/wsdl:output&gt;
      &lt;/wsdl:operation&gt;
      &lt;wsdl:operation name="addWorkflow"&gt;
        &lt;wsdl:input message="wfe:addWorkflowRequest"&gt;
      &lt;/wsdl:input&gt;
        &lt;wsdl:output message="wfe:addWorkflowResponse"&gt;
      &lt;/wsdl:output&gt;
      &lt;/wsdl:operation&gt;
      &lt;wsdl:operation name="removeWorkflow"&gt;
        &lt;wsdl:input message="wfe:removeWorkflowRequest"&gt;
      &lt;/wsdl:input&gt;
        &lt;wsdl:output message="wfe:removeWorkflowResponse"&gt;
      &lt;/wsdl:output&gt;
      &lt;/wsdl:operation&gt;
      &lt;wsdl:operation name="replaceWorkflow"&gt;
        &lt;wsdl:input message="wfe:replaceWorkflowRequest"&gt;
      &lt;/wsdl:input&gt;
        &lt;wsdl:output message="wfe:replaceWorkflowResponse"&gt;
      &lt;/wsdl:output&gt;
      &lt;/wsdl:operation&gt;
      &lt;wsdl:operation name="getWorkflowDescription"&gt;
        &lt;wsdl:input message="wfe:getWorkflowDescriptionRequest"&gt;
      &lt;/wsdl:input&gt;
        &lt;wsdl:output message="wfe:getWorkflowDescriptionResponse"&gt;
      &lt;/wsdl:output&gt;
      &lt;/wsdl:operation&gt;
      &lt;wsdl:operation name="getWorkflows"&gt;
        &lt;wsdl:input message="wfe:getWorkflowsRequest"&gt;
      &lt;/wsdl:input&gt;
        &lt;wsdl:output message="wfe:getWorkflowsResponse"&gt;
      &lt;/wsdl:output&gt;
      &lt;/wsdl:operation&gt;
      &lt;wsdl:operation name="getServices"&gt;
        &lt;wsdl:input message="wfe:getServicesRequest"&gt;
      &lt;/wsdl:input&gt;
        &lt;wsdl:output message="wfe:getServicesResponse"&gt;
      &lt;/wsdl:output&gt;
      &lt;/wsdl:operation&gt;
      &lt;wsdl:operation name="getServiceIOs"&gt;
        &lt;wsdl:input message="wfe:getServiceIOsRequest"&gt;
      &lt;/wsdl:input&gt;
        &lt;wsdl:output message="wfe:getServiceIOsResponse"&gt;
      &lt;/wsdl:output&gt;
      &lt;/wsdl:operation&gt;
      &lt;wsdl:operation name="getServiceInfo"&gt;
        &lt;wsdl:input message="wfe:getServiceInfoRequest"&gt;
      &lt;/wsdl:input&gt;
        &lt;wsdl:output message="wfe:getServiceInfoResponse"&gt;
      &lt;/wsdl:output&gt;
      &lt;/wsdl:operation&gt;
      &lt;wsdl:operation name="getServicesInfo"&gt;
        &lt;wsdl:input message="wfe:getServicesInfoRequest"&gt;
      &lt;/wsdl:input&gt;
        &lt;wsdl:output message="wfe:getServicesInfoResponse"&gt;
      &lt;/wsdl:output&gt;
      &lt;/wsdl:operation&gt;
    &lt;/wsdl:portType&gt;
    &lt;wsdl:binding name="WorkflowEditorSOAP" type="wfe:WorkflowEditor"&gt;
      &lt;soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/&gt;
      &lt;wsdl:operation name="addService"&gt;
        &lt;soap:operation soapAction="*****************addService"/&gt;
        &lt;wsdl:input&gt;
          &lt;soap:body use="literal"/&gt;
        &lt;/wsdl:input&gt;
        &lt;wsdl:output&gt;
          &lt;soap:body use="literal"/&gt;
        &lt;/wsdl:output&gt;
      &lt;/wsdl:operation&gt;
      &lt;wsdl:operation name="removeService"&gt;
        &lt;soap:operation soapAction="*****************removeService"/&gt;
        &lt;wsdl:input&gt;
          &lt;soap:body use="literal"/&gt;
        &lt;/wsdl:input&gt;
        &lt;wsdl:output&gt;
          &lt;soap:body use="literal"/&gt;
        &lt;/wsdl:output&gt;
      &lt;/wsdl:operation&gt;
      &lt;wsdl:operation name="addUserToService"&gt;
        &lt;soap:operation soapAction="*****************addUserToService"/&gt;
        &lt;wsdl:input&gt;
          &lt;soap:body use="literal"/&gt;
        &lt;/wsdl:input&gt;
        &lt;wsdl:output&gt;
          &lt;soap:body use="literal"/&gt;
        &lt;/wsdl:output&gt;
      &lt;/wsdl:operation&gt;
      &lt;wsdl:operation name="removeUserFromService"&gt;
        &lt;soap:operation soapAction="*****************removeUserFromService"/&gt;
        &lt;wsdl:input&gt;
          &lt;soap:body use="literal"/&gt;
        &lt;/wsdl:input&gt;
        &lt;wsdl:output&gt;
          &lt;soap:body use="literal"/&gt;
        &lt;/wsdl:output&gt;
      &lt;/wsdl:operation&gt;
      &lt;wsdl:operation name="addWorkflow"&gt;
        &lt;soap:operation soapAction="*****************addWorkflow"/&gt;
        &lt;wsdl:input&gt;
          &lt;soap:body use="literal"/&gt;
        &lt;/wsdl:input&gt;
        &lt;wsdl:output&gt;
          &lt;soap:body use="literal"/&gt;
        &lt;/wsdl:output&gt;
      &lt;/wsdl:operation&gt;
      &lt;wsdl:operation name="removeWorkflow"&gt;
        &lt;soap:operation soapAction="*****************removeWorkflow"/&gt;
        &lt;wsdl:input&gt;
          &lt;soap:body use="literal"/&gt;
        &lt;/wsdl:input&gt;
        &lt;wsdl:output&gt;
          &lt;soap:body use="literal"/&gt;
        &lt;/wsdl:output&gt;
      &lt;/wsdl:operation&gt;
      &lt;wsdl:operation name="replaceWorkflow"&gt;
        &lt;soap:operation soapAction="*****************replaceWorkflow"/&gt;
        &lt;wsdl:input&gt;
          &lt;soap:body use="literal"/&gt;
        &lt;/wsdl:input&gt;
        &lt;wsdl:output&gt;
          &lt;soap:body use="literal"/&gt;
        &lt;/wsdl:output&gt;
      &lt;/wsdl:operation&gt;
      &lt;wsdl:operation name="getWorkflowDescription"&gt;
        &lt;soap:operation soapAction="*****************getWorkflowDescription"/&gt;
        &lt;wsdl:input&gt;
          &lt;soap:body use="literal"/&gt;
        &lt;/wsdl:input&gt;
        &lt;wsdl:output&gt;
          &lt;soap:body use="literal"/&gt;
        &lt;/wsdl:output&gt;
      &lt;/wsdl:operation&gt;
      &lt;wsdl:operation name="getWorkflows"&gt;
        &lt;soap:operation soapAction="*****************getWorkflows"/&gt;
        &lt;wsdl:input&gt;
          &lt;soap:body use="literal"/&gt;
        &lt;/wsdl:input&gt;
        &lt;wsdl:output&gt;
          &lt;soap:body use="literal"/&gt;
        &lt;/wsdl:output&gt;
      &lt;/wsdl:operation&gt;
      &lt;wsdl:operation name="getServices"&gt;
        &lt;soap:operation soapAction="*****************getServices"/&gt;
        &lt;wsdl:input&gt;
          &lt;soap:body use="literal"/&gt;
        &lt;/wsdl:input&gt;
        &lt;wsdl:output&gt;
          &lt;soap:body use="literal"/&gt;
        &lt;/wsdl:output&gt;
      &lt;/wsdl:operation&gt;
      &lt;wsdl:operation name="getServiceIOs"&gt;
        &lt;soap:operation soapAction="*****************getServiceIOs"/&gt;
        &lt;wsdl:input&gt;
          &lt;soap:body use="literal"/&gt;
        &lt;/wsdl:input&gt;
        &lt;wsdl:output&gt;
          &lt;soap:body use="literal"/&gt;
        &lt;/wsdl:output&gt;
      &lt;/wsdl:operation&gt;
      &lt;wsdl:operation name="getServiceInfo"&gt;
        &lt;soap:operation soapAction="*****************getServiceInfo"/&gt;
        &lt;wsdl:input&gt;
          &lt;soap:body use="literal"/&gt;
        &lt;/wsdl:input&gt;
        &lt;wsdl:output&gt;
          &lt;soap:body use="literal"/&gt;
        &lt;/wsdl:output&gt;
      &lt;/wsdl:operation&gt;
      &lt;wsdl:operation name="getServicesInfo"&gt;
        &lt;soap:operation soapAction="*****************getServicesInfo"/&gt;
        &lt;wsdl:input&gt;
          &lt;soap:body use="literal"/&gt;
        &lt;/wsdl:input&gt;
        &lt;wsdl:output&gt;
          &lt;soap:body use="literal"/&gt;
        &lt;/wsdl:output&gt;
      &lt;/wsdl:operation&gt;
    &lt;/wsdl:binding&gt;
    &lt;wsdl:service name="SOAP"&gt;
      &lt;wsdl:port name="SOAPPort" binding="wfe:WorkflowEditorSOAP"&gt;
        &lt;soap:address location="*******************************"/&gt;
      &lt;/wsdl:port&gt;
    &lt;/wsdl:service&gt;
  &lt;/wsdl:definitions&gt;
  </code></pre>
  
  <p>The stack trace error:</p>
  
  <pre><code>Caused by: javax.wsdl.WSDLException: WSDLException (at /html): faultCode=INVALID_WSDL: Expected element '{http://schemas.xmlsoap.org/wsdl/}definitions'.
  at com.ibm.wsdl.xml.WSDLReaderImpl.checkElementName(Unknown Source)
  at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source)
  at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
  at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
  at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
  at org.apache.axis2.description.AxisService.createClientSideAxisService(AxisService.java:2317)
  ... 29 more
  </code></pre>