...

Code Block
languagexml
themeRDark
firstline1
titleExemplo VTG 200
linenumberstrue
Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tms="http://tmsfrete.v2.targetmp.com.br" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
   <soapenv:Header/>
   <soapenv:Body>
      <tms:AssociarSubstituirCartao>
         <tms:auth>
            <tms:Usuario>tms.exemplo</tms:Usuario>
            <tms:Senha>v0hXPrwerKblaBs=</tms:Senha>
            <tms:Token i:nil="true" />
         </tms:auth>
         <tms:associar>
            <tms:NumeroNovoCartao>4198071039667014</tms:NumeroNovoCartao>
            <tms:CpfPortadorCartao>21470325810</tms:CpfPortadorCartao>
            <tms:CnpjCartaoEmpresarial>21470325810<CnpjCartaoEmpresarial>21470325810548</tms:CnpjCartaoEmpresarial>
            <tms:NumeroCartaoAnterior i:nil="true" />
            <tms:MotivoCancelamento i:nil="true" />
         </tms:associar>
      </tms:AssociarSubstituirCartao>
   </soapenv:Body>
</soapenv:Envelope>

Response
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
  <s:Header>
    <Action s:mustUnderstand="1" xmlns="http://schemas.microsoft.com/ws/2005/05/addressing/none">http://tmsfrete.v2.targetmp.com.br/FreteTMSService/AssociarSubstituirCartaoResponse</Action>
  </s:Header>
  <s:Body>
    <AssociarSubstituirCartaoResponse xmlns="http://tmsfrete.v2.targetmp.com.br">
      <AssociarSubstituirCartaoResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
        <Erro i:nil="true" />
        <Mensagem>Cartão Associado com Sucesso!</Mensagem>
      </AssociarSubstituirCartaoResult>
    </AssociarSubstituirCartaoResponse>
  </s:Body>
</s:Envelope>

...