First, just for making sure we are talking about the same thing:
You are trying to connect your self written off-card-application to the JCOP simulator. The off-card app uses OCF for communication with the card.
If this is what you want - the answer can already be found in this forum:
In the thread "OCF and Java Card Applet"
http://forum.java.sun.com/thread.jspa?forumID=23&threadID=570553
you can find some code for a class "JCOPTerminal" that derives from opencard.core.terminal.CardTerminal.
What you need to do:
1. Compile this class and place it, together with the JCOP libraries in the classpath of your app.
2. Configure your opencard configuration file (was it named "opencard.properties"?) to use the JCOPTerminal
3. Start the JCOP emulator. If you do this via Eclipse you have to execute the /close command - otherwise the emulator will not accept the TCP-connection from the JCOPTerminal.
Jan