Friday, January 27, 2012

Test AIF Service with X++

The following code will allow you to make sure the AIF service is running in our server. In addition, you can use this code to run the AIF service at any moment instead of using a batch process.

static void TEST_AIF(Args _args)
{
    AifGatewayReceiveService agrs = new AifGatewayReceiveService();
    AifInboundProcessingService aip = new AifInboundProcessingService();


    AifGatewaySendService agss = new AifGatewaySendService();
    AifOutboundProcessingService aop = new AifOutboundProcessingService();
    ;


That's all folks!
  }

1 comment:

  1. You'll still need to call the run() method for each instantiated class. So after the semicolon, add:

    agrs.run();
    aip.run();
    agss.run();
    aop.run();

    ReplyDelete

Thank you for your thoughts. Your comment will appear in my blog shortly after review.

Have a great day!