NDD Frete SOAP Structure

Anterior
Próximo
Imprimir

NDD Frete SOAP Structure

SOAPStructure

 

Request settings:

ProcessCode: Process identification;

MessageType: Used to inform if it's a posting or a downloading calling:

o100 - Post;

o103 - Download.

ExchangePattern: Used to inform the message process type:

o1 - Synchronous: Request and response at the same calling;

o7 - Asynchronous: Request for longer process that needs more time to finishing processing, such as downloads and documents posts;

o8 - Asynchronous: Processing result, whether a download or a document processing result.

Guid: Request identification, used on asynchronous requests to get the processing result;

EnterpriseId: Shipper ou carrier identification, used to guarantee the request is being made from a known source. It's generated by the NDD Support Team;

Token: A code related to the shipper ou to the carrier used with the EnterpriseId to complete allows the requests;

ContentEncoding: UTF-8, UTF-16, etc.;

ContentType: Constant ' txt/xml' ;

ResponseCode: The request response code. It informs if NDD Frete was able to receive the message. It doesn't mean the content was successful processed.

 

Code

Message

Situation

203

A mensagem foi rejeitada por causa de falha na validação do esquema do documento.

The request was rejected because of fail on XML schema.

A estrutura do xml de envio está incorreta.

The XML structure is incorrect.

205

A mensagem foi processada com sucesso.

The request was successful received by NDD Frete.

A mensagem foi processada com sucesso.

No request error and NDD Frete was able to receive.

206

A mensagem foi rejeitada porque o cliente não está cadastrado. O cliente não foi encontrado através do EnterpriseId e Token.

The request was rejected because it was not possible to find the authentication factors (EnterpriseId and Token) on NDD Frete database.

O EnterpriseId informado não está cadastrado no sistema NDD Frete.

The informed data to perform the authentication was not found.

210

ProcessCode e MessageType inválido.

Invalid ProcessCode and MessageType.

O ProcessCode ou o MessageType informados não existem na aplicação NDD Frete.

The parameters informed in ProcessCode or in MessageType don't exist in NDD Frete application.

999

Ocorreu um erro inesperado no processamento da mensagem.

There is an unexpected error with the request.

Um erro inesperado, que não foi tratado pelo sistema.

There is an unexpected error that is not mapped by NDD Frete.

 

ResponseMessage: The message related to the code retrieved in the previous field. The possible messages are listed above.

 

Dynamic content: The dynamic content will change depending on the process.

 


<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ndd="http://nddigital.com.br/">
	<soapenv:Header/>
	<soapenv:Body>
		<ndd:Send>
			<ndd:header><![CDATA[
			<CrosstalkMessage>
				<CrosstalkHeader>
					<ProcessCode>4000</ProcessCode>
					<MessageType>103</MessageType>
					<ExchangePattern>1</ExchangePattern>
					<Guid>45802bbb-da74-4a9f-a474-ebcec2233769</Guid>
					<EnterpriseId>43abeae4-7786-4017-a4ea-a8f54efd0e4a</EnterpriseId>
					<Token>6901a7fb-f545-c9a1-4ebd-18a723329dfb</Token>
					<ContentEncoding>UTF-8</ContentEncoding>
					<ContentType>txt/xml</ContentType>
				</CrosstalkHeader>
			</CrosstalkMessage>
		]]></ndd:header>
			<ndd:rawdata><![CDATA[
			
         	]]></ndd:rawdata>
		</ndd:Send>
	</soapenv:Body>
</soapenv:Envelope>