Monday, November 7, 2016

how to debuge consumer bssv

test calss is below :

package oracle.e1.bssv.JC550001;

import oracle.e1.bssvfoundation.base.TestBusinessService;
import oracle.e1.bssvfoundation.connection.IConnection;

public class TestmyMCSSessionId {

    public static void main(String[] args) {
        TestmyMCSSessionId testmyMCSSessionId = new TestmyMCSSessionId();
        try {
            //call required prior to executing test from application (main())
            TestBusinessService.startTest();
            String file =
                "C:\\e900\\DV900\\java\\source\\oracle\\e1\\bssv\\JC550001\\valueobject\\InternalmyMCSSessionId.xml";
            TestBusinessService.callBSSVWithXMLFile("oracle.e1.bssv.JC550001.RI_myMCSSessionIdProcessor",
                                                    "getmyMCSSessionId", file,
                                                    IConnection.AUTO);
        } finally {
            //call required at the end of testing from application (main())
            TestBusinessService.finishTest();
        }
    }
}