Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV forum
Suggested answer

How to import the the XML data using XMLPORT

Posted on by 10

I want to import the xmldata to the xmlport. While import i am gettting below error

".......The prefix is not defined in the Namespaces property of the XMLPort......"

attached my xml data along with my xmlport object & property.

Suggestion Please...XML-data.png


object_2600_-Peoperty.png

  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,025 Moderator on at
    RE: How to import the the XML data using XMLPORT

    Hi,

    Please insert you data as per below format

    <?xml version="1.0" encoding="UTF-8" standalone="no"?>

    <Envelope xmlns:xsd="www.w3.org/.../XMLSchema" xmlns:xsi="www.w3.org/.../XMLSchema-instance" xmlns:soap="schemas.xmlsoap.org/.../" xmlns="schemas.xmlsoap.org/.../">

     <soap:Body>

       <FlightFIDSResponse xmlns="FlightData.in/">

         <FlightFIDSResult>

           <NewDataSet>

             <Detail_Movements>

               <LOCAL_AIRPORT />

               <ARRIVAL_DEPARTURE_FLAG>0</ARRIVAL_DEPARTURE_FLAG>

               <INTERNATIONAL_DOMESTIC_FLAG>0</INTERNATIONAL_DOMESTIC_FLAG>

               <AIRLINE_CODE />

               <FLIGHT_NUMBER />

               <SOURCE_DESTINATION />

               <VIA />

               <SCHED_DATE />

               <SCHED_TIME />

               <EST_DATE />

               <EST_TIME />

               <ACT_DATE />

               <ACT_TIME />

               <FLIGHT_STATUS />

               <Terminal />

               <GATES />

               <COUNTERS />

               <BELT_NUMBER />

             </Detail_Movements>

           </NewDataSet>

         </FlightFIDSResult>

       </FlightFIDSResponse>

     </soap:Body>

    </Envelope>

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

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

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,558 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,645 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans