As per example from Application Designer I have created 2 code units for sending and receiving messages in Navision.
For that I hv installed “Communication Componant/Bus Adapter”.“Navision SDK”.
As per App. Disgn. instruction m running Message Receiving codeunit 1st and from second session on the same client while running Send message codeunit am getting bellow error -
|The call to member GetStream failed. SocketBusAdapter.SocketBusAdapter.1 returned the following message: Failed to connect to 127.0.0.1 on port 8079
Am also posting here sending code unit’s codes
IF ISCLEAR(CC2) THEN
IF ISCLEAR(SBA) THEN
OutMsg := CC2.CreateoutMessage(‘Sockets://localhost:8079’);
OutS := OutMsg.GetStream();
Is this problem because of Port code : 8079. If yes then which port no. need to give here and how to get port no of any client.
Do I need to install Application Server for that…?
Also if u hv code sample which run successfully please give me here.
Please help my friends.