Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected Element generated (__cachedRelations included in payload message) #77

Open
1 of 2 tasks
liudonghua123 opened this issue Jun 8, 2017 · 13 comments
Open
1 of 2 tasks

Comments

@liudonghua123
Copy link

liudonghua123 commented Jun 8, 2017

Bug or feature request

  • Bug
  • Feature request

Description of feature (or steps to reproduce if bug)

I have a existed web service. and I followed the tutorial Connecting to SOAP web services. And When I invoke a simple operation. It gave me the unexpected element exception. I looked up the documentation and could not find a option to disable generating these internal properties.

I use Wireshark to capture the related packets

POST /apiws/services/API HTTP/1.1
User-Agent: loopback-connector-soap/3.0.1
Accept: text/html,application/xhtml+xml,application/xml,text/xml;q=0.9,*/*;q=0.8
Accept-Encoding: none
Accept-Charset: utf-8
Connection: close
Host: mail.ynu.edu.cn:9900
Content-Length: 17821
Content-Type: text/xml; charset=utf-8
SOAPAction: ""

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Header/>
  <soap:Body>
    <ns1:authenticate xmlns:ns1="http://coremail.cn/apiws">
      <__cachedRelations/>
      <__data>
        <user_at_domain>my_mail_address</user_at_domain>
        <password>my_mail_password</password>
      </__data>
      <__dataSource/>
      <__strict>false</__strict>
      <__persisted>false</__persisted>
      <user_at_domain>my_mail_address</user_at_domain>
      <password>my_mail_password</password>
      <_initProperties>function (data, options) {
  var self = this;
  var ctor = this.constructor;

  if (typeof data !== 'undefined' &amp;&amp; data.constructor &amp;&amp;
      typeof (data.constructor) !== 'function') {
    throw new Error(g.f('Property name "{{constructor}}" is not allowed in %s data', ctor.modelName));
  }

  if (data instanceof ctor) {
    // Convert the data to be plain object to avoid pollutions
    data = data.toObject(false);
  }
  var properties = _extend({}, ctor.definition.properties);
  data = data || {};

  if (typeof ctor.applyProperties === 'function') {
    ctor.applyProperties(data);
  }

  options = options || {};
  var applySetters = options.applySetters;
  var applyDefaultValues = options.applyDefaultValues;
  var strict = options.strict;

  if (strict === undefined) {
    strict = ctor.definition.settings.strict;
  } else if (strict === 'throw') {
    g.warn('Warning: Model %s, {{strict mode: `throw`}} has been removed, ' +
      'please use {{`strict: true`}} instead, which returns' +
      '{{`Validation Error`}} for unknown properties,', ctor.modelName);
  }

  var persistUndefinedAsNull = ctor.definition.settings.persistUndefinedAsNull;

  if (ctor.hideInternalProperties) {
    // Object.defineProperty() is expensive. We only try to make the internal
    // properties hidden (non-enumerable) if the model class has the
    // `hideInternalProperties` set to true
    Object.defineProperties(this, {
      __cachedRelations: {
        writable: true,
        enumerable: false,
        configurable: true,
        value: {},
      },

      __data: {
        writable: true,
        enumerable: false,
        configurable: true,
        value: {},
      },

      // Instance level data source
      __dataSource: {
        writable: true,
        enumerable: false,
        configurable: true,
        value: options.dataSource,
      },

      // Instance level strict mode
      __strict: {
        writable: true,
        enumerable: false,
        configurable: true,
        value: strict,
      },

      __persisted: {
        writable: true,
        enumerable: false,
        configurable: true,
        value: false,
      },
    });

    if (strict) {
      Object.defineProperty(this, '__unknownProperties', {
        writable: true,
        enumerable: false,
        configrable: true,
        value: [],
      });
    }
  } else {
    this.__cachedRelations = {};
    this.__data = {};
    this.__dataSource = options.dataSource;
    this.__strict = strict;
    this.__persisted = false;
    if (strict) {
      this.__unknownProperties = [];
    }
  }

  if (options.persisted !== undefined) {
    this.__persisted = options.persisted === true;
  }

  if (data.__cachedRelations) {
    this.__cachedRelations = data.__cachedRelations;
  }

  var keys = Object.keys(data);

  if (Array.isArray(options.fields)) {
    keys = keys.filter(function(k) {
      return (options.fields.indexOf(k) != -1);
    });
  }

  var size = keys.length;
  var p, propVal;
  for (var k = 0; k &lt; size; k++) {
    p = keys[k];
    propVal = data[p];
    if (typeof propVal === 'function') {
      continue;
    }

    if (propVal === undefined &amp;&amp; persistUndefinedAsNull) {
      propVal = null;
    }

    if (properties[p]) {
      // Managed property
      if (applySetters || properties[p].id) {
        self[p] = propVal;
      } else {
        self.__data[p] = propVal;
      }
    } else if (ctor.relations[p]) {
      var relationType = ctor.relations[p].type;

      var modelTo;
      if (!properties[p]) {
        modelTo = ctor.relations[p].modelTo || ModelBaseClass;
        var multiple = ctor.relations[p].multiple;
        var typeName = multiple ? 'Array' : modelTo.modelName;
        var propType = multiple ? [modelTo] : modelTo;
        properties[p] = {name: typeName, type: propType};
        /* Issue #1252
        this.setStrict(false);
        */
      }

      // Relation
      if (relationType === 'belongsTo' &amp;&amp; propVal != null) {
        // If the related model is populated
        self.__data[ctor.relations[p].keyFrom] = propVal[ctor.relations[p].keyTo];

        if (ctor.relations[p].options.embedsProperties) {
          var fields = fieldsToArray(ctor.relations[p].properties,
            modelTo.definition.properties, modelTo.settings.strict);
          if (!~fields.indexOf(ctor.relations[p].keyTo)) {
            fields.push(ctor.relations[p].keyTo);
          }
          self.__data[p] = new modelTo(propVal, {
            fields: fields,
            applySetters: false,
            persisted: options.persisted,
          });
        }
      }

      self.__cachedRelations[p] = propVal;
    } else {
      // Un-managed property
      if (strict === false || self.__cachedRelations[p]) {
        self[p] = self.__data[p] =
          (propVal !== undefined) ? propVal : self.__cachedRelations[p];

        // Throw error for properties with unsupported names
        if (/\./.test(p)) {
          throw new Error(g.f(
            'Property names containing dot(s) are not supported. ' +
            'Model: %s, dynamic property: %s',
            this.constructor.modelName, p
          ));
        }
      } else {
        if (strict !== 'filter') {
          this.__unknownProperties.push(p);
        }
      }
    }
  }

  keys = Object.keys(properties);

  if (Array.isArray(options.fields)) {
    keys = keys.filter(function(k) {
      return (options.fields.indexOf(k) != -1);
    });
  }

  size = keys.length;

  for (k = 0; k &lt; size; k++) {
    p = keys[k];
    propVal = self.__data[p];
    var type = properties[p].type;

    // Set default values
    if (applyDefaultValues &amp;&amp; propVal === undefined) {
      var def = properties[p]['default'];
      if (def !== undefined) {
        if (typeof def === 'function') {
          if (def === Date) {
            // FIXME: We should coerce the value in general
            // This is a work around to {default: Date}
            // Date() will return a string instead of Date
            def = new Date();
          } else {
            def = def();
          }
        } else if (type.name === 'Date' &amp;&amp; def === '$now') {
          def = new Date();
        }
        // FIXME: We should coerce the value
        // will implement it after we refactor the PropertyDefinition
        self.__data[p] = propVal = def;
      }
    }

    // Set default value using a named function
    if (applyDefaultValues &amp;&amp; propVal === undefined) {
      var defn = properties[p].defaultFn;
      switch (defn) {
        case undefined:
          break;
        case 'guid':
        case 'uuid':
          // Generate a v1 (time-based) id
          propVal = uuid.v1();
          break;
        case 'uuidv4':
          // Generate a RFC4122 v4 UUID
          propVal = uuid.v4();
          break;
        case 'now':
          propVal = new Date();
          break;
        case 'shortid':
          propVal = shortid.generate();
          break;
        default:
          // TODO Support user-provided functions via a registry of functions
          g.warn('Unknown default value provider %s', defn);
      }
      // FIXME: We should coerce the value
      // will implement it after we refactor the PropertyDefinition
      if (propVal !== undefined)
        self.__data[p] = propVal;
    }

    if (propVal === undefined &amp;&amp; persistUndefinedAsNull) {
      self.__data[p] = propVal = null;
    }

    // Handle complex types (JSON/Object)
    if (!BASE_TYPES[type.name]) {
      if (typeof self.__data[p] !== 'object' &amp;&amp; self.__data[p]) {
        try {
          self.__data[p] = JSON.parse(self.__data[p] + '');
        } catch (e) {
          self.__data[p] = String(self.__data[p]);
        }
      }

      if (type.prototype instanceof ModelBaseClass) {
        if (!(self.__data[p] instanceof type) &amp;&amp;
            typeof self.__data[p] === 'object' &amp;&amp;
            self.__data[p] !== null) {
          self.__data[p] = new type(self.__data[p]);
        }
      } else if (type.name === 'Array' || Array.isArray(type)) {
        if (!(self.__data[p] instanceof List) &amp;&amp;
            self.__data[p] !== undefined &amp;&amp;
            self.__data[p] !== null) {
          self.__data[p] = List(self.__data[p], type, self);
        }
      }
    }
  }
  this.trigger('initialize');
}</_initProperties>
      <getPropertyType>function (propName) {
  return this.constructor.getPropertyType(propName);
}</getPropertyType>
      <toObject>function (onlySchema, removeHidden, removeProtected) {
  if (onlySchema === undefined) {
    onlySchema = true;
  }
  var data = {};
  var self = this;
  var Model = this.constructor;

  // if it is already an Object
  if (Model === Object) {
    return self;
  }

  var strict = this.__strict;
  var schemaLess = (strict === false) || !onlySchema;
  var persistUndefinedAsNull = Model.definition.settings.persistUndefinedAsNull;

  var props = Model.definition.properties;
  var keys = Object.keys(props);
  var propertyName, val;

  for (var i = 0; i &lt; keys.length; i++) {
    propertyName = keys[i];
    val = self[propertyName];

    // Exclude functions
    if (typeof val === 'function') {
      continue;
    }
    // Exclude hidden properties
    if (removeHidden &amp;&amp; Model.isHiddenProperty(propertyName)) {
      continue;
    }

    if (removeProtected &amp;&amp; Model.isProtectedProperty(propertyName)) {
      continue;
    }

    if (val instanceof List) {
      data[propertyName] = val.toObject(!schemaLess, removeHidden, true);
    } else {
      if (val !== undefined &amp;&amp; val !== null &amp;&amp; val.toObject) {
        data[propertyName] = val.toObject(!schemaLess, removeHidden, true);
      } else {
        if (val === undefined &amp;&amp; persistUndefinedAsNull) {
          val = null;
        }
        data[propertyName] = val;
      }
    }
  }

  if (schemaLess) {
    // Find its own properties which can be set via myModel.myProperty = 'myValue'.
    // If the property is not declared in the model definition, no setter will be
    // triggered to add it to __data
    keys = Object.keys(self);
    var size = keys.length;
    for (i = 0; i &lt; size; i++) {
      propertyName = keys[i];
      if (props[propertyName]) {
        continue;
      }
      if (propertyName.indexOf('__') === 0) {
        continue;
      }
      if (removeHidden &amp;&amp; Model.isHiddenProperty(propertyName)) {
        continue;
      }
      if (removeProtected &amp;&amp; Model.isProtectedProperty(propertyName)) {
        continue;
      }
      if (data[propertyName] !== undefined) {
        continue;
      }
      val = self[propertyName];
      if (val !== undefined) {
        if (typeof val === 'function') {
          continue;
        }
        if (val !== null &amp;&amp; val.toObject) {
          data[propertyName] = val.toObject(!schemaLess, removeHidden, true);
        } else {
          data[propertyName] = val;
        }
      } else if (persistUndefinedAsNull) {
        data[propertyName] = null;
      }
    }
    // Now continue to check __data
    keys = Object.keys(self.__data);
    size = keys.length;
    for (i = 0; i &lt; size; i++) {
      propertyName = keys[i];
      if (propertyName.indexOf('__') === 0) {
        continue;
      }
      if (data[propertyName] === undefined) {
        if (removeHidden &amp;&amp; Model.isHiddenProperty(propertyName)) {
          continue;
        }
        if (removeProtected &amp;&amp; Model.isProtectedProperty(propertyName)) {
          continue;
        }
        var ownVal = self[propertyName];
        // The ownVal can be a relation function
        val = (ownVal !== undefined &amp;&amp; (typeof ownVal !== 'function')) ? ownVal : self.__data[propertyName];
        if (typeof val === 'function') {
          continue;
        }

        if (val !== undefined &amp;&amp; val !== null &amp;&amp; val.toObject) {
          data[propertyName] = val.toObject(!schemaLess, removeHidden, true);
        } else if (val === undefined &amp;&amp; persistUndefinedAsNull) {
          data[propertyName] = null;
        } else {
          data[propertyName] = val;
        }
      }
    }
  }

  return data;
}</toObject>
      <toJSON>function () {
  return this.toObject(false, true, false);
}</toJSON>
      <fromObject>function (obj) {
  for (var key in obj) {
    this[key] = obj[key];
  }
}</fromObject>
      <reset>function () {
  var obj = this;
  for (var k in obj) {
    if (k !== 'id' &amp;&amp; !obj.constructor.dataSource.definitions[obj.constructor.modelName].properties[k]) {
      delete obj[k];
    }
  }
}</reset>
      <inspect>function (depth) {
  if (INSPECT_SUPPORTS_OBJECT_RETVAL)
    return this.__data;

  // Workaround for older versions
  // See also https://github.com/joyent/node/commit/66280de133
  return util.inspect(this.__data, {
    showHidden: false,
    depth: depth,
    colors: false,
  });
}</inspect>
      <getDataSource>function () {
  return this.__dataSource || this.constructor.dataSource;
}</getDataSource>
      <setStrict>function (strict) {
  this.__strict = strict;
}</setStrict>
      <trigger>function trigger(actionName, work, data, callback) {
  var capitalizedName = capitalize(actionName);
  var beforeHook = this.constructor['before' + capitalizedName] ||
    this.constructor['pre' + capitalizedName];
  var afterHook = this.constructor['after' + capitalizedName] ||
    this.constructor['post' + capitalizedName];
  if (actionName === 'validate') {
    beforeHook = beforeHook || this.constructor.beforeValidation;
    afterHook = afterHook || this.constructor.afterValidation;
  }
  var inst = this;

  if (actionName !== 'initialize') {
    if (beforeHook)
      deprecateHook(inst.constructor, ['before', 'pre'], capitalizedName);
    if (afterHook)
      deprecateHook(inst.constructor, ['after', 'post'], capitalizedName);
  }

  // we only call "before" hook when we have actual action (work) to perform
  if (work) {
    if (beforeHook) {
      // before hook should be called on instance with two parameters: next and data
      beforeHook.call(inst, function() {
        // Check arguments to next(err, result)
        if (arguments.length) {
          return callback &amp;&amp; callback.apply(null, arguments);
        }
        // No err &amp; result is present, proceed with the real work
        // actual action also have one param: callback
        work.call(inst, next);
      }, data);
    } else {
      work.call(inst, next);
    }
  } else {
    next();
  }

  function next(done) {
    if (afterHook) {
      afterHook.call(inst, done);
    } else if (done) {
      done.call(this);
    }
  }
}</trigger>
      <isValid>function (callback, data, options) {
  options = options || {};
  var valid = true, inst = this, wait = 0, async = false;
  var validations = this.constructor.validations;

  var reportDiscardedProperties = this.__strict &amp;&amp;
    this.__unknownProperties &amp;&amp; this.__unknownProperties.length;

  // exit with success when no errors
  if (typeof validations !== 'object' &amp;&amp; !reportDiscardedProperties) {
    cleanErrors(this);
    if (callback) {
      this.trigger('validate', function(validationsDone) {
        validationsDone.call(inst, function() {
          callback(valid);
        });
      }, data, callback);
    }
    return valid;
  }

  Object.defineProperty(this, 'errors', {
    enumerable: false,
    configurable: true,
    value: new Errors,
  });

  this.trigger('validate', function(validationsDone) {
    var inst = this,
      asyncFail = false;

    var attrs = Object.keys(validations || {});

    attrs.forEach(function(attr) {
      var attrValidations = validations[attr] || [];
      attrValidations.forEach(function(v) {
        if (v.options &amp;&amp; v.options.async) {
          async = true;
          wait += 1;
          process.nextTick(function() {
            validationFailed(inst, attr, v, options, done);
          });
        } else {
          if (validationFailed(inst, attr, v)) {
            valid = false;
          }
        }
      });
    });

    if (reportDiscardedProperties) {
      for (var ix in inst.__unknownProperties) {
        var key = inst.__unknownProperties[ix];
        var code = 'unknown-property';
        var msg = defaultMessages[code];
        inst.errors.add(key, msg, code);
        valid = false;
      }
    }

    if (!async) {
      validationsDone.call(inst, function() {
        if (valid) cleanErrors(inst);
        if (callback) {
          callback(valid);
        }
      });
    }

    function done(fail) {
      asyncFail = asyncFail || fail;
      if (--wait === 0) {
        validationsDone.call(inst, function() {
          if (valid &amp;&amp; !asyncFail) cleanErrors(inst);
          if (callback) {
            callback(valid &amp;&amp; !asyncFail);
          }
        });
      }
    }
  }, data, callback);

  if (async) {
    // in case of async validation we should return undefined here,
    // because not all validations are finished yet
    return;
  } else {
    return valid;
  }
}</isValid>
    </ns1:authenticate>
  </soap:Body>
</soap:Envelope>HTTP/1.1 500 Internal Server Error
Server: Apache-Coyote/1.1
Content-Type: text/xml;charset=UTF-8
Content-Length: 323
Date: Thu, 08 Jun 2017 02:40:26 GMT
Connection: close

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><soap:Fault><faultcode>soap:Client</faultcode><faultstring>Unmarshalling Error: 意外的元素 (uri:"", local:"__cachedRelations")。所需元素为&lt;{}password>,&lt;{}user_at_domain> </faultstring></soap:Fault></soap

Link to sample repo to reproduce issue (if bug)

Expected result

Actual result (if bug)

Additional information (Node.js version, LoopBack version, etc)

@jmmeijer
Copy link

I have experienced a related issue after I generated APIs from the SOAP data source. Response gave me the error:
faultcode: soap:Client faultstring: Unmarshalling Error: cvc-complex-type.2.4.a: Invalid content was found starting with element '__cachedRelations'. One of '{xxx,xxx}' is expected."
This led me to believe that "__cachedRelations" was added as a field in the SOAP request. I had no way of testing this, but @liudonghua123 has confirmed this.

@jmmeijer
Copy link

The code that gets included in the soap request is coming from strongloop/loopback-datasource-juggler/lib/model.js. Somehow the object of ModelBaseClass is converted to SOAP xml including some of the code to initiate its properties.

