javalosg | 19 Dec 03:16

Manejo de Header

Estoy empezado en la utilizacion de la herramienta y el protocolo ISO-
8583 y tengo muchas dudas respecto al manejo de headers ya que el 
banco a donde deseo conectarme me indica que debo de manejar la 
mensajeria con los siguientes datos:

MENSAJE 800 "LOGON"

------------------------------------------------------------
H-0001: ISO                    ISO Transaction Found
H-0002: 00                     Base (Network Mgmt. Msgs).
H-0003: 40                     Release Number. See Manual.
H-0004: 000                    All Data Accepted.
H-0005: 4                      Originator B24 Host Interface
H-0006: 0                      Responder Undetermined.
H-0007: 0800                   Network Management Request
H-0008: 8220000000000000       Primary BitMap
P-0001: 0400000000000000       Secondary Bit Map.
P-0007: DEC 08,22:55:28        Transmission Date and Time
P-0011: 000001                 Systems Trace Audit Number
S-0070: 001                    Network Mngt Information Code
                                  Logon
X-0001: ?                      Extra Data In The Message ...
FUP COPY EXMGEDIT,,SHARE,FOLD

ISO0040000400800822000000000000004000000000000001208225528000001001?

Podria alguien darme un ejemplo del manejo de los headers ?? con los 
campos no tengo ningun problema pero en la documentacion que adquiri 
no es muy claro con el manejo de los headers, por otro lado me piden 
que mande la longitud de la trama en dos posiciones binario 
(Continue reading)

Victor Salaman | 19 Dec 17:14

Re: Manejo de Header

Hola Juan:

Si, eso es un header de ACI Base24. Bien configurado, el "Channel" que
uses se encargara automaticamente de extraer el header de un mensaje
recibido y pondra el header que desees en un mensaje enviado, siempre
y cuando TU le digas que un header existe. Una forma de hacer esto es
haciendo un subclass de org.jpos.iso.channel.BASE24Channel , por
ejemplo:

import org.jpos.iso.ISOException;
import org.jpos.iso.channel.BASE24Channel;

import java.io.IOException;

public class SampleChannel extends BASE24Channel
{
    protected int getHeaderLength()
    {
        return 12;
    }

    protected void sendMessageLength(int alen) throws IOException
    {
        int len=alen+1;
        serverOut.write(len >> 8);
        serverOut.write(len);
    }

    protected int getMessageLength() throws IOException, ISOException
    {
(Continue reading)

chen zero | 20 Dec 13:45

why ISOMsg prints something as '[WIPED]'

Hi Gurus,
  I have a XMLChannel to receive msg and in the log, I found some fields are printed as '[WIPED]', does anyone
have idea how to print all the data ?

  Thanks!
  zchen

 _______________________________________
 辣茩妏蚚閉湮講捇誥蚘眊 
 http://cn.mail.yahoo.com 

[Non-text portions of this message have been removed]

 
chen zero | 20 Dec 17:47

Re: why ISOMsg prints something as '[WIPED]'

Hi All,
  After check the config file, I think I found the reason.
  that's, the log is configured with Wiping fields.
  e.g,
  <log-listener class="org.jpos.util.ProtectedLogListener">
    <property name="wipe"    value="2 5" />
</log-listener>

  Thanks for your time !
  zero chen

  
chen zero <zchen_array@...> wrote:
          Hi Gurus,
I have a XMLChannel to receive msg and in the log, I found some fields are printed as '[WIPED]', does anyone
have idea how to print all the data ?

Thanks!
zchen

_______________________________________
辣茩妏蚚閉湮講捇誥蚘眊 
http://cn.mail.yahoo.com 

[Non-text portions of this message have been removed]

 _______________________________________
 辣茩妏蚚閉湮講捇誥蚘眊 
 http://cn.mail.yahoo.com 

(Continue reading)

Juan Avalos | 20 Dec 21:46

Re: Manejo de Header

Muchisimas Gracias por la ayuda, ya estoy conectado
con el banco.

Gracias Nuevamente

Juan

--- Victor Salaman <vsalaman@...> escribió:

> Hola Juan:
> 
> Si, eso es un header de ACI Base24. Bien
> configurado, el "Channel" que
> uses se encargara automaticamente de extraer el
> header de un mensaje
> recibido y pondra el header que desees en un mensaje
> enviado, siempre
> y cuando TU le digas que un header existe. Una forma
> de hacer esto es
> haciendo un subclass de
> org.jpos.iso.channel.BASE24Channel , por
> ejemplo:
> 
> import org.jpos.iso.ISOException;
> import org.jpos.iso.channel.BASE24Channel;
> 
> import java.io.IOException;
> 
> public class SampleChannel extends BASE24Channel
> {
(Continue reading)


Gmane