Resolvido o problema, apenas tenho o tal erro 52.
----------------------------------------------------------------
Boas, estou gerar o código xml mas recebo sempre como resposta internal erro. Tenho algum erro?
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:doc="https://servicos.portaldasfinancas.gov.pt/sgdtws/documentosTransporte/">
<soapenv:Header>
<wss:Security xmlns:wss="http://schemas.xmlsoap.org/ws/2002/12/secext">
<wss:UsernameToken>
<wss:Username>599999993/0037</wss:Username>
<wss:Password>GoiSVZkirJh4ulLLncB57A==</wss:Password>
<wss:Nonce>Sr4jlsSaprZ6ezfYJNN2yW0Ui6I3ERFXLOTmUa6EgYrhN7onmgMonpOE/hT+aOeD/I3bP1ArBdArIU4znTUX7v26qN8pCYleFQW1hpHMKXq6Frli+zvh4BTmfvmjrW9URanm3+VsbqNc4WvZ9wuZ2xJMPMeX547SiXYidfTwnggL1qXLp3wnlEQO0/WLyJBL+hoqeFODng6lMzWg1LOMlPecQU6nrqrlUVi6iwg8aLYSYtpPziMTMGeRgjOn944BdO4J1PYL+qSIZ35JZtwQQ/VeHVMEwODqr2dJAp581B4+wHAbc2Kq20rSiZaBCWjtNBoM5te5i2oKh5oPOOZ2lg==</wss:Nonce>
<wss:Created>w+p79U+V7X6PivdAzBEUmmcSGXFGl5DGvW4/ZARQNhs=</wss:Created>
</wss:UsernameToken>
</wss:Security>
</soapenv:Header>
<soapenv:Body>
<ns2:envioDocumentoTransporteRequestElem xmlns:ns2="https://servicos.portaldasfinancas.gov.pt/sgdtws/documentosTransporte/">
<TaxRegistrationNumber>599999993</TaxRegistrationNumber>
<CompanyName>Bla</CompanyName>
<CompanyAddress>
<Addressdetail>Morada Empresa</Addressdetail>
<City>Cidade Empresa</City>
<PostalCode>1000-100</PostalCode>
<Country>PT</Country>
</CompanyAddress>
<DocumentNumber>11</DocumentNumber>
<MovementStatus>N</MovementStatus>
<MovementDate>2016-11-08Z</MovementDate>
<MovementType>GR</MovementType>
<CustomerTaxID>599999993</CustomerTaxID>
<CustomerAddress>
<Addressdetail>Morada Cliente</Addressdetail>
<City>Cidade Cliente</City>
<PostalCode>1000-100</PostalCode>
<Country>PT</Country>
</CustomerAddress>
<AddressTo>
<Addressdetail>Morada Descarga</Addressdetail>
<City>Cidade Descarga</City>
<PostalCode>1000-100</PostalCode>
<Country>PT</Country>
</AddressTo>
<AddressFrom>
<Addressdetail>Morada Carga</Addressdetail>
<City>Cidade Carga</City>
<PostalCode>1000-100</PostalCode>
<Country>PT</Country>
</AddressFrom>
<MovementEndTime>2016-12-08T03:39:49.948Z</MovementEndTime>
<MovementStartTime>2016-12-08T02:39:49.948Z</MovementStartTime>
<VehicleID>10-10-AA</VehicleID>
<Line>
<ProductDescription>Produto1</ProductDescription>
<Quantity>1</Quantity>
<UnitOfMeasure>KG</UnitOfMeasure>
<UnitPrice>1.1</UnitPrice>
</Line>
</ns2:envioDocumentoTransporteRequestElem>
</soapenv:Body>
</soapenv:Envelope>
<!--Resposta-->
<?xml version='1.0'?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Body>
<env:Fault>
<faultcode>env:Client</faultcode>
<faultstring>Internal Error</faultstring>
</env:Fault>
</env:Body>
</env:Envelope>
↧