[solved]Name spaces in xmlPort

ta5
Member Posts: 1,164
Hi
I have a question concerning name spaces. Navision 4.02
This is my xm example:
Questions:
1: I guess we have to remove the namespace when importing it to navision, as discussed in this forum. Is this correct?
2. Same for Navision 5.0?
3: How to import/export the qualifiers in the tags, for example <messageId> is not enough, it must read
<foo-0001:messageId>. Any ideas?
Thanks in advance
Thomas
I have a question concerning name spaces. Navision 4.02
This is my xm example:
<?xml version="1.0" encoding="UTF-8" ?> <foo-0001:envelope version="1.0" xmlns:foo-0001="http://www.foo.com/xmlns/foo-0001/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.foo.com/xmlns/foo-0001/1 http://www.foo.com/xmlns/foo-0001/1/foo-0001-1-0.xsd"> <foo-0001:messageId>1196247040467</foo-0001:messageId> </foo-0001:envelope>
Questions:
1: I guess we have to remove the namespace when importing it to navision, as discussed in this forum. Is this correct?
2. Same for Navision 5.0?
3: How to import/export the qualifiers in the tags, for example <messageId> is not enough, it must read
<foo-0001:messageId>. Any ideas?
Thanks in advance
Thomas
0
Comments
-
0
-
Navision XML ports (up to and including version 5.0) do not support namespaces full stop. You must remove the namespaces before you can pass the XML to an XMLport for import.
So if you have to validate an XML file against an XSD or do any other processing that is dependant on the Namespaces you will probably have to do that via XML DOM Automation objects or live without it for now. Does it suck...yes! Here's hoping this is fixed in 6.00 -
Thanks for your postings on this. Very appreciated!
Regards
Thomas0
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