on 04-06-2016 12:05 AM
Hi Experts!
I have the flollowing scenario:
IDoc - PI 7.4 Java only - AAE_HTTP Post
The POST method must have:
_user
_password
_file (with dynamic name and Header, Line, Footer structure)
File eg.:
01|30111111118
02|20060628|91 R000100000001|20060628|......
03|1|3|2|......
03|16|9|2|......
02|20060628|91 R432187654321|20060628|......
03|5|17|1|......
....
....
04|
If the execution is correct, this is the responce:
<TBCOMPROBANTE>
<cuitEmpresa>30506919009</cuitEmpresa>
<numeroComprobante>92291282</numeroComprobante>
<nombreArchivo>TB_30506919009_000000_20160303_000008.txt</nombreArchivo>
<codigoIntegridad>99ccf880d5772630b4375a7577d39ca8</codigoIntegridad>
<validacionesRemitos class="list">
<remito>
<numeroUnico>91 R600000000074</numeroUnico>
<procesado>SI</procesado>
</remito>
</validacionesRemitos>
</TBCOMPROBANTE>
If is incorrect:
<?xml version='1.0' encoding='ISO-8859-1'?><TBError>
<tipoError>DATO</tipoError>
<codigoError>11</codigoError>
<mensajeError>El archivo recibido ya fue procesado con anterioridad.</mensajeError>
</TBError>
Questions:
_How can I handle async sync? with a bridge maybe?
_How can I convert XML to File? and send it in POST HTTP?
_How can I handle the differents responces?
Any kind of help will be apreciated!!
Thanks in advance.
Regards
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.