@rashmihunt
Copy link
Contributor

rashmihunt commented Jun 22, 2017

@liudonghua123 Can you attach your WSDL with XSD/s here?

@liudonghua123
Copy link
Author

My WSDL is the following, and I followed the steps on https://loopback.io/doc/en/lb3/Connecting-to-SOAP.html

<wsdl:definitions xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://coremail.cn/apiws" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:ns1="http://schemas.xmlsoap.org/soap/http" name="API" targetNamespace="http://coremail.cn/apiws">
<wsdl:types>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://coremail.cn/apiws" elementFormDefault="unqualified" targetNamespace="http://coremail.cn/apiws" version="1.0">
<xs:element name="addDomain25" type="tns:addDomain25"/>
<xs:element name="addDomain25Response" type="tns:addDomain25Response"/>
<xs:element name="addDomainAlias" type="tns:addDomainAlias"/>
<xs:element name="addDomainAliasResponse" type="tns:addDomainAliasResponse"/>
<xs:element name="addOrg" type="tns:addOrg"/>
<xs:element name="addOrgCos" type="tns:addOrgCos"/>
<xs:element name="addOrgCosResponse" type="tns:addOrgCosResponse"/>
<xs:element name="addOrgDomain" type="tns:addOrgDomain"/>
<xs:element name="addOrgDomainResponse" type="tns:addOrgDomainResponse"/>
<xs:element name="addOrgResponse" type="tns:addOrgResponse"/>
<xs:element name="addSmtpAlias" type="tns:addSmtpAlias"/>
<xs:element name="addSmtpAliasResponse" type="tns:addSmtpAliasResponse"/>
<xs:element name="addUnit" type="tns:addUnit"/>
<xs:element name="addUnitResponse" type="tns:addUnitResponse"/>
<xs:element name="alterOrg" type="tns:alterOrg"/>
<xs:element name="alterOrgCos" type="tns:alterOrgCos"/>
<xs:element name="alterOrgCosResponse" type="tns:alterOrgCosResponse"/>
<xs:element name="alterOrgResponse" type="tns:alterOrgResponse"/>
<xs:element name="authenticate" type="tns:authenticate"/>
<xs:element name="authenticateResponse" type="tns:authenticateResponse"/>
<xs:element name="changeAttrs" type="tns:changeAttrs"/>
<xs:element name="changeAttrsResponse" type="tns:changeAttrsResponse"/>
<xs:element name="createObj" type="tns:createObj"/>
<xs:element name="createObjResponse" type="tns:createObjResponse"/>
<xs:element name="createUser" type="tns:createUser"/>
<xs:element name="createUserResponse" type="tns:createUserResponse"/>
<xs:element name="delDomain25" type="tns:delDomain25"/>
<xs:element name="delDomain25Response" type="tns:delDomain25Response"/>
<xs:element name="delDomainAlias" type="tns:delDomainAlias"/>
<xs:element name="delDomainAliasResponse" type="tns:delDomainAliasResponse"/>
<xs:element name="delOrgCos" type="tns:delOrgCos"/>
<xs:element name="delOrgCosResponse" type="tns:delOrgCosResponse"/>
<xs:element name="delOrgDomain" type="tns:delOrgDomain"/>
<xs:element name="delOrgDomainResponse" type="tns:delOrgDomainResponse"/>
<xs:element name="delSmtpAlias" type="tns:delSmtpAlias"/>
<xs:element name="delSmtpAliasResponse" type="tns:delSmtpAliasResponse"/>
<xs:element name="delUnit" type="tns:delUnit"/>
<xs:element name="delUnitResponse" type="tns:delUnitResponse"/>
<xs:element name="deleteObj" type="tns:deleteObj"/>
<xs:element name="deleteObjResponse" type="tns:deleteObjResponse"/>
<xs:element name="deleteUser" type="tns:deleteUser"/>
<xs:element name="deleteUserResponse" type="tns:deleteUserResponse"/>
<xs:element name="domainExist" type="tns:domainExist"/>
<xs:element name="domainExistResponse" type="tns:domainExistResponse"/>
<xs:element name="getAdminType" type="tns:getAdminType"/>
<xs:element name="getAdminTypeResponse" type="tns:getAdminTypeResponse"/>
<xs:element name="getAttrs" type="tns:getAttrs"/>
<xs:element name="getAttrsResponse" type="tns:getAttrsResponse"/>
<xs:element name="getDomainAlias" type="tns:getDomainAlias"/>
<xs:element name="getDomainAliasResponse" type="tns:getDomainAliasResponse"/>
<xs:element name="getDomainList" type="tns:getDomainList"/>
<xs:element name="getDomainListResponse" type="tns:getDomainListResponse"/>
<xs:element name="getNewMailInfos" type="tns:getNewMailInfos"/>
<xs:element name="getNewMailInfosResponse" type="tns:getNewMailInfosResponse"/>
<xs:element name="getObjAttrs" type="tns:getObjAttrs"/>
<xs:element name="getObjAttrsResponse" type="tns:getObjAttrsResponse"/>
<xs:element name="getOrgCosUser" type="tns:getOrgCosUser"/>
<xs:element name="getOrgCosUserMax" type="tns:getOrgCosUserMax"/>
<xs:element name="getOrgCosUserMaxResponse" type="tns:getOrgCosUserMaxResponse"/>
<xs:element name="getOrgCosUserResponse" type="tns:getOrgCosUserResponse"/>
<xs:element name="getOrgInfo" type="tns:getOrgInfo"/>
<xs:element name="getOrgInfoResponse" type="tns:getOrgInfoResponse"/>
<xs:element name="getOrgList" type="tns:getOrgList"/>
<xs:element name="getOrgListByDomain" type="tns:getOrgListByDomain"/>
<xs:element name="getOrgListByDomainResponse" type="tns:getOrgListByDomainResponse"/>
<xs:element name="getOrgListResponse" type="tns:getOrgListResponse"/>
<xs:element name="getSessionVar" type="tns:getSessionVar"/>
<xs:element name="getSessionVarResponse" type="tns:getSessionVarResponse"/>
<xs:element name="getSesssionVar" type="tns:getSesssionVar"/>
<xs:element name="getSesssionVarResponse" type="tns:getSesssionVarResponse"/>
<xs:element name="getSmtpAlias" type="tns:getSmtpAlias"/>
<xs:element name="getSmtpAliasResponse" type="tns:getSmtpAliasResponse"/>
<xs:element name="getUnitAttrs" type="tns:getUnitAttrs"/>
<xs:element name="getUnitAttrsResponse" type="tns:getUnitAttrsResponse"/>
<xs:element name="getVersionInfo" type="tns:getVersionInfo"/>
<xs:element name="getVersionInfoResponse" type="tns:getVersionInfoResponse"/>
<xs:element name="listMailInfos" type="tns:listMailInfos"/>
<xs:element name="listMailInfosResponse" type="tns:listMailInfosResponse"/>
<xs:element name="moveUser" type="tns:moveUser"/>
<xs:element name="moveUserResponse" type="tns:moveUserResponse"/>
<xs:element name="renameUser" type="tns:renameUser"/>
<xs:element name="renameUserResponse" type="tns:renameUserResponse"/>
<xs:element name="sesRefresh" type="tns:sesRefresh"/>
<xs:element name="sesRefreshResponse" type="tns:sesRefreshResponse"/>
<xs:element name="sesTimeOut" type="tns:sesTimeOut"/>
<xs:element name="sesTimeOutResponse" type="tns:sesTimeOutResponse"/>
<xs:element name="setAdminType" type="tns:setAdminType"/>
<xs:element name="setAdminTypeResponse" type="tns:setAdminTypeResponse"/>
<xs:element name="setObjAttrs" type="tns:setObjAttrs"/>
<xs:element name="setObjAttrsResponse" type="tns:setObjAttrsResponse"/>
<xs:element name="setSessionVar" type="tns:setSessionVar"/>
<xs:element name="setSessionVarResponse" type="tns:setSessionVarResponse"/>
<xs:element name="setUnitAttrs" type="tns:setUnitAttrs"/>
<xs:element name="setUnitAttrsResponse" type="tns:setUnitAttrsResponse"/>
<xs:element name="smtpTransport" type="tns:smtpTransport"/>
<xs:element name="smtpTransportResponse" type="tns:smtpTransportResponse"/>
<xs:element name="submit" type="tns:submit"/>
<xs:element name="submitJSON" type="tns:submitJSON"/>
<xs:element name="submitJSONResponse" type="tns:submitJSONResponse"/>
<xs:element name="submitResponse" type="tns:submitResponse"/>
<xs:element name="userExist" type="tns:userExist"/>
<xs:element name="userExistResponse" type="tns:userExistResponse"/>
<xs:element name="userLogin" type="tns:userLogin"/>
<xs:element name="userLoginEx" type="tns:userLoginEx"/>
<xs:element name="userLoginExResponse" type="tns:userLoginExResponse"/>
<xs:element name="userLoginResponse" type="tns:userLoginResponse"/>
<xs:element name="userLogout" type="tns:userLogout"/>
<xs:element name="userLogoutResponse" type="tns:userLogoutResponse"/>
<xs:complexType name="addDomain25">
<xs:sequence>
<xs:element minOccurs="0" name="domain_name" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="addDomain25Response">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ReturnInfo">
<xs:sequence>
<xs:element name="code" type="xs:int"/>
<xs:element minOccurs="0" name="message" type="xs:string"/>
<xs:element minOccurs="0" name="result" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="alterOrgCos">
<xs:sequence>
<xs:element minOccurs="0" name="org_id" type="xs:string"/>
<xs:element name="cos_id" type="xs:int"/>
<xs:element name="num_of_classes" type="xs:int"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="alterOrgCosResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="createObj">
<xs:sequence>
<xs:element minOccurs="0" name="attrs" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="createObjResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="userLogin">
<xs:sequence>
<xs:element minOccurs="0" name="user_at_domain" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="userLoginResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="moveUser">
<xs:sequence>
<xs:element minOccurs="0" name="user_at_domain" type="xs:string"/>
<xs:element minOccurs="0" name="attrs" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="moveUserResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="createUser">
<xs:sequence>
<xs:element minOccurs="0" name="provider_id" type="xs:string"/>
<xs:element minOccurs="0" name="org_id" type="xs:string"/>
<xs:element minOccurs="0" name="user_id" type="xs:string"/>
<xs:element minOccurs="0" name="attrs" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="createUserResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="addSmtpAlias">
<xs:sequence>
<xs:element minOccurs="0" name="user_at_domain" type="xs:string"/>
<xs:element minOccurs="0" name="alias_user_at_domain" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="addSmtpAliasResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="getDomainList">
<xs:sequence/>
</xs:complexType>
<xs:complexType name="getDomainListResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="changeAttrs">
<xs:sequence>
<xs:element minOccurs="0" name="user_at_domain" type="xs:string"/>
<xs:element minOccurs="0" name="attrs" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="changeAttrsResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="setObjAttrs">
<xs:sequence>
<xs:element minOccurs="0" name="obj_uid" type="xs:string"/>
<xs:element minOccurs="0" name="attrs" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="setObjAttrsResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="getSessionVar">
<xs:sequence>
<xs:element minOccurs="0" name="ses_id" type="xs:string"/>
<xs:element minOccurs="0" name="ses_key" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="getSessionVarResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="setAdminType">
<xs:sequence>
<xs:element minOccurs="0" name="user_at_domain" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="setAdminTypeResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="delDomain25">
<xs:sequence>
<xs:element minOccurs="0" name="domain_name" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="delDomain25Response">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="getUnitAttrs">
<xs:sequence>
<xs:element minOccurs="0" name="org_id" type="xs:string"/>
<xs:element minOccurs="0" name="org_unit_id" type="xs:string"/>
<xs:element minOccurs="0" name="attrs" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="getUnitAttrsResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="getDomainAlias">
<xs:sequence>
<xs:element minOccurs="0" name="domain_name" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="getDomainAliasResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="deleteObj">
<xs:sequence>
<xs:element minOccurs="0" name="obj_uid" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="deleteObjResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="getSesssionVar">
<xs:sequence>
<xs:element minOccurs="0" name="ses_id" type="xs:string"/>
<xs:element minOccurs="0" name="ses_key" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="getSesssionVarResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="delDomainAlias">
<xs:sequence>
<xs:element minOccurs="0" name="domain_name" type="xs:string"/>
<xs:element minOccurs="0" name="domain_name_alias" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="delDomainAliasResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="domainExist">
<xs:sequence>
<xs:element minOccurs="0" name="domain_name" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="domainExistResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="userLoginEx">
<xs:sequence>
<xs:element minOccurs="0" name="user_at_domain" type="xs:string"/>
<xs:element minOccurs="0" name="attrs" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="userLoginExResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="alterOrg">
<xs:sequence>
<xs:element minOccurs="0" name="org_id" type="xs:string"/>
<xs:element minOccurs="0" name="attrs" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="alterOrgResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="getAttrs">
<xs:sequence>
<xs:element minOccurs="0" name="user_at_domain" type="xs:string"/>
<xs:element minOccurs="0" name="attrs" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="getAttrsResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="getOrgListByDomain">
<xs:sequence>
<xs:element minOccurs="0" name="domain_name" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="getOrgListByDomainResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="submit">
<xs:sequence>
<xs:element name="cmd" type="xs:int"/>
<xs:element minOccurs="0" name="params" type="xs:string"/>
<xs:element minOccurs="0" name="attrs" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="submitResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="authenticate">
<xs:sequence>
<xs:element minOccurs="0" name="user_at_domain" type="xs:string"/>
<xs:element minOccurs="0" name="password" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="authenticateResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="setSessionVar">
<xs:sequence>
<xs:element minOccurs="0" name="ses_id" type="xs:string"/>
<xs:element minOccurs="0" name="ses_key" type="xs:string"/>
<xs:element minOccurs="0" name="ses_var" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="setSessionVarResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="renameUser">
<xs:sequence>
<xs:element minOccurs="0" name="user_at_domain" type="xs:string"/>
<xs:element minOccurs="0" name="new_user_id" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="renameUserResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="addUnit">
<xs:sequence>
<xs:element minOccurs="0" name="org_id" type="xs:string"/>
<xs:element minOccurs="0" name="org_unit_id" type="xs:string"/>
<xs:element minOccurs="0" name="attrs" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="addUnitResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="delUnit">
<xs:sequence>
<xs:element minOccurs="0" name="org_id" type="xs:string"/>
<xs:element minOccurs="0" name="org_unit_id" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="delUnitResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="getAdminType">
<xs:sequence>
<xs:element minOccurs="0" name="user_at_domain" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="getAdminTypeResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="setUnitAttrs">
<xs:sequence>
<xs:element minOccurs="0" name="org_id" type="xs:string"/>
<xs:element minOccurs="0" name="org_unit_id" type="xs:string"/>
<xs:element minOccurs="0" name="attrs" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="setUnitAttrsResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="getOrgCosUser">
<xs:sequence>
<xs:element minOccurs="0" name="org_id" type="xs:string"/>
<xs:element name="cos_id" type="xs:int"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="getOrgCosUserResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="addOrg">
<xs:sequence>
<xs:element minOccurs="0" name="org_id" type="xs:string"/>
<xs:element minOccurs="0" name="attrs" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="addOrgResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="sesRefresh">
<xs:sequence>
<xs:element minOccurs="0" name="ses_id" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="sesRefreshResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="submitJSON">
<xs:sequence>
<xs:element name="cmd" type="xs:int"/>
<xs:element minOccurs="0" name="params" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="submitJSONResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="userExist">
<xs:sequence>
<xs:element minOccurs="0" name="user_at_domain" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="userExistResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="getNewMailInfos">
<xs:sequence>
<xs:element minOccurs="0" name="user_at_domain" type="xs:string"/>
<xs:element minOccurs="0" name="options" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="getNewMailInfosResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="deleteUser">
<xs:sequence>
<xs:element minOccurs="0" name="user_at_domain" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="deleteUserResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="getSmtpAlias">
<xs:sequence>
<xs:element minOccurs="0" name="user_at_domain" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="getSmtpAliasResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="getOrgCosUserMax">
<xs:sequence>
<xs:element minOccurs="0" name="org_id" type="xs:string"/>
<xs:element name="cos_id" type="xs:int"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="getOrgCosUserMaxResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="delSmtpAlias">
<xs:sequence>
<xs:element minOccurs="0" name="user_at_domain" type="xs:string"/>
<xs:element minOccurs="0" name="alias_user_at_domain" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="delSmtpAliasResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="sesTimeOut">
<xs:sequence>
<xs:element minOccurs="0" name="ses_id" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="sesTimeOutResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="getObjAttrs">
<xs:sequence>
<xs:element minOccurs="0" name="obj_uid" type="xs:string"/>
<xs:element minOccurs="0" name="attrs" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="getObjAttrsResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="delOrgCos">
<xs:sequence>
<xs:element minOccurs="0" name="org_id" type="xs:string"/>
<xs:element name="cos_id" type="xs:int"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="delOrgCosResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="getOrgList">
<xs:sequence/>
</xs:complexType>
<xs:complexType name="getOrgListResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="getVersionInfo">
<xs:sequence/>
</xs:complexType>
<xs:complexType name="getVersionInfoResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="addOrgDomain">
<xs:sequence>
<xs:element minOccurs="0" name="org_id" type="xs:string"/>
<xs:element minOccurs="0" name="domain_name" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="addOrgDomainResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="addOrgCos">
<xs:sequence>
<xs:element minOccurs="0" name="org_id" type="xs:string"/>
<xs:element name="cos_id" type="xs:int"/>
<xs:element name="num_of_classes" type="xs:int"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="addOrgCosResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="listMailInfos">
<xs:sequence>
<xs:element minOccurs="0" name="user_at_domain" type="xs:string"/>
<xs:element minOccurs="0" name="options" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="listMailInfosResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="userLogout">
<xs:sequence>
<xs:element minOccurs="0" name="ses_id" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="userLogoutResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="addDomainAlias">
<xs:sequence>
<xs:element minOccurs="0" name="domain_name" type="xs:string"/>
<xs:element minOccurs="0" name="domain_name_alias" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="addDomainAliasResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="smtpTransport">
<xs:sequence>
<xs:element minOccurs="0" name="mail_from" type="xs:string"/>
<xs:element minOccurs="0" name="rcpt_to" type="xs:string"/>
<xs:element minOccurs="0" name="data" type="xs:string"/>
<xs:element minOccurs="0" name="options" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="smtpTransportResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="delOrgDomain">
<xs:sequence>
<xs:element minOccurs="0" name="org_id" type="xs:string"/>
<xs:element minOccurs="0" name="domain_name" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="delOrgDomainResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="getOrgInfo">
<xs:sequence>
<xs:element minOccurs="0" name="org_id" type="xs:string"/>
<xs:element minOccurs="0" name="attrs" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="getOrgInfoResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnInfo"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
</wsdl:types>
<wsdl:message name="userLogin">
<wsdl:part element="tns:userLogin" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getSmtpAliasResponse">
<wsdl:part element="tns:getSmtpAliasResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="deleteUserResponse">
<wsdl:part element="tns:deleteUserResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="moveUserResponse">
<wsdl:part element="tns:moveUserResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="createUser">
<wsdl:part element="tns:createUser" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="addSmtpAlias">
<wsdl:part element="tns:addSmtpAlias" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getNewMailInfosResponse">
<wsdl:part element="tns:getNewMailInfosResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getAttrsResponse">
<wsdl:part element="tns:getAttrsResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="delDomain25Response">
<wsdl:part element="tns:delDomain25Response" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getDomainList">
<wsdl:part element="tns:getDomainList" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="changeAttrs">
<wsdl:part element="tns:changeAttrs" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="setObjAttrs">
<wsdl:part element="tns:setObjAttrs" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="delDomain25">
<wsdl:part element="tns:delDomain25" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getUnitAttrs">
<wsdl:part element="tns:getUnitAttrs" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="changeAttrsResponse">
<wsdl:part element="tns:changeAttrsResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="domainExistResponse">
<wsdl:part element="tns:domainExistResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="domainExist">
<wsdl:part element="tns:domainExist" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="sesRefreshResponse">
<wsdl:part element="tns:sesRefreshResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getDomainListResponse">
<wsdl:part element="tns:getDomainListResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getOrgListByDomain">
<wsdl:part element="tns:getOrgListByDomain" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getOrgCosUserMaxResponse">
<wsdl:part element="tns:getOrgCosUserMaxResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getUnitAttrsResponse">
<wsdl:part element="tns:getUnitAttrsResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="authenticate">
<wsdl:part element="tns:authenticate" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="renameUser">
<wsdl:part element="tns:renameUser" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="addUnit">
<wsdl:part element="tns:addUnit" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="delUnit">
<wsdl:part element="tns:delUnit" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getOrgCosUser">
<wsdl:part element="tns:getOrgCosUser" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="addOrgCosResponse">
<wsdl:part element="tns:addOrgCosResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="sesRefresh">
<wsdl:part element="tns:sesRefresh" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="submitJSON">
<wsdl:part element="tns:submitJSON" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="userExistResponse">
<wsdl:part element="tns:userExistResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="userExist">
<wsdl:part element="tns:userExist" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="addDomain25Response">
<wsdl:part element="tns:addDomain25Response" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="userLogoutResponse">
<wsdl:part element="tns:userLogoutResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="userLoginResponse">
<wsdl:part element="tns:userLoginResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="submitJSONResponse">
<wsdl:part element="tns:submitJSONResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="deleteUser">
<wsdl:part element="tns:deleteUser" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="renameUserResponse">
<wsdl:part element="tns:renameUserResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="delSmtpAlias">
<wsdl:part element="tns:delSmtpAlias" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="delDomainAliasResponse">
<wsdl:part element="tns:delDomainAliasResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getObjAttrs">
<wsdl:part element="tns:getObjAttrs" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="addOrgDomainResponse">
<wsdl:part element="tns:addOrgDomainResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="delOrgCos">
<wsdl:part element="tns:delOrgCos" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="addOrgCos">
<wsdl:part element="tns:addOrgCos" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="listMailInfos">
<wsdl:part element="tns:listMailInfos" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getDomainAliasResponse">
<wsdl:part element="tns:getDomainAliasResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="addOrgResponse">
<wsdl:part element="tns:addOrgResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="smtpTransportResponse">
<wsdl:part element="tns:smtpTransportResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="addDomainAlias">
<wsdl:part element="tns:addDomainAlias" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="smtpTransport">
<wsdl:part element="tns:smtpTransport" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="delOrgDomain">
<wsdl:part element="tns:delOrgDomain" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="listMailInfosResponse">
<wsdl:part element="tns:listMailInfosResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="addDomain25">
<wsdl:part element="tns:addDomain25" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="delSmtpAliasResponse">
<wsdl:part element="tns:delSmtpAliasResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="delOrgCosResponse">
<wsdl:part element="tns:delOrgCosResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="alterOrgCos">
<wsdl:part element="tns:alterOrgCos" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="createObj">
<wsdl:part element="tns:createObj" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="createObjResponse">
<wsdl:part element="tns:createObjResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="addSmtpAliasResponse">
<wsdl:part element="tns:addSmtpAliasResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="moveUser">
<wsdl:part element="tns:moveUser" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getOrgCosUserResponse">
<wsdl:part element="tns:getOrgCosUserResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="createUserResponse">
<wsdl:part element="tns:createUserResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="submitResponse">
<wsdl:part element="tns:submitResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="delUnitResponse">
<wsdl:part element="tns:delUnitResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="setSessionVarResponse">
<wsdl:part element="tns:setSessionVarResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="userLoginExResponse">
<wsdl:part element="tns:userLoginExResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getSessionVar">
<wsdl:part element="tns:getSessionVar" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="setAdminType">
<wsdl:part element="tns:setAdminType" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getDomainAlias">
<wsdl:part element="tns:getDomainAlias" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="deleteObj">
<wsdl:part element="tns:deleteObj" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getOrgListResponse">
<wsdl:part element="tns:getOrgListResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getSesssionVar">
<wsdl:part element="tns:getSesssionVar" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="delDomainAlias">
<wsdl:part element="tns:delDomainAlias" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="addDomainAliasResponse">
<wsdl:part element="tns:addDomainAliasResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getSessionVarResponse">
<wsdl:part element="tns:getSessionVarResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="userLoginEx">
<wsdl:part element="tns:userLoginEx" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="alterOrg">
<wsdl:part element="tns:alterOrg" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getAttrs">
<wsdl:part element="tns:getAttrs" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="submit">
<wsdl:part element="tns:submit" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="setSessionVar">
<wsdl:part element="tns:setSessionVar" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="addUnitResponse">
<wsdl:part element="tns:addUnitResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="alterOrgResponse">
<wsdl:part element="tns:alterOrgResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getAdminType">
<wsdl:part element="tns:getAdminType" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="setUnitAttrs">
<wsdl:part element="tns:setUnitAttrs" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="addOrg">
<wsdl:part element="tns:addOrg" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getOrgInfoResponse">
<wsdl:part element="tns:getOrgInfoResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getNewMailInfos">
<wsdl:part element="tns:getNewMailInfos" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="authenticateResponse">
<wsdl:part element="tns:authenticateResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getSmtpAlias">
<wsdl:part element="tns:getSmtpAlias" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="sesTimeOutResponse">
<wsdl:part element="tns:sesTimeOutResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="setAdminTypeResponse">
<wsdl:part element="tns:setAdminTypeResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getOrgCosUserMax">
<wsdl:part element="tns:getOrgCosUserMax" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="sesTimeOut">
<wsdl:part element="tns:sesTimeOut" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="deleteObjResponse">
<wsdl:part element="tns:deleteObjResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getSesssionVarResponse">
<wsdl:part element="tns:getSesssionVarResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getObjAttrsResponse">
<wsdl:part element="tns:getObjAttrsResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getOrgList">
<wsdl:part element="tns:getOrgList" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getVersionInfo">
<wsdl:part element="tns:getVersionInfo" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="addOrgDomain">
<wsdl:part element="tns:addOrgDomain" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="setObjAttrsResponse">
<wsdl:part element="tns:setObjAttrsResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getOrgListByDomainResponse">
<wsdl:part element="tns:getOrgListByDomainResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="delOrgDomainResponse">
<wsdl:part element="tns:delOrgDomainResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="setUnitAttrsResponse">
<wsdl:part element="tns:setUnitAttrsResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="userLogout">
<wsdl:part element="tns:userLogout" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getVersionInfoResponse">
<wsdl:part element="tns:getVersionInfoResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getAdminTypeResponse">
<wsdl:part element="tns:getAdminTypeResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="alterOrgCosResponse">
<wsdl:part element="tns:alterOrgCosResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getOrgInfo">
<wsdl:part element="tns:getOrgInfo" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:portType name="API">
<wsdl:operation name="addDomain25">
<wsdl:input message="tns:addDomain25" name="addDomain25"></wsdl:input>
<wsdl:output message="tns:addDomain25Response" name="addDomain25Response"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="alterOrgCos">
<wsdl:input message="tns:alterOrgCos" name="alterOrgCos"></wsdl:input>
<wsdl:output message="tns:alterOrgCosResponse" name="alterOrgCosResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="createObj">
<wsdl:input message="tns:createObj" name="createObj"></wsdl:input>
<wsdl:output message="tns:createObjResponse" name="createObjResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="userLogin">
<wsdl:input message="tns:userLogin" name="userLogin"></wsdl:input>
<wsdl:output message="tns:userLoginResponse" name="userLoginResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="moveUser">
<wsdl:input message="tns:moveUser" name="moveUser"></wsdl:input>
<wsdl:output message="tns:moveUserResponse" name="moveUserResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="createUser">
<wsdl:input message="tns:createUser" name="createUser"></wsdl:input>
<wsdl:output message="tns:createUserResponse" name="createUserResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="addSmtpAlias">
<wsdl:input message="tns:addSmtpAlias" name="addSmtpAlias"></wsdl:input>
<wsdl:output message="tns:addSmtpAliasResponse" name="addSmtpAliasResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="getDomainList">
<wsdl:input message="tns:getDomainList" name="getDomainList"></wsdl:input>
<wsdl:output message="tns:getDomainListResponse" name="getDomainListResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="changeAttrs">
<wsdl:input message="tns:changeAttrs" name="changeAttrs"></wsdl:input>
<wsdl:output message="tns:changeAttrsResponse" name="changeAttrsResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="setObjAttrs">
<wsdl:input message="tns:setObjAttrs" name="setObjAttrs"></wsdl:input>
<wsdl:output message="tns:setObjAttrsResponse" name="setObjAttrsResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="getSessionVar">
<wsdl:input message="tns:getSessionVar" name="getSessionVar"></wsdl:input>
<wsdl:output message="tns:getSessionVarResponse" name="getSessionVarResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="setAdminType">
<wsdl:input message="tns:setAdminType" name="setAdminType"></wsdl:input>
<wsdl:output message="tns:setAdminTypeResponse" name="setAdminTypeResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="delDomain25">
<wsdl:input message="tns:delDomain25" name="delDomain25"></wsdl:input>
<wsdl:output message="tns:delDomain25Response" name="delDomain25Response"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="getUnitAttrs">
<wsdl:input message="tns:getUnitAttrs" name="getUnitAttrs"></wsdl:input>
<wsdl:output message="tns:getUnitAttrsResponse" name="getUnitAttrsResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="getDomainAlias">
<wsdl:input message="tns:getDomainAlias" name="getDomainAlias"></wsdl:input>
<wsdl:output message="tns:getDomainAliasResponse" name="getDomainAliasResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="deleteObj">
<wsdl:input message="tns:deleteObj" name="deleteObj"></wsdl:input>
<wsdl:output message="tns:deleteObjResponse" name="deleteObjResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="getSesssionVar">
<wsdl:input message="tns:getSesssionVar" name="getSesssionVar"></wsdl:input>
<wsdl:output message="tns:getSesssionVarResponse" name="getSesssionVarResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="delDomainAlias">
<wsdl:input message="tns:delDomainAlias" name="delDomainAlias"></wsdl:input>
<wsdl:output message="tns:delDomainAliasResponse" name="delDomainAliasResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="domainExist">
<wsdl:input message="tns:domainExist" name="domainExist"></wsdl:input>
<wsdl:output message="tns:domainExistResponse" name="domainExistResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="userLoginEx">
<wsdl:input message="tns:userLoginEx" name="userLoginEx"></wsdl:input>
<wsdl:output message="tns:userLoginExResponse" name="userLoginExResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="alterOrg">
<wsdl:input message="tns:alterOrg" name="alterOrg"></wsdl:input>
<wsdl:output message="tns:alterOrgResponse" name="alterOrgResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="getAttrs">
<wsdl:input message="tns:getAttrs" name="getAttrs"></wsdl:input>
<wsdl:output message="tns:getAttrsResponse" name="getAttrsResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="getOrgListByDomain">
<wsdl:input message="tns:getOrgListByDomain" name="getOrgListByDomain"></wsdl:input>
<wsdl:output message="tns:getOrgListByDomainResponse" name="getOrgListByDomainResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="submit">
<wsdl:input message="tns:submit" name="submit"></wsdl:input>
<wsdl:output message="tns:submitResponse" name="submitResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="authenticate">
<wsdl:input message="tns:authenticate" name="authenticate"></wsdl:input>
<wsdl:output message="tns:authenticateResponse" name="authenticateResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="setSessionVar">
<wsdl:input message="tns:setSessionVar" name="setSessionVar"></wsdl:input>
<wsdl:output message="tns:setSessionVarResponse" name="setSessionVarResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="renameUser">
<wsdl:input message="tns:renameUser" name="renameUser"></wsdl:input>
<wsdl:output message="tns:renameUserResponse" name="renameUserResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="addUnit">
<wsdl:input message="tns:addUnit" name="addUnit"></wsdl:input>
<wsdl:output message="tns:addUnitResponse" name="addUnitResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="delUnit">
<wsdl:input message="tns:delUnit" name="delUnit"></wsdl:input>
<wsdl:output message="tns:delUnitResponse" name="delUnitResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="getAdminType">
<wsdl:input message="tns:getAdminType" name="getAdminType"></wsdl:input>
<wsdl:output message="tns:getAdminTypeResponse" name="getAdminTypeResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="setUnitAttrs">
<wsdl:input message="tns:setUnitAttrs" name="setUnitAttrs"></wsdl:input>
<wsdl:output message="tns:setUnitAttrsResponse" name="setUnitAttrsResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="getOrgCosUser">
<wsdl:input message="tns:getOrgCosUser" name="getOrgCosUser"></wsdl:input>
<wsdl:output message="tns:getOrgCosUserResponse" name="getOrgCosUserResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="addOrg">
<wsdl:input message="tns:addOrg" name="addOrg"></wsdl:input>
<wsdl:output message="tns:addOrgResponse" name="addOrgResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="sesRefresh">
<wsdl:input message="tns:sesRefresh" name="sesRefresh"></wsdl:input>
<wsdl:output message="tns:sesRefreshResponse" name="sesRefreshResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="submitJSON">
<wsdl:input message="tns:submitJSON" name="submitJSON"></wsdl:input>
<wsdl:output message="tns:submitJSONResponse" name="submitJSONResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="userExist">
<wsdl:input message="tns:userExist" name="userExist"></wsdl:input>
<wsdl:output message="tns:userExistResponse" name="userExistResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="getNewMailInfos">
<wsdl:input message="tns:getNewMailInfos" name="getNewMailInfos"></wsdl:input>
<wsdl:output message="tns:getNewMailInfosResponse" name="getNewMailInfosResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="deleteUser">
<wsdl:input message="tns:deleteUser" name="deleteUser"></wsdl:input>
<wsdl:output message="tns:deleteUserResponse" name="deleteUserResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="getSmtpAlias">
<wsdl:input message="tns:getSmtpAlias" name="getSmtpAlias"></wsdl:input>
<wsdl:output message="tns:getSmtpAliasResponse" name="getSmtpAliasResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="getOrgCosUserMax">
<wsdl:input message="tns:getOrgCosUserMax" name="getOrgCosUserMax"></wsdl:input>
<wsdl:output message="tns:getOrgCosUserMaxResponse" name="getOrgCosUserMaxResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="delSmtpAlias">
<wsdl:input message="tns:delSmtpAlias" name="delSmtpAlias"></wsdl:input>
<wsdl:output message="tns:delSmtpAliasResponse" name="delSmtpAliasResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="sesTimeOut">
<wsdl:input message="tns:sesTimeOut" name="sesTimeOut"></wsdl:input>
<wsdl:output message="tns:sesTimeOutResponse" name="sesTimeOutResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="getObjAttrs">
<wsdl:input message="tns:getObjAttrs" name="getObjAttrs"></wsdl:input>
<wsdl:output message="tns:getObjAttrsResponse" name="getObjAttrsResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="delOrgCos">
<wsdl:input message="tns:delOrgCos" name="delOrgCos"></wsdl:input>
<wsdl:output message="tns:delOrgCosResponse" name="delOrgCosResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="getOrgList">
<wsdl:input message="tns:getOrgList" name="getOrgList"></wsdl:input>
<wsdl:output message="tns:getOrgListResponse" name="getOrgListResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="getVersionInfo">
<wsdl:input message="tns:getVersionInfo" name="getVersionInfo"></wsdl:input>
<wsdl:output message="tns:getVersionInfoResponse" name="getVersionInfoResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="addOrgDomain">
<wsdl:input message="tns:addOrgDomain" name="addOrgDomain"></wsdl:input>
<wsdl:output message="tns:addOrgDomainResponse" name="addOrgDomainResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="addOrgCos">
<wsdl:input message="tns:addOrgCos" name="addOrgCos"></wsdl:input>
<wsdl:output message="tns:addOrgCosResponse" name="addOrgCosResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="listMailInfos">
<wsdl:input message="tns:listMailInfos" name="listMailInfos"></wsdl:input>
<wsdl:output message="tns:listMailInfosResponse" name="listMailInfosResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="userLogout">
<wsdl:input message="tns:userLogout" name="userLogout"></wsdl:input>
<wsdl:output message="tns:userLogoutResponse" name="userLogoutResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="addDomainAlias">
<wsdl:input message="tns:addDomainAlias" name="addDomainAlias"></wsdl:input>
<wsdl:output message="tns:addDomainAliasResponse" name="addDomainAliasResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="smtpTransport">
<wsdl:input message="tns:smtpTransport" name="smtpTransport"></wsdl:input>
<wsdl:output message="tns:smtpTransportResponse" name="smtpTransportResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="delOrgDomain">
<wsdl:input message="tns:delOrgDomain" name="delOrgDomain"></wsdl:input>
<wsdl:output message="tns:delOrgDomainResponse" name="delOrgDomainResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="getOrgInfo">
<wsdl:input message="tns:getOrgInfo" name="getOrgInfo"></wsdl:input>
<wsdl:output message="tns:getOrgInfoResponse" name="getOrgInfoResponse"></wsdl:output>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="APISoapBinding" type="tns:API">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="addDomain25">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="addDomain25">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="addDomain25Response">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="createObj">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="createObj">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="createObjResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="alterOrgCos">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="alterOrgCos">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="alterOrgCosResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="userLogin">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="userLogin">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="userLoginResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="moveUser">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="moveUser">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="moveUserResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="createUser">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="createUser">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="createUserResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="addSmtpAlias">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="addSmtpAlias">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="addSmtpAliasResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getDomainList">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="getDomainList">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="getDomainListResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="setObjAttrs">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="setObjAttrs">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="setObjAttrsResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="changeAttrs">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="changeAttrs">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="changeAttrsResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getSessionVar">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="getSessionVar">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="getSessionVarResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="setAdminType">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="setAdminType">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="setAdminTypeResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="delDomain25">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="delDomain25">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="delDomain25Response">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getUnitAttrs">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="getUnitAttrs">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="getUnitAttrsResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getDomainAlias">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="getDomainAlias">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="getDomainAliasResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="deleteObj">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="deleteObj">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="deleteObjResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getSesssionVar">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="getSesssionVar">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="getSesssionVarResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="delDomainAlias">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="delDomainAlias">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="delDomainAliasResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="domainExist">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="domainExist">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="domainExistResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="userLoginEx">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="userLoginEx">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="userLoginExResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="alterOrg">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="alterOrg">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="alterOrgResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getAttrs">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="getAttrs">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="getAttrsResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getOrgListByDomain">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="getOrgListByDomain">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="getOrgListByDomainResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="submit">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="submit">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="submitResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="authenticate">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="authenticate">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="authenticateResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="setSessionVar">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="setSessionVar">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="setSessionVarResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="renameUser">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="renameUser">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="renameUserResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="addUnit">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="addUnit">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="addUnitResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="delUnit">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="delUnit">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="delUnitResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getAdminType">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="getAdminType">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="getAdminTypeResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="setUnitAttrs">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="setUnitAttrs">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="setUnitAttrsResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getOrgCosUser">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="getOrgCosUser">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="getOrgCosUserResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="addOrg">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="addOrg">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="addOrgResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="sesRefresh">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="sesRefresh">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="sesRefreshResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="submitJSON">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="submitJSON">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="submitJSONResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="userExist">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="userExist">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="userExistResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getNewMailInfos">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="getNewMailInfos">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="getNewMailInfosResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="deleteUser">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="deleteUser">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="deleteUserResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getSmtpAlias">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="getSmtpAlias">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="getSmtpAliasResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getOrgCosUserMax">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="getOrgCosUserMax">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="getOrgCosUserMaxResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="delSmtpAlias">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="delSmtpAlias">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="delSmtpAliasResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="sesTimeOut">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="sesTimeOut">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="sesTimeOutResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getObjAttrs">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="getObjAttrs">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="getObjAttrsResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="delOrgCos">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="delOrgCos">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="delOrgCosResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getOrgList">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="getOrgList">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="getOrgListResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getVersionInfo">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="getVersionInfo">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="getVersionInfoResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="addOrgDomain">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="addOrgDomain">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="addOrgDomainResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="addOrgCos">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="addOrgCos">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="addOrgCosResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="listMailInfos">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="listMailInfos">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="listMailInfosResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="userLogout">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="userLogout">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="userLogoutResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="addDomainAlias">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="addDomainAlias">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="addDomainAliasResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="smtpTransport">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="smtpTransport">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="smtpTransportResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="delOrgDomain">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="delOrgDomain">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="delOrgDomainResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getOrgInfo">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="getOrgInfo">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="getOrgInfoResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="API">
<wsdl:port binding="tns:APISoapBinding" name="APIPort">
<soap:address location="http://<my-ws-host>:<my-ws-port>/apiws/services/API"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

@stale stale bot added the stale label Sep 2, 2017
@stale
Copy link

stale bot commented Sep 2, 2017

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@jmmeijer
Copy link

jmmeijer commented Sep 2, 2017

This issue is related to loopbackio/loopback-datasource-juggler#1412. Several workarounds have been suggested, but the issue itself still remains. I couldn't find out in which module the cause lies.

@stale stale bot removed the stale label Sep 2, 2017
@stale
Copy link

stale bot commented Nov 1, 2017

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Nov 1, 2017
@stale
Copy link

stale bot commented Nov 15, 2017

This issue has been closed due to continued inactivity. Thank you for your understanding. If you believe this to be in error, please contact one of the code owners, listed in the CODEOWNERS file at the top-level of this repository.

@stale stale bot closed this as completed Nov 15, 2017
@liudonghua123
Copy link
Author

I updated the latest dependencies, but still the same error.

my dependencies part of package.json is below.

  "dependencies": {
    "compression": "^1.7.1",
    "cors": "^2.8.4",
    "helmet": "^3.9.0",
    "loopback": "^3.17.1",
    "loopback-boot": "^2.27.0",
    "loopback-component-explorer": "^5.2.0",
    "loopback-connector-soap": "^4.0.1",
    "serve-favicon": "^2.4.5",
    "strong-error-handler": "^2.3.0"
  }

When I invoke an endpoint on loopback-explorer like /api/APISoapBinding/authenticate. The following error is shown.

image

The error message of backend console is.

未处理请求 POST /api/APISoapBinding/authenticate 的错误:Error: faultcode: soap:Client faultstring: Unmarshalling Error: 意外的元素 (uri:"", local:"__cachedRelations")
。所需元素为<{}password>,<{}user_at_domain>
    at XMLHandler.xmlToJson (D:\code\loopback\ynu-mail-ws\node_modules\strong-soap\src\parser\xmlHandler.js:637:23)
    at D:\code\loopback\ynu-mail-ws\node_modules\strong-soap\src\client.js:279:28
    at D:\code\loopback\ynu-mail-ws\node_modules\loopback-datasource-juggler\lib\observer.js:250:22
    at doNotify (D:\code\loopback\ynu-mail-ws\node_modules\loopback-datasource-juggler\lib\observer.js:155:49)
    at SOAPConnector.ObserverMixin._notifyBaseObservers (D:\code\loopback\ynu-mail-ws\node_modules\loopback-datasource-juggler\lib\observer.js:178:5)
    at SOAPConnector.ObserverMixin.notifyObserversOf (D:\code\loopback\ynu-mail-ws\node_modules\loopback-datasource-juggler\lib\observer.js:153:8)
    at cbForWork (D:\code\loopback\ynu-mail-ws\node_modules\loopback-datasource-juggler\lib\observer.js:240:14)
    at Request._callback (D:\code\loopback\ynu-mail-ws\node_modules\loopback-connector-soap\lib\http.js:98:9)
    at Request.self.callback (D:\code\loopback\ynu-mail-ws\node_modules\request\request.js:186:22)
    at Request.emit (events.js:159:13)
    at Request.<anonymous> (D:\code\loopback\ynu-mail-ws\node_modules\request\request.js:1163:10)
    at Request.emit (events.js:159:13)
    at IncomingMessage.<anonymous> (D:\code\loopback\ynu-mail-ws\node_modules\request\request.js:1085:12)
    at Object.onceWrapper (events.js:254:19)
    at IncomingMessage.emit (events.js:164:20)
    at endReadableNT (_stream_readable.js:1062:12)

