An Error during importing a XML file by XMLport

snyktpsnyktp 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

Comments

  • krikikriki Member, Moderator Posts: 9,110
    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!


  • snyktpsnyktp Member Posts: 75
    Hi again,

    Is there any solution about that ?

    Thank you
  • jversusjjversusj Member Posts: 489
    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...
  • snyktpsnyktp Member Posts: 75
    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 you
  • jversusjjversusj Member Posts: 489
    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...
  • absolutelyfreewebabsolutelyfreeweb Member Posts: 104
    I got this when I accidentally tried to import wrong file..
Sign In or Register to comment.