Unable To Telnet ISO Request

116 views
Skip to first unread message

Digambar Chavan

unread,
Jul 12, 2019, 3:44:44 AM7/12/19
to jPOS Users
Hi all,

I am trying to set jpos gateway locally using xml server. I am using this guide as reference.


I am going step by step as mentioned in above pdf. After  50_xml_server.xml is deployed  the server is listening to port 8000.
While the system is running, I am calling telnet localhost 8000 in another terminal and get blank screen on terminal. 
After pressing 'Ctrl + ]' output will like this...
Escape character is 'Ctrl+] ' 

Then copy and paste the following XML-formatted 0800 message. 
<isomsg>
 <field id="0" value="0800" />
 <field id="11" value="000001" />
 <field id="41" value="00000001" />
 <field id="70" value="301" />
</isomsg>

Here i get an error on telnet console.....

Welcome to Microsoft Telnet Client

Escape Character is 'CTRL+]'


Microsoft Telnet> st
Connected to localhost
Microsoft Telnet> <isomsg>
Invalid Command. type ?/help for help
Microsoft Telnet>  <field id="0" value="0800" />
Invalid Command. type ?/help for help
Microsoft Telnet>  <field id="11" value="000001" />
Invalid Command. type ?/help for help
Microsoft Telnet>  <field id="41" value="00000001" />
Invalid Command. type ?/help for help
Microsoft Telnet>  <field id="70" value="301" />
Invalid Command. type ?/help for help
Microsoft Telnet> </isomsg>

And this action did not logs anything on q2 server console.

please help.

Thanks,
Digambar

chhil

unread,
Jul 12, 2019, 4:14:19 AM7/12/19
to jpos-...@googlegroups.com

on command prompt 

telnet localhost 8000

If the server is running somewhere, screen clears on connection. I had a netcat server listening on 8000 (in your case it will be the switch running and listening on 8000)..
I copy the isomsg text and right click in the telnet window and it sends it.

Based on what you are showing, you have only run "telnet" in the command window, leading to the "Microsoft Telnet>" prompt.
Here you need to say "open localhost 8000", then copy paste the text.

-chhil



--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+...@googlegroups.com.
To post to this group, send email to jpos-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/ec289f1f-10cf-4124-b07d-f557ca97eb5a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Digambar Chavan

unread,
Jul 12, 2019, 5:27:26 AM7/12/19
to jPOS Users
Thank you chill,

I am using telnet localhost 8000 to open telnet prompt 
also after right click i have pasted the below xml format iso request

  <isomsg>
 <field id="0" value="0800" />
 <field id="11" value="000001" />
 <field id="41" value="00000001" />
 <field id="70" value="301" />
</isomsg>

after sending the iso request when I try ctrl+] below message appears on telnet prompt

<isomsg>to Microsoft Telnet Client
 <field id="0" value="0800" />
 <field id="11" value="000001" />
 <field id="41" value="00000001" />
 <field id="70" value="301" />
</isomsg>
Microsoft Telnet>

Connection to host lost.

also on server there is no response generated after sending request.

I have deployed   50_xml_server.xml into D:\Digambar\jPOS-2_1_2\jpos\build\install\jpos\deploy directory
and i am running q2 from D:\Digambar\jPOS-2_1_2\jpos\build\install\jpos\bin\q2.bat.

please correct me if i am using inappropriate approach.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-...@googlegroups.com.

chhil

unread,
Jul 12, 2019, 7:12:11 AM7/12/19
to jpos-...@googlegroups.com
Maybe try right clicking till you see the xml in the telnet shell, it was behaving weirdly for me. I don't use telnet, more of a netcat fan.
If it still doesnt work, you can share your entire q2 log to see what's happening.

-chhil



To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+...@googlegroups.com.

To post to this group, send email to jpos-...@googlegroups.com.

Digambar Chavan

unread,
Jul 12, 2019, 11:27:19 PM7/12/19
to jPOS Users
Thank you chill for your suggestions and pointing me to the right way. Now response worked properly, it was just a problem with  I am not able to copy & paste ISO message right way and open localhost 8000 . Now I am able to copy & paste ISO message correctly and it works fine.
Reply all
Reply to author
Forward
0 new messages