Exemplo Soap - Método Send

<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>

                                         <EnterpriseId>ecc04391-1bbf-40aa-bdd7-9be9586df898</EnterpriseId>

                                         <Token>f01c2fca-6bc7-43bb-b541-486f35441f57</Token>

                                         <ProcessCode>25400</ProcessCode>

                                         <MessageType>100</MessageType>

                                         <ExchangePattern>7</ExchangePattern>

                                         <Guid>78e71321-9118-5cca-919a-6221b1b88151</Guid>

                                 </CrosstalkHeader>

                         </CrosstalkMessage>]]>

                 </ndd:header>

                 <ndd:rawdata>

                         <![CDATA[

                         <nfeProc versao="3.10" xmlns="" xmlns:ds="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="">

                                 <NFe xmlns="http://www.portalfiscal.inf.br/nfe">

                                         <infNFe versao="3.10" Id="NFe42150206255692000103550020000522421840554936">

                                                 <ide>

                                                         <cUF>42</cUF>

                                                         <cNF>84055493</cNF>

                                                         <natOp>VENDASDE MERC.SUBS.TRIBUTA</natOp>

                                                         <indPag>1</indPag>

                                                         <mod>55</mod>

                                                         <serie>2</serie>

                                                         <nNF>52242</nNF>

                                                         <dhEmi>2015-02-11T16:36:10-02:00</dhEmi>

                                                         <dhSaiEnt>2015-02-11T16:36:10-02:00</dhSaiEnt>

                                                         <tpNF>1</tpNF>

                                                         <idDest>1</idDest>

                                                         <cMunFG>4208906</cMunFG>

                                                         <tpImp>2</tpImp>

                                                         <tpEmis>1</tpEmis>

                                                         <cDV>6</cDV>

                                                         <tpAmb>1</tpAmb>

                                                         <finNFe>1</finNFe>

                                                         <indFinal>0</indFinal>

                                                         <indPres>1</indPres>

                                                         <procEmi>0</procEmi>

                                                         <verProc>4.5.0</verProc>

                                                 </ide>

                                                 <emit>

                                                         <CNPJ>06255692000103</CNPJ>

                                                         <xNome>NDDigital S/A Software</xNome>

                                                         <xFant>NDDigital</xFant>

                                                         <enderEmit>

                                                                 <xLgr>Rua Dr. Walmor Ribeiro</xLgr>

                                                                 <nro>431</nro>

                                                                 <xCpl>NDDigital</xCpl>

                                                                 <xBairro>Coral</xBairro>

                                                                 <cMun>4209300</cMun>

                                                                 <xMun>Lages</xMun>

                                                                 <UF>SC</UF>

                                                                 <CEP>88523060</CEP>

                                                                 <cPais>1058</cPais>

                                                                 <xPais>BRASIL</xPais>

                                                                 <fone>21075500</fone>

                                                         </enderEmit>

                                                         <IE>192837645</IE>

                                                         <CRT>3</CRT>

                                                 </emit>

                                                 <dest>

                                                         <CNPJ>11581859000158</CNPJ>

                                                         <xNome>N5 Software LTDA</xNome>

                                                         <enderDest>

                                                                 <xLgr>Rua Dr. Walmor Ribeiro</xLgr>

                                                                 <nro>341</nro>

                                                                 <xBairro>Coral</xBairro>

                                                                 <cMun>4209300</cMun>

                                                                 <xMun>Lages</xMun>

                                                                 <UF>SC</UF>

                                                                 <CEP>88523060</CEP>

                                                                 <cPais>1058</cPais>

                                                                 <xPais>BRASIL</xPais>

                                                         </enderDest>

                                                         <indIEDest>1</indIEDest>

                                                         <IE>192837645</IE>

                                                         <email>nddigital@nddigital.com.br</email>

                                                 </dest>

                                                 <det nItem="1">

                                                         <prod>

                                                                 <cProd>11043</cProd>

                                                                 <cEAN/>

                                                                 <xProd>Item 01</xProd>

                                                                 <NCM>83021022</NCM>

                                                                 <CFOP>5405</CFOP>

                                                                 <uCom>PC</uCom>

                                                                 <qCom>1.0000</qCom>

                                                                 <vUnCom>37.3838</vUnCom>

                                                                 <vProd>37.38</vProd>

                                                                 <cEANTrib/>

                                                                 <uTrib>PC</uTrib>

                                                                 <qTrib>1.0000</qTrib>

                                                                 <vUnTrib>37.3838</vUnTrib>

                                                                 <indTot>1</indTot>

                                                                 <xPed>4500155373</xPed>

                                                                 <nItemPed>10</nItemPed>

                                                         </prod>

                                                         <imposto>

                                                                 <vTotTrib>6.45</vTotTrib>

                                                                 <ICMS>

                                                                         <ICMS60>

                                                                                 <orig>0</orig>

                                                                                 <CST>60</CST>

                                                                                 <vBCSTRet>29.52</vBCSTRet>

                                                                                 <vICMSSTRet>5.02</vICMSSTRet>

                                                                         </ICMS60>

                                                                 </ICMS>

                                                                 <IPI>

                                                                         <cEnq>999</cEnq>

                                                                         <IPITrib>

                                                                                 <CST>50</CST>

                                                                                 <vBC>37.38</vBC>

                                                                                 <pIPI>8.00</pIPI>

                                                                                 <vIPI>2.99</vIPI>

                                                                         </IPITrib>

                                                                 </IPI>

                                                                 <PIS>

                                                                         <PISAliq>

                                                                                 <CST>01</CST>

                                                                                 <vBC>37.38</vBC>

                                                                                 <pPIS>1.65</pPIS>

                                                                                 <vPIS>0.62</vPIS>

                                                                         </PISAliq>

                                                                 </PIS>

                                                                 <COFINS>

                                                                         <COFINSAliq>

                                                                                 <CST>01</CST>

                                                                                 <vBC>37.38</vBC>

                                                                                 <pCOFINS>7.60</pCOFINS>

                                                                                 <vCOFINS>2.84</vCOFINS>

                                                                         </COFINSAliq>

                                                                 </COFINS>

                                                         </imposto>

                                                 </det>

                                                 <total>

                                                         <ICMSTot>

                                                                 <vBC>0.00</vBC>

                                                                 <vICMS>0.00</vICMS>

                                                                 <vICMSDeson>0.00</vICMSDeson>

                                                                 <vBCST>0.00</vBCST>

                                                                 <vST>0.00</vST>

                                                                 <vProd>37.38</vProd>

                                                                 <vFrete>0.00</vFrete>

                                                                 <vSeg>0.00</vSeg>

                                                                 <vDesc>0.00</vDesc>

                                                                 <vII>0.00</vII>

                                                                 <vIPI>2.99</vIPI>

                                                                 <vPIS>0.62</vPIS>

                                                                 <vCOFINS>2.84</vCOFINS>

                                                                 <vOutro>0.00</vOutro>

                                                                 <vNF>40.37</vNF>

                                                                 <vTotTrib>6.45</vTotTrib>

                                                         </ICMSTot>

                                                 </total>

                                                 <transp>

                                                         <modFrete>0</modFrete>

                                                         <transporta>

                                                                 <CNPJ>42158571000107</CNPJ>

                                                                 <xNome>Transportes ABC</xNome>

                                                                 <IE>983214756</IE>

                                                                 <xEnder>Rua Dr. Walmor Ribeiro, 450</xEnder>

                                                                 <xMun>Lages</xMun>

                                                                 <UF>SC</UF>

                                                         </transporta>

                                                 </transp>

                                                 <cobr>

                                                         <fat>

                                                                 <nFat>252242</nFat>

                                                                 <vOrig>40.37</vOrig>

                                                                 <vLiq>40.37</vLiq>

                                                         </fat>

                                                         <dup>

                                                                 <nDup>2522421</nDup>

                                                                 <dVenc>2015-03-18</dVenc>

                                                                 <vDup>40.37</vDup>

                                                         </dup>

                                                 </cobr>

                                         </infNFe>

                                         <Signature xmlns="http://www.w3.org/2000/09/xmldsig#">

                                                 <SignedInfo>

                                                         <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>

                                                         <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>

                                                         <Reference URI="#NFe42150206255692000103550020000522421840554936">

                                                                 <Transforms>

                                                                         <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>

                                                                         <Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>

                                                                 </Transforms>

                                                                 <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>

                                                                 <DigestValue>H3pJ8tl7EFIz2np8cRMccv11lV4=</DigestValue>

                                                         </Reference>

                                                 </SignedInfo>

                                                 <SignatureValue/>

                                                 <KeyInfo>

                                                         <X509Data>

                                                                 <X509Certificate/>

                                                         </X509Data>

                                                 </KeyInfo>

                                         </Signature>

                                 </NFe>

                                 <protNFe versao="3.10">

                                         <infProt>

                                                 <tpAmb>1</tpAmb>

                                                 <verAplic>SVRS201501210950</verAplic>

                                                 <chNFe>42150206255692000103550020000522421840554936</chNFe>

                                                 <dhRecbto>2015-02-11T16:34:49-02:00</dhRecbto>

                                                 <nProt>342150016393567</nProt>

                                                 <digVal>H3pJ8tl7EFIz2np8cRMccv11lV4=</digVal>

                                                 <cStat>100</cStat>

                                                 <xMotivo>Autorizado o uso da NF-e</xMotivo>

                                         </infProt>

                                 </protNFe>

                         </nfeProc>]]>

                 </ndd:rawdata>

         </ndd:Send>

 </soapenv:Body>

</soapenv:Envelope>

 

Voltar