@dhmlau dhmlau reopened this Aug 14, 2018
@bajtos
Copy link
Member

bajtos commented Sep 4, 2018

Please note that models backed by a service connectors (soap, REST, remote) must be configured with Model as the base model, not PersistedModel! I strongly suspect that the additional properties like __cachedRelations and __data are coming from the PersistedModel.

To fix that, I think we need to modify the code building model definitions to include base: 'Model setting, because by default, LoopBack uses PersistedModel as the base class.

https://github.com/strongloop/loopback-soap/blob/029cb3c72a39e27438c8ea8d8f92cca8c7f4617d/lib/codegen/generator-soap.js#L287-L290

Additionally, as has been mentioned in loopbackio/loopback-datasource-juggler#1412 (comment), we may need to fix the code passing data to SOAP endpoints to call .toObject() first. I think it would be safer to call .toJSON() instead, because toJSON is a standard JavaScript API, while toObject() is a LoopBack addition. The comment in juggler is mentioning the following place where to make the change. I am not familiar with this codebase enough to be able to tell whether it's the right place.

https://github.com/strongloop/loopback-soap/blob/029cb3c72a39e27438c8ea8d8f92cca8c7f4617d/lib/codegen/model.ejs#L29-L30

See also loopbackio/loopback-datasource-juggler#1412 (comment)

@bajtos bajtos added bug and removed stale labels Sep 4, 2018
@liudonghua123
Copy link
Author

@bajtos I reviewed the code generated in common/models, all the base settings are Model not PersistedModel, but the problem still remains.

@stale
Copy link

stale bot commented Sep 17, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Sep 17, 2019
@bajtos bajtos added major and removed stale labels Sep 27, 2019
@bajtos bajtos changed the title Unexpected Element generated Unexpected Element generated (__cachedRelations included in payload message) Sep 27, 2019
@bajtos
Copy link
Member

bajtos commented Sep 27, 2019

@liudonghua123 thank you for the confirmation.

I am afraid we don't have bandwidth to look into this issue ourselves, would you like to debug the problem yourself and contribute a pull request to fix it?

See my #77 (comment) for few suggestions where to start.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants