Web Service: UserServiceService

Target Namespace:
http://api.lmssambatech.com.br/app_dev.php/api/soap/user/

Port UserServicePort Port typeSource code

Location PROD:
http://api.lmssambatech.com.br/app_dev.php/api/soap/user/
Location HML:
http://apihml.lmssambatech.com.br/app_dev.php/api/soap/user/
Protocol:
SOAP
Default style:
rpc
Transport protocol:
SOAP over HTTP
Operations:

Operations

    Port type UserServicePortSource code

    1. Criar
      Description:
      Criar usuario
      Operation type:
      Request-response. The endpoint receives a message, and sends a correlated message.
      SOAP action:
      http://api.lmssambatech.com.br/app_dev.php/api/soap/user/#Criar
      Input:
      CriarIn (soap:body, use = encoded)Source code
      token type string
      parameters type anyType
      parameters.situacaoAfastamento type String
      parameters.job_role type String
      parameters.sector type String
      parameters.email type String
      parameters.enabled type Boolean
      parameters.first_name type String
      parameters.last_name type String
      parameters.celphone type String
      parameters.phone type String
      parameters.numEmp type Int
      parameters.tipCol type Int
      parameters.numCad type Int
      parameters.numCadSuperior type Int
      parameters.codPes type Int
      parameters.photo type String
      parameters.grupo type String
      parameters.cpf type String
      parameters.gestao type String
      parameters.login type String
      <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://unimed.com.br">
           <soapenv:Header/>
           <soapenv:Body>
                <user:Criar>
                     <token>String</token>
                     <parameters>
                          <situacaoAfastamento>String<situacaoAfastamento>
                          <job_role>String</job_role>
                          <sector>Int</sector>
                          <email>String</email>
                          <enabled>Boolean</enabled>
                          <first_name>String</first_name>
                          <last_name>String</last_name>
                          <celphone>String</celphone>
                          <phone>String</phone>
                          <numEmp>Int</numEmp>
                          <tipCol>Int</tipCol>
                          <numCad>Int</numCad>
                          <numCadSuperior>Int</numCadSuperior>
                          <codPes>Int</codPes>
                          <photo>String</photo>
                          <grupo>String</grupo>
                          <cpf>String</cpf>
                          <gestao>String</gestao>
                          <login>String</login>
                     </parameters>
                </user:Criar>
           </soapenv:Body>
      </soapenv:Envelope>
      Output:
      CriarOut (soap:body, use = encoded)Source code
      return type Array
      codRet type Int
      numCad type String
      menRet type String
      <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://unimed.com.br">
           <soapenv:Body>
                <ns1:RemoverResponse>
                     <return>
                          <codRet>Int</codRet>
                          <numCad>String</numCad>
                          <menRet>String</menRet>
                     </return>
                </ns1:RemoverResponse>
           </soapenv:Body>
      </soapenv:Envelope>
    2. Desativar
      Description:
      Desativar usuario
      Operation type:
      Request-response. The endpoint receives a message, and sends a correlated message.
      SOAP action:
      http://api.lmssambatech.com.br/app_dev.php/api/soap/user/#Desativar
      Input:
      DesativarIn (soap:body, use = encoded)Source code
      token type string
      id type Int
      numCad type string
      login type string
      grupo type string
      <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://unimed.com.br">
           <soapenv:Header/>
           <soapenv:Body>
                <ins:Desativar>
                     <token>String</token>
                     <id>Int</id>
                     <numCad>String</numCad>
                     <login>String</login>
                     <grupo>String</grupo>
                </ins:Desativar>
           </soapenv:Body>
      </soapenv:Envelope>
      Output:
      DesativarOut (soap:body, use = encoded)Source code
      return type Array
      codRet type Int
      menRet type String
      <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://unimed.com.br">
           <soapenv:Body>
                <ns1:DesativarResponse>
                     <return>
                          <codRet>Int</codRet>
                          <menRet>String</menRet>
                     </return>
                </ns1:DesativarResponse>
           </soapenv:Body>
      </soapenv:Envelope>
    3. Editar
      Description:
      Atualizar usuario
      Operation type:
      Request-response. The endpoint receives a message, and sends a correlated message.
      SOAP action:
      http://api.lmssambatech.com.br/app_dev.php/api/soap/user/#Editar
      Input:
      EditarIn (soap:body, use = encoded)Source code
      token type string
      parameters type Array
      parameters.id type Int
      parameters.situacaoAfastamento type String
      parameters.job_role type String
      parameters.sector type String
      parameters.email type String
      parameters.enabled type Boolean
      parameters.first_name type String
      parameters.last_name type String
      parameters.celphone type String
      parameters.phone type String
      parameters.numEmp type Int
      parameters.tipCol type Int
      parameters.numCad type Int
      parameters.numCadSuperior type Int
      parameters.codPes type Int
      parameters.photo type String
      parameters.grupo type String
      parameters.cpf type String
      parameters.gestao type String
      parameters.login type String
      <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://unimed.com.br">
           <soapenv:Header/>
           <soapenv:Body>
                <user:Editar>
                     <token>String</token>
                     <parameters>
                          <id>String</id>
                          <situacaoAfastamento>String</situacaoAfastamento>
                          <job_role>String</job_role>
                          <sector>Int</sector>
                          <email>String</email>
                          <enabled>Boolean</enabled>
                          <first_name>String</first_name>
                          <last_name>String</last_name>
                          <celphone>String</celphone>
                          <phone>String</phone>
                          <numEmp>Int</numEmp>
                          <tipCol>Int</tipCol>
                          <numCad>Int</numCad>
                          <numCadSuperior>Int</numCadSuperior>
                          <codPes>Int</codPes>
                          <photo>String</photo>
                          <grupo>String</grupo>
                          <cpf>String</cpf>
                          <gestao>String</gestao>
                          <login>String</login>
                     </parameters>
                </user:Editar>
           </soapenv:Body>
      </soapenv:Envelope>
      Output:
      EditarOut (soap:body, use = encoded)Source code
      return type Array
      codRet type Int
      numCad type String
      menRet type String
      <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://unimed.com.br">
           <soapenv:Body>
                <ns1:EditarResponse>
                     <return>
                          <codRet>Int</codRet>
                          <numCad>String</numCad>
                          <menRet>String</menRet>
                     </return>
                </ns1:EditarResponse>
           </soapenv:Body>
      </soapenv:Envelope>
    4. Listar
      Description:
      Listar usuarios
      Operation type:
      Request-response. The endpoint receives a message, and sends a correlated message.
      SOAP action:
      http://api.lmssambatech.com.br/app_dev.php/api/soap/user/#Listar
      Input:
      ListarIn (soap:body, use = encoded)Source code
      token type string
      numCad type string
      login type string
      grupo type string
      <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://unimed.com.br">
           <soapenv:Header/>
           <soapenv:Body>
                <ins:Listar>
                     <token>String</token>
                     <numCad>String</numCad>
                     <login>String</login>
                     <grupo>String</grupo>
                </ins:Listar>
           </soapenv:Body>
      </soapenv:Envelope>
      Output:
      ListarOut (soap:body, use = encoded)Source code
      return type Array
      codRet type Int
      erroExecucao type String
      usuarios type Array
      item.id type Int
      item.user_status type String
      item.job_role type String
      item.sector type String
      item.email type String
      item.enabled type Boolean
      item.first_name type String
      item.last_name type String
      item.celphone type String
      item.phone type String
      item.numEmp type Int
      item.tipCol type Int
      item.numCad type Int
      item.numCadSuperior type Int
      item.codPes type Int
      <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://unimed.com.br">
           <soapenv:Header/>
           <soapenv:Body>
                <ns1:ListarResponse>
                     <return>
                          <codRet>Int</codRet>
                          <erroExecucao>String</erroExecucao>
                          <usuarios>
                               <item>
                                    <id>Int</id>
                                    <user_status>String</user_status>
                                    <job_role>String</job_role>
                                    <sector>Int</sector>
                                    <email>String</email>
                                    <enabled>Boolean</enabled>
                                    <first_name>String</first_name>
                                    <last_name>String</last_name>
                                    <celphone>String</celphone>
                                    <phone>String</phone>
                                    <numEmp>Int</numEmp>
                                    <tipCol>Int</tipCol>
                                    <numCad>Int</numCad>
                                    <numCadSuperior>Int</numCadSuperior>
                                    <codPes>Int</codPes>
                               <item>
                          </usuarios>
                     </return>
                </ns1:ListarResponse>
           </soapenv:Body>
      </soapenv:Envelope>
    5. GetToken
      Description:
      Obtem o token para autenticação
      Operation type:
      Request-response. The endpoint receives a message, and sends a correlated message.
      SOAP action:
      http://api.lmssambatech.com.br/app_dev.php/api/soap/user/#GetToken
      Input:
      GetTokenIn (soap:body, use = encoded)Source code
      user type string
      password type string
      <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://unimed.com.br">
           <soapenv:Header/>
           <soapenv:Body>
                <ins:GetToken>
                     <user>String</user>
                     <password>String</password>
                </ins:GetToken>
           </soapenv:Body>
      </soapenv:Envelope>
      Output:
      GetTokenOut (soap:body, use = encoded)Source code
      return type Array
      token type String
      <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://unimed.com.br">
           <soapenv:Header/>
           <soapenv:Body>
                <ns1:GetTokenResponse>
                     <return>
                          <token>Int</token>
                     </return>
                </ns1:GetTokenResponse>
           </soapenv:Body>
      </soapenv:Envelope>

WSDL source code

<?xml version="1.0"?>
<definitions name="UserService" targetNamespace="http://api.lmssambatech.com.br/app_dev.php/api/soap/user/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns="http://api.lmssambatech.com.br/app_dev.php/api/soap/user/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
>
<binding name="UserServiceBinding" type="tns:UserServicePort"> </binding>
</definitions>

About wsdl-viewer.xsl

This document was generated by SAXON 9.1.0.8 from Saxonica XSLT engine. The engine processed the WSDL in XSLT 2.0 compliant mode.
This page has been generated by wsdl-viewer.xsl, version 3.1.02
Author: tomi vanek
Download at http://tomi.vanek.sk/xml/wsdl-viewer.xsl.

The transformation was inspired by the article
Uche Ogbuji: WSDL processing with XSLT