Navision and SonicMQ

olgaolga Member Posts: 5
Hello,
Have anybody tried to integrate SonicMQ and Navision. If you do, I have some questions about the integration you've done:
I use SonicMQ Com client to communicate with Navision. But I can't use NAS. But even if I do I can't read message when it's body length is greater than 250.
Do you use NAS to receive events? I tried, but ... I used createReceiver method but it didn't work as the result of assignment. Navision can't compile object if there is assignment to a variable WithEvents option set to True. But only the event onMessage the NAS can use to receive messages. Have anybody any suggestion how to solve such a problem?
If I don't use NAS than I have another problem. I can't getText from received Message when it’s length is greater than 250. Method getText doesn't work. I have the error:
"the length of the text string exceeds the size of the string buffer".
Has anybody any suggestion how to solve this problem?

Thanks
Olga

Comments

  • krikikriki Member, Moderator Posts: 9,118
    There was a discusion of the same problem in: http://www.mibuso.com/forum/viewtopic.php?t=9484
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • olgaolga Member Posts: 5
    So as I understand there is no way to integrate Navision and SonicMQ by just using Navision and SonicMQ Com client service. I need to program my own dll to ensure the functionality i need.
    I'd be glad to know that I am not right :)
    Olga
Sign In or Register to comment.