Skip to Content
author's profile photo Former Member
Former Member

How to fetch source xml file without namespace

Dear friends,

I am still facing one more problem. Whenever they are placing xml it is not having the namespace.

I am manually adding the namespace as shown in the bold .

Due to manually adding the namespace i am not able to schedule the file adapter.

Hoe can i solve this issue...

Source xml file after adding the namespace Manually

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

http://kpmg.com/ibs/mdm">

<PeopleMsg>

<Records>

<Record><FirstName>Rob</FirstName><LastName>Wade</LastName><MiddleNameOrInitials>GD</MiddleNameOrInitials><Addresses><AddressType><AddressTypeName>Business</AddressTypeName></AddressType><AddressCountry><ISO2Code>ZA</ISO2Code></AddressCountry><OfficeName>Johannesburg - Fin Risk Adv * Jhb</OfficeName><AddressLine1>KPMG Crescent 85 Empire Road Parktown</AddressLine1><City>Johannesburg</City><PostalCode>2193</PostalCode></Addresses><ElectronicContactInfo><ElectronicContactType><CommunicationTypeCode>PHONE</CommunicationTypeCode></ElectronicContactType><CommunicationCountry><ISO2Code>ZA</ISO2Code></CommunicationCountry><CommunicationData>+27 (11) 647-5332</CommunicationData></ElectronicContactInfo><IDs><IDType><IDTypeCode>1</IDTypeCode></IDType><IDCountry><ISO2Code>ZA</ISO2Code></IDCountry><IDs>12418</IDs></IDs></Record>

<Record><FirstName>Zaheer</FirstName><LastName>Wadee</LastName><Addresses><AddressType><AddressTypeName>Business</AddressTypeName></AddressType><AddressCountry><ISO2Code>ZA</ISO2Code></AddressCountry><OfficeName>Johannesburg - FS Audit * Jhb</OfficeName><AddressLine1>KPMG Crescent 85 Empire Road Parktown</AddressLine1><City>Johannesburg</City><PostalCode>2193</PostalCode></Addresses><ElectronicContactInfo><ElectronicContactType><CommunicationTypeCode>PHONE</CommunicationTypeCode></ElectronicContactType><CommunicationCountry><ISO2Code>ZA</ISO2Code></CommunicationCountry><CommunicationData>+27 (11) 647-5047</CommunicationData></ElectronicContactInfo><IDs><IDType><IDTypeCode>1</IDTypeCode></IDType><IDCountry><ISO2Code>ZA</ISO2Code></IDCountry><IDs>7585</IDs></IDs></Record>

</Records>

</PeopleMsg>

</ns0:GIS_SOURCE_MT>

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 11, 2008 at 08:18 PM

    Hey

    Why do you need namespace in the incoming payload?

    are you using this namespace somewhere in message processing?

    Thanx

    Aamir

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 11, 2008 at 08:28 PM

    this my help you..

    how-to-change-the-incoming-xml-to-a-different-name

    Regards,

    Sarvesh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 12, 2008 at 03:41 AM

    HI Karthik

    If you dont use Name space it will work. IF you have created DT in XI then go to MT remove the Name space and XI also don't require name space in the source file. NO need to create it manually.

    Thanks

    Gaurav

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.