An Error during importing a XML file by XMLport

snyktp
Member Posts: 75
Hello,
I created a xmlport. First I exported a xml file by my xmlport. It worked correctly. After that I wanted to import this file. However I got an error message. Do you have any idea about that ?
Error message - "The Elemen <CustomerRequest> can not be found from object description"
First line in the xml file ;
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
- <asm:CustomerRequest xsi:schemaLocation="urn:xxxxxxxxxxxxxxxxxxxxxx"
Thank you
I created a xmlport. First I exported a xml file by my xmlport. It worked correctly. After that I wanted to import this file. However I got an error message. Do you have any idea about that ?
Error message - "The Elemen <CustomerRequest> can not be found from object description"
First line in the xml file ;
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
- <asm:CustomerRequest xsi:schemaLocation="urn:xxxxxxxxxxxxxxxxxxxxxx"
Thank you
0
Comments
-
If you want urgent support, then buy a support ticket with Microsoft.
Putting urgent in your message is not the right way to get a response in this forum.
Please see Forum Rule(s) #3.2: Forum Rules.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Hi again,
Is there any solution about that ?
Thank you0 -
i ran into that issue with any XML file that contained the : character in the element. I thought i had to be mistaken, but if i changed my element to exlude the : and modified the xml file to not contain the :, the XMLport would work fine without any issues.kind of fell into this...0
-
Hi ,
Thank you for your answer.
You are right . The problem is related to this caracter ':'. However, I have to use this caracter ':'.
'asm_customerRequest' this works but 'asm:customerRequest' idoesnt work
Do you have any suggestion about that?
Thank you0 -
no - sorry. in my scenario, we are being sent an HTTP POST of an XML string. the webapp listening for it is transforming the data for me to scrub : out of the tags. therefore, i got around the issue by not using the bad character.
you may have to look into XMLDom which appears on this forum over and over again ( but I have never used).kind of fell into this...0 -
I got this when I accidentally tried to import wrong file..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