Navision to Message Queue writting/reading problem

joaopereira
Member Posts: 3
Hi there,
I'm using the tutorial "Talking with Navision: Say Hello to Navision and Expect Navision to Be Polite" (http://msdn.microsoft.com/en-us/library/ms952182.aspx) that i believe to be well known by most of you, to integrate navision with an web application.
It works fine except when there are special characters (example: ã) in the message, it then throws an invalid character exception.
I've tryed to write/read the message directly to/from the queue and it works fine, so my problem is when i write the message from navision.
Can someone point me a direction in here?
I'm using the tutorial "Talking with Navision: Say Hello to Navision and Expect Navision to Be Polite" (http://msdn.microsoft.com/en-us/library/ms952182.aspx) that i believe to be well known by most of you, to integrate navision with an web application.
It works fine except when there are special characters (example: ã) in the message, it then throws an invalid character exception.
I've tryed to write/read the message directly to/from the queue and it works fine, so my problem is when i write the message from navision.
Can someone point me a direction in here?
0
Comments
-
Today I will not use MSMQ anymore and I will use other way to make the WebSevices. There isanother example how to make NAV WebService for older versions than NAV 2009. It is DLL which makes the inteface and you have instream and outstream to read the request and write result. It is much better than MSMQ, mainly because today there are 64bit systems, limited usability of MSMQ etc.0
-
Hi Kine, thanks for the reply.
I didn't know there were those issues when using MSMQ. At first sight it seemed the best way(synchronous/asynchronous).
Do you mean using "Navision Socket Bus Adapter"? If not, can you post a link or a sample for that alternative way?
What about the error i posted about? Have you ever had it?0 -
If you will search for MSMQ (Microsoft Message Queue), you will find out that the system is sensitive to format of the message and to coding of characters. Most versions of NAV Socket bus are not working under 64bit OS.
For me better solution is e.g. there: http://blogs.msdn.com/nav/archive/2008/ ... v-5-0.aspx0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions