AbacosWSERP


Clique aqui para obter uma lista completa das operações.

ProdutoExiste

Este método deve ser usado para identificar se um produto existe na base de dados do ÁBACOS.

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 /AbacosWSerp.asmx HTTP/1.1
Host: ws.kplcloud.onclick.com.br
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.kplsolucoes.com.br/ABACOSWebService/ProdutoExiste"

<?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>
    <ProdutoExiste xmlns="http://www.kplsolucoes.com.br/ABACOSWebService">
      <ChaveIdentificacao>string</ChaveIdentificacao>
      <ListaDeNumerosDeProdutosRows>
        <ListaDeNumerosDeProdutos>
          <CodigoProduto>string</CodigoProduto>
          <CodigoProdutoAbacos>string</CodigoProdutoAbacos>
          <CodigoBarras>string</CodigoBarras>
        </ListaDeNumerosDeProdutos>
        <ListaDeNumerosDeProdutos>
          <CodigoProduto>string</CodigoProduto>
          <CodigoProdutoAbacos>string</CodigoProdutoAbacos>
          <CodigoBarras>string</CodigoBarras>
        </ListaDeNumerosDeProdutos>
      </ListaDeNumerosDeProdutosRows>
    </ProdutoExiste>
  </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>
    <ProdutoExisteResponse xmlns="http://www.kplsolucoes.com.br/ABACOSWebService">
      <ProdutoExisteResult>
        <Rows>
          <DadosProdutosExistentes>
            <CodigoProduto>string</CodigoProduto>
            <CodigoProdutoAbacos>string</CodigoProdutoAbacos>
            <CodigoBarras>string</CodigoBarras>
            <UnidadesNegocio>string</UnidadesNegocio>
            <CodigosInterfaces>string</CodigosInterfaces>
            <Existente>boolean</Existente>
            <ProdutoAtivo>boolean</ProdutoAtivo>
            <Resultado xsi:nil="true" />
          </DadosProdutosExistentes>
          <DadosProdutosExistentes>
            <CodigoProduto>string</CodigoProduto>
            <CodigoProdutoAbacos>string</CodigoProdutoAbacos>
            <CodigoBarras>string</CodigoBarras>
            <UnidadesNegocio>string</UnidadesNegocio>
            <CodigosInterfaces>string</CodigosInterfaces>
            <Existente>boolean</Existente>
            <ProdutoAtivo>boolean</ProdutoAtivo>
            <Resultado xsi:nil="true" />
          </DadosProdutosExistentes>
        </Rows>
      </ProdutoExisteResult>
    </ProdutoExisteResponse>
  </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 /AbacosWSerp.asmx HTTP/1.1
Host: ws.kplcloud.onclick.com.br
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>
    <ProdutoExiste xmlns="http://www.kplsolucoes.com.br/ABACOSWebService">
      <ChaveIdentificacao>string</ChaveIdentificacao>
      <ListaDeNumerosDeProdutosRows>
        <ListaDeNumerosDeProdutos>
          <CodigoProduto>string</CodigoProduto>
          <CodigoProdutoAbacos>string</CodigoProdutoAbacos>
          <CodigoBarras>string</CodigoBarras>
        </ListaDeNumerosDeProdutos>
        <ListaDeNumerosDeProdutos>
          <CodigoProduto>string</CodigoProduto>
          <CodigoProdutoAbacos>string</CodigoProdutoAbacos>
          <CodigoBarras>string</CodigoBarras>
        </ListaDeNumerosDeProdutos>
      </ListaDeNumerosDeProdutosRows>
    </ProdutoExiste>
  </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>
    <ProdutoExisteResponse xmlns="http://www.kplsolucoes.com.br/ABACOSWebService">
      <ProdutoExisteResult>
        <Rows>
          <DadosProdutosExistentes>
            <CodigoProduto>string</CodigoProduto>
            <CodigoProdutoAbacos>string</CodigoProdutoAbacos>
            <CodigoBarras>string</CodigoBarras>
            <UnidadesNegocio>string</UnidadesNegocio>
            <CodigosInterfaces>string</CodigosInterfaces>
            <Existente>boolean</Existente>
            <ProdutoAtivo>boolean</ProdutoAtivo>
            <Resultado xsi:nil="true" />
          </DadosProdutosExistentes>
          <DadosProdutosExistentes>
            <CodigoProduto>string</CodigoProduto>
            <CodigoProdutoAbacos>string</CodigoProdutoAbacos>
            <CodigoBarras>string</CodigoBarras>
            <UnidadesNegocio>string</UnidadesNegocio>
            <CodigosInterfaces>string</CodigosInterfaces>
            <Existente>boolean</Existente>
            <ProdutoAtivo>boolean</ProdutoAtivo>
            <Resultado xsi:nil="true" />
          </DadosProdutosExistentes>
        </Rows>
      </ProdutoExisteResult>
    </ProdutoExisteResponse>
  </soap12:Body>
</soap12:Envelope>