Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Process method is not executing when i run IsoServer.java class #1

Open
TestAutomate opened this issue Nov 13, 2018 · 11 comments
Open
Labels
question Further information is requested

Comments

@TestAutomate
Copy link

Hi, can you help me out using iso server on the socket, my client is sending 0800 messages,but server is not doing anything,not even executing process method.

after �[32mServer [ISO8583] Ready On localhost:xxxx�[0m nothing happens

Thanks

@aswzen
Copy link
Owner

aswzen commented Nov 13, 2018

Will check asap...keep in touch

@TestAutomate
Copy link
Author

ok thank you

@aswzen
Copy link
Owner

aswzen commented Nov 13, 2018

image
I can run the server easily.. i think is your ISO client is sending with wrong packager and channel.. you can use my ISO Client here:

package com;

import java.io.IOException;

import org.jpos.iso.ISOChannel;
import org.jpos.iso.ISOException;
import org.jpos.iso.ISOMsg;
import org.jpos.iso.ISOPackager;
import org.jpos.iso.ServerChannel;
import org.jpos.iso.channel.ASCIIChannel;
import org.jpos.iso.channel.XMLChannel;
import org.jpos.iso.packager.ISO87APackager;
import org.jpos.iso.packager.XMLPackager;

public class IsoClientTest {
    public static void main(String[] args) throws ISOException, IOException {
        ISOPackager pgk = new ISO87APackager();
	ServerChannel channel = new ASCIIChannel("127.0.0.1", 10012,pgk);
        channel.connect();
        ISOMsg request = new ISOMsg();
        request.setMTI("0200");
        request.set(2, "16");
        request.set(2, "5421287475388412");
        request.set(3, "000000");
        request.set(4, "400.0");
        request.set(7, "0716070815");
        request.set(11, "844515");
        channel.send(request);
        ISOMsg response = channel.receive();

        response.dump(System.out, "response:");
    }
}

*please note about PACKAGER and CHANNEL.. must be same with server

@aswzen
Copy link
Owner

aswzen commented Nov 13, 2018

so you have to find the correct channel then.. JPOS included with many builtin channel
image

@aswzen aswzen added the question Further information is requested label Nov 13, 2018
@TestAutomate
Copy link
Author

TestAutomate commented Nov 13, 2018

Client is sending in EBCDIC format how to parse that

@aswzen
Copy link
Owner

aswzen commented Nov 13, 2018

no..its security things that how to communicate between server and client.. u have to find out what packager that has been used by your client..

@TestAutomate
Copy link
Author

TestAutomate commented Nov 13, 2018

how do i find channel and packager by seeing client request

@aswzen
Copy link
Owner

aswzen commented Nov 13, 2018

based on my experience....
we can't 😄
if you can find it then congratz, on my last ISO 8583 project there are some FSD and MOU documents between us and 3rd party/vendor, all specifications on communication things provided in that document

@TestAutomate
Copy link
Author

TestAutomate commented Nov 13, 2018

hmm what to try now,i tried with BCD

now i got below
RAW : ððÂ
MTI : �[34m00B?�[0m

@aswzen
Copy link
Owner

aswzen commented Nov 14, 2018

image
unicode text?

@TestAutomate
Copy link
Author

I am not sure how to convert this, i am getting like this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants