Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

'EndElement' is an invalid XmlNodeType. Line 1, position 222.

(0) ShareShare
ReportReport
Posted on by 50

Hello All,

I'm getting one error in AX Exceptions while syncing the items from AX.

I wandering for the solution .I Didn't find any solution. I have updated the AIF services .But sill facing the same Error. Please tell me if any know about this issue.

Error:   'EndElement' is an invalid XmlNodeType. Line 1, position 222.

Thanks in advanced,

Pavan

  • Suggested answer
    nmaenpaa Profile Picture
    nmaenpaa 101,156 on at
    RE: 'EndElement' is an invalid XmlNodeType. Line 1, position 222.

    Should you then have an Outbound port in AX? Since you want to send data OUT?

    Meanwhile, could you also test it using the file system adapter?

    Waiting for updates from your side.

  • P@van Profile Picture
    P@van 50 on at
    RE: 'EndElement' is an invalid XmlNodeType. Line 1, position 222.

    Im trying exporting the items data from ax to ecommerce.

  • nmaenpaa Profile Picture
    nmaenpaa 101,156 on at
    RE: 'EndElement' is an invalid XmlNodeType. Line 1, position 222.

    So are you trying to import or export data?

    Are you able to export to an XML file using File system adapter?

  • P@van Profile Picture
    P@van 50 on at
    RE: 'EndElement' is an invalid XmlNodeType. Line 1, position 222.

    Hi Nikoloas,

    This is Standard Services Nikoloas.

    I have created the AIF services for Items like below.

    System Administartion--> Setup--> Services and AIF Framework-->Inbound Ports

    In Inboundports, I have seleted, Adapter as HTTP , the selected the website url  to get WSDL URL and then i added the operation like create,update for the Item Module.

    I have added the WSDL URL to my VISUAL Studio as a reference (Item AIF Service Referecne).

    Just i created the Item in AX, but when we are trying to get the item through AIF Service . I got this error.

    Thanks

  • nmaenpaa Profile Picture
    nmaenpaa 101,156 on at
    RE: 'EndElement' is an invalid XmlNodeType. Line 1, position 222.

    Hi,

    can you share any additional details about your "syncing items from AX" process? Based on what you told, it seems that it's some kind of an AIF service. Is it a standard service? Is it something you developed? Did it work before? Did you make some changes recently?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans