Hi Paul,
Thanks for your advice. I did got some breakthrough but still not through.
This mail is little longer - please forgive me.I need you help on two issues,
please respond as soon as you can:
Issue I - Business Card Proxy / IBM card
Below is the source code in CardExecutiveCardService which is creating
problem:
______________________________________________________________________
protected ResponseAPDU selectApplet(CardChannel channel,
AppletID appletAID)
throws CardServiceException, CardTerminalException {
final byte[] SELECT_HEADER
= {(byte)0x00, (byte)0xA4, (byte)0x04, (byte)0x00};
CardExecutiveState state
= getCardExecutiveState(getCardChannel());
if ((state.getSelectedAppletAID() == null)
|| (!state.getSelectedAppletAID().equals(appletAID)))
{
//(test)itracer.debug("selectApplet", "selecting " + appletAID);
byte[]appletAIDBytes = appletAID.getAID();
/// Original Build the SELECT command APDU
selectAPDU.setLength(0);
selectAPDU.append(SELECT_HEADER); // Class, Instruction, P1, P2
selectAPDU.append((byte)appletAIDBytes.length); // Lc
selectAPDU.append(appletAIDBytes); // Application Identifier
selectAPDU.append((byte) 0x00); // Le
:
____:_________________________________________________________________
Now the ApplicationID(thus getAID() method too) class in not available. If I
replace the appletAID.getAID(); by static value, it prompts up with Wrong
instruction set used error. What should I do now?
ISSUE II - Cyberflex access cards
Error code generated by ProxyFactory:
______________________________________________________________________
Exception raised: "java.lang.ArrayIndexOutOfBoundsException"
Warning: opencard\core\terminal\CardID.java(121): Source File not found
Exception raised: "java.lang.ArrayIndexOutOfBoundsException"
java.lang.ClassNotFoundException: CardService implementing class
com.cust.CustCardProxy
at
opencard.core.service.CardServiceRegistry.getCardServiceInstance(CardServiceRegistry.java:268)
at opencard.core.service.SmartCard.getCardService(SmartCard.java:315)
at com.cust.CustCard.cardInserted(GrooviCard.java:72)
at
opencard.core.event.EventGenerator.createEventsForPresentCards(EventGenerator.java:129)
:
:
_______________________________________________________________________
Any clue what would have went wrong. Awaiting help.
Regards,
Ashwin Chandra
"Paul Sheridan" <[EMAIL PROTECTED]> wrote:
Look like you need to examine your Card Serice Factory, as it is not
recognising the cards or creating the proxy objects. Ensure the getCard and
getClasses functions are correct.
Regards,
Paul
_____________________________________
Get your free E-mail at http://www.ireland.com
____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1
---
> Visit the OpenCard web site at http://www.opencard.org/ for more
> information on OpenCard---binaries, source code, documents.
> This list is being archived at http://www.opencard.org/archive/opencard/
! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
! to
! [EMAIL PROTECTED]
! containing the word
! unsubscribe
! in the body.