Integracao
Clique aqui para obter uma lista completa das operações.
GetCadastrosEmpresas
Testar
O formulário de teste está disponível somente para solicitações na máquina local.SOAP 1.1
O exemplo a seguir mostra uma solicitação e uma resposta SOAP 1.1. Os espaços reservados mostrados devem ser substituídos por valores reais.
POST /Integracao.asmx HTTP/1.1 Host: 177.23.157.36 Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/GetCadastrosEmpresas" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <Credencial xmlns="http://tempuri.org/"> <autenticacao>string</autenticacao> </Credencial> </soap:Header> <soap:Body> <GetCadastrosEmpresas xmlns="http://tempuri.org/"> <VendedorId>string</VendedorId> </GetCadastrosEmpresas> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <GetCadastrosEmpresasResponse xmlns="http://tempuri.org/"> <GetCadastrosEmpresasResult> <CadastrosEmpresas> <Id>string</Id> <CadastroId>string</CadastroId> <ComplCadastroId>string</ComplCadastroId> <EmpresaId>string</EmpresaId> <TabelaId>int</TabelaId> </CadastrosEmpresas> <CadastrosEmpresas> <Id>string</Id> <CadastroId>string</CadastroId> <ComplCadastroId>string</ComplCadastroId> <EmpresaId>string</EmpresaId> <TabelaId>int</TabelaId> </CadastrosEmpresas> </GetCadastrosEmpresasResult> </GetCadastrosEmpresasResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
O exemplo a seguir mostra uma solicitação e uma resposta SOAP 1.2. Os espaços reservados mostrados devem ser substituídos por valores reais.
POST /Integracao.asmx HTTP/1.1 Host: 177.23.157.36 Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Header> <Credencial xmlns="http://tempuri.org/"> <autenticacao>string</autenticacao> </Credencial> </soap12:Header> <soap12:Body> <GetCadastrosEmpresas xmlns="http://tempuri.org/"> <VendedorId>string</VendedorId> </GetCadastrosEmpresas> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <GetCadastrosEmpresasResponse xmlns="http://tempuri.org/"> <GetCadastrosEmpresasResult> <CadastrosEmpresas> <Id>string</Id> <CadastroId>string</CadastroId> <ComplCadastroId>string</ComplCadastroId> <EmpresaId>string</EmpresaId> <TabelaId>int</TabelaId> </CadastrosEmpresas> <CadastrosEmpresas> <Id>string</Id> <CadastroId>string</CadastroId> <ComplCadastroId>string</ComplCadastroId> <EmpresaId>string</EmpresaId> <TabelaId>int</TabelaId> </CadastrosEmpresas> </GetCadastrosEmpresasResult> </GetCadastrosEmpresasResponse> </soap12:Body> </soap12:Envelope>