Skip to content

Commit

Permalink
mais debug
Browse files Browse the repository at this point in the history
  • Loading branch information
RogerioML committed Nov 11, 2020
1 parent a66553c commit 174d012
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plp.go
Original file line number Diff line number Diff line change
Expand Up @@ -513,12 +513,12 @@ func FechaPlpVariosServicos(wsdl string, etiqueta string, etiquetaSemVerificador
return "", req.Response.Status, errors.New(respError.Body.Fault.FaultString)
}
plp := fechaPlpVariosServicosResponse{}
log.Println(string(b))

err = xml.Unmarshal([]byte(b), &plp)
if err != nil {
return "", req.Response.Status, err
}

log.Println(plp)
return plp.Body.FechaPlpVariosServicosResponse.NumeroPLP, req.Response.Status, nil
}

Expand Down

0 comments on commit 174d012

Please sign in to comment.