Boa tarde pessoal.
O meu problema é o seguinte…
Estou enviando um xml usando SAAJ para um ws.
Meu xml:
view plaincopy to clipboardprint?
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Header>
<NfeCabecMsg xmlns="http://www.portalfiscal.inf.br/nfe/wsdl/NFeDistribuicaoRFB">
<cUF>31</cUF>
<indComp>0</indComp>
<versaoDados>1.00</versaoDados>
</NfeCabecMsg>
</soap:Header>
<soap:Body xmlns="http://www.portalfiscal.inf.br/nfe/wsdl/NFeDistribuicaoRFB">
<nfeDistribuicaoLote xmlns="http://www.portalfiscal.inf.br/nfe/wsdl/NFeDistribuicaoRFB">
<nfeDadosMsg>
<distNFe versao="1.00" xmlns="http://www.portalfiscal.inf.br/nfe">
<tpAmb>2</tpAmb>
<verAplic>1</verAplic>
<indNFe>8</indNFe>
<indCompRet>0</indCompRet>
<ultNSU>000000000000000</ultNSU>
</distNFe>
</nfeDadosMsg>
</nfeDistribuicaoLote>
</soap:Body>
</soap:Envelope>
Retorno obtido:
obrigado
donatinho
Alguem sabe o porquê disto?
obrigado
donatinho