NAV 2009 R2 - HotFix For XMLPort Flat File Bug?

OldNavDog
Member Posts: 88
Hi Experts,
I need to fire-off an XMLPort under 2009 R2 CLASSIC (actually, under a NAS, but same thing), but unfortunately, for some unexplainable reason, the XMLPort Object IGNORES the "Format" Property, and ALWAYS acts as if it is set to "XML". So you can't use it for "Flat-Files".
Curiously enough, if you Run the same XMLPort under the Role-Tailored Client, it works FINE.
So, has anybody else here experienced this, and (even better), know of a workaround (that doesn't involve the RTC or Webservices), or a HotFix that addresses this issue?
And since I really need this to work under a NAS, I CANNOT use a Dataport. Those CANNOT be launched under a NAS.
Thanks In Advance,
I need to fire-off an XMLPort under 2009 R2 CLASSIC (actually, under a NAS, but same thing), but unfortunately, for some unexplainable reason, the XMLPort Object IGNORES the "Format" Property, and ALWAYS acts as if it is set to "XML". So you can't use it for "Flat-Files".
Curiously enough, if you Run the same XMLPort under the Role-Tailored Client, it works FINE.
So, has anybody else here experienced this, and (even better), know of a workaround (that doesn't involve the RTC or Webservices), or a HotFix that addresses this issue?
And since I really need this to work under a NAS, I CANNOT use a Dataport. Those CANNOT be launched under a NAS.
Thanks In Advance,
Experience is what you get, when you don't get what you want. --Anon.
0
Answers
-
According to me, the parameters that were newly added in NAV2009 in the XMLPort are only working for the RTC (see: https://msdn.microsoft.com/en-us/library/dd338608.aspx). The NAS of NAV2009 is based on the classic approach.
Probably the best thing to do is to create a report or codeunit and code your import/export so it can process flat files.0 -
LOL! Probably shoulda mentioned: Been there, done that. In fact, so often that I now OWN the T-Shirt FACTORY!!! ;-)
Wanted a more, um, "Civilized" fix, like a MS HotFix.
But thanx for trying...Experience is what you get, when you don't get what you want. --Anon.0 -
Hi OldNavDog,
Microsoft doesn't support this version anymore... whatever that means. And yes, "Dataport" functionality of XML ports don't work in Classic Client. You could invoke the thing via Web Service, though... but it is workaround after workaround after workaroundAnd it only works when you have a NST running. Oh, and it isn't a NAS, too, but I think you could execute a program from NAS.
with best regards
Jens0 -
I actually had the Webservices kludge bit working at one point, using a modification I pieced together from the technique used to run multiple Job Queues from one NAS; but I could never get it to work at the Client's site. And yes, I had an NST and the WS Services both up and running.
I just am so lame with SOAP and Webservices in general that I don't even know which way to start with debugging same. And it doesn't help that debugging through the entire WS "handoff" is basically impossible, or at least I don't know how to do it.Experience is what you get, when you don't get what you want. --Anon.0 -
I just am so lame with SOAP and Webservices in general that I don't even know which way to start with debugging same. And it doesn't help that debugging through the entire WS "handoff" is basically impossible, or at least I don't know how to do it.
If the XMLPort is working, though, you could verify the rest of the code by just using something else. That's what we did... But it is a workaround-fest, yes.
0 -
The XMLPort IS working. I will have to create the error again to see exactly what it was whining about. Sounds like if I did that, perhaps you could help... ;-)Experience is what you get, when you don't get what you want. --Anon.0
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