Created
January 7, 2011 23:11
-
-
Save leanucci/770281 to your computer and use it in GitHub Desktop.
Primer Corrida exitosa
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14230 20:04 ~ > irb | |
ree-1.8.7-2010.02 > require 'rubygems' | |
=> true | |
ree-1.8.7-2010.02 > require 'bravo' | |
=> true | |
ree-1.8.7-2010.02 > a = Bravo::Biller.new | |
=> #<Bravo::Biller:0x1027dfea8> | |
ree-1.8.7-2010.02 > a.dummy | |
D, [2011-01-07T20:04:43.143492 #19325] DEBUG -- : | |
<?xml version="1.0" encoding="utf-8"?> | |
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | |
<soap:Body> | |
<FECAESolicitarResponse xmlns="http://ar.gov.afip.dif.FEV1/"> | |
<FECAESolicitarResult> | |
<FeCabResp> | |
<Cuit>30711034389</Cuit> | |
<PtoVta>2</PtoVta> | |
<CbteTipo>1</CbteTipo> | |
<FchProceso>20110107</FchProceso> | |
<CantReg>1</CantReg> | |
<Resultado>A</Resultado> | |
<Reproceso>N</Reproceso> | |
</FeCabResp> | |
<FeDetResp> | |
<FECAEDetResponse> | |
<Concepto>1</Concepto> | |
<DocTipo>80</DocTipo> | |
<DocNro>30710151543</DocNro> | |
<CbteDesde>5</CbteDesde> | |
<CbteHasta>5</CbteHasta> | |
<CbteFch>20110105</CbteFch> | |
<Resultado>A</Resultado> | |
<CAE>61019008169838</CAE>< | |
CAEFchVto>20110115</CAEFchVto> | |
</FECAEDetResponse> | |
</FeDetResp> | |
</FECAESolicitarResult> | |
</FECAESolicitarResponse> | |
</soap:Body> | |
</soap:Envelope> | |
=> #<Savon::Response:0x1024ee190 @http=#<Net::HTTPOK 200 OK readbody=true>, @soap_fault_message=nil, @hash={:fecae_solicitar_response=>{:xmlns=>"http://ar.gov.afip.dif.FEV1/", :fecae_solicitar_result=>{:fe_det_resp=>{:fecae_det_response=>{:doc_tipo=>"80", :cbte_fch=>"20110105", :cbte_desde=>"5", :resultado=>"A", :cbte_hasta=>"5", :doc_nro=>"30710151543", :cae_fch_vto=>"20110115", :concepto=>"1", :cae=>"61019008169838"}}, :fe_cab_resp=>{:cbte_tipo=>"1", :fch_proceso=>"20110107", :cuit=>"30711034389", :resultado=>"A", :cant_reg=>"1", :pto_vta=>"2", :reproceso=>"N"}}}}> | |
ree-1.8.7-2010.02 > |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment