on 11-11-2008 8:14 PM
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"?>
<ns0:GIS_SOURCE_MT xmlns:ns0="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>
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey
Why do you need namespace in the incoming payload?
are you using this namespace somewhere in message processing?
Thanx
Aamir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.