Error with login message

Imported from previous forum

Hello dear all ,
I wrote a simple c# program sending a fix login message to FIX-server(demo mode, w/o encryption).
I’ve created in programm a instanse socket (IPEndPoint,Srteam,TCP) , made a connect to FIX-server, connected…
than send created a the fix login message :

"8=FIX.4.39=13835=A34=149=****_TEST56=**TEST50=FX98=0108=30141=Y553=***554=***1=****464=Y52=20101230-14:00:4910=084 "
35=A for login message
49=sendcompid
56=targetcompid
52=sending time
heartbeats (tag 108) same by FIX-server (30)
98=0 means no encryptionmethod
I was make this string into byte[]-array, than sent to FIX-server
socket.send(byte[]) , and i didn’t get any response data from FIX-server, where is my error?

please help me a direction where to start?
Best regards

Igor,
I think there may be 2 issues in this logon:

  1. tag 9 should be the bytes from the tag 35 to the beginning of tag 10.
    Example:
    8=FIX.4.2^A9=52^A35=0^A34=827^A49=AMEX^A56=EZX^A52=20101230-09:02:51.811^A10=087^A
  2. And I’m not sure about this one, but is there a Ctrl-A after tag 10? Most likely issue 1 is causing the other side to keep reading waiting for more characters and therefore you get no response.
    If you want I could give you a FIX engine on our end to connect to and I could look at what exactly you are sending that might explain the lack of response.
    Paul

Hello dear all ,
I wrote a simple c# program sending a fix login message to FIX-server(demo mode, w/o encryption).
I’ve created in programm a instanse socket (IPEndPoint,Srteam,TCP) , made a connect to FIX-server, connected…
than send created a the fix login message :

"8=FIX.4.39=13835=A34=149=****_TEST56=**TEST50=FX98=0108=30141=Y553=***554=***1=****464=Y52=20101230-14:00:4910=084 "
35=A for login message
49=sendcompid
56=targetcompid
52=sending time
heartbeats (tag 108) same by FIX-server (30)
98=0 means no encryptionmethod
I was make this string into byte-array, than sent to FIX-server
socket.send(byte) , and i didn’t get any response data from FIX-server, where is my error?

please help me a direction where to start?
Best regards

Furthermore, I recommend to experiment a bit with a real FIX engine.
QuickFIX and QuickFIX/J are examples of open source implementations,
they also contain example apps.

Cheers, Jörg

Igor,
I think there may be 2 issues in this logon:

  1. tag 9 should be the bytes from the tag 35 to the beginning of tag 10.
    Example:
    8=FIX.4.2^A9=52^A35=0^A34=827^A49=AMEX^A56=EZX^A52=20101230-09:02:51.811^A10=087^A
  2. And I’m not sure about this one, but is there a Ctrl-A after tag 10? Most likely issue 1 is causing the other side to keep reading waiting for more characters and therefore you get no response.
    If you want I could give you a FIX engine on our end to connect to and I could look at what exactly you are sending that might explain the lack of response.
    Paul

Hello dear all ,
I wrote a simple c# program sending a fix login message to FIX-server(demo mode, w/o encryption).
I’ve created in programm a instanse socket (IPEndPoint,Srteam,TCP) , made a connect to FIX-server, connected…
than send created a the fix login message :

"8=FIX.4.39=13835=A34=149=****_TEST56=**TEST50=FX98=0108=30141=Y553=***554=***1=****464=Y52=20101230-14:00:4910=084 "
35=A for login message
49=sendcompid
56=targetcompid
52=sending time
heartbeats (tag 108) same by FIX-server (30)
98=0 means no encryptionmethod
I was make this string into byte-array, than sent to FIX-server
socket.send(byte) , and i didn’t get any response data from FIX-server, where is my error?

please help me a direction where to start?
Best regards