unable to send logon message on fix

View: New views
1 Messages — Rating Filter:   Alert me  

unable to send logon message on fix

by ch.asad@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi i want to send LOGON message to FIX.
here is my logon method.


void Application::fxlogin()
{
             FIX::Message message;

        message.getHeader().setField(35, "A");
        message.getHeader().setField(96, "12345678");
        message.getHeader().setField(108,"10");
             FIX::Session::sendToTarget(message);
       

}
Config file setting are as follows..

[DEFAULT]
ConnectionType=initiator
ReconnectInterval=20
StartTime=12:00:00
EndTime=23:00:00
SenderCompID=TW
SenderSubID=user1
HeartBtInt=10
SocketConnectPort=443
SocketConnectHost=ssl://84.219.221.89
FileLogPath=c:\qfixlogs\
FileStorePath=c:\qfixstore\

# session definition
[SESSION]
# inherit ConnectionType, ReconnectInterval and SenderCompID from default
BeginString=FIX.4.4
TargetCompID=ISLD
TargetSubID=qftrade
HeartBtInt=10
FileLogPath=c:\qfixlogs\
FileStorePath=c:\qfixstore\
DataDictionary=C:\quickfix-1.12.4\quickfix\spec\FIX44.xml

Can any one help me how we can send it?
or If you can send your code with me for logon message so that i can figure it out.
thanks.
Asad.