cancel
Showing results for 
Search instead for 
Did you mean: 

XSD Change

Former Member
0 Kudos

If I want to change the length of a field in the XSD I use as the source message, do I have to redo the mapping? Can I change that after it's been imported?

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

but why do you want to change - source message?

it will not be validated in any way in XI

anyway you can change and import xsd once more

and the mapping will work - you won't have to redo it

Regards,

michal

justin_santhanam
Active Contributor
0 Kudos

Michal & Ahmad,

I have a doubt. While creating Data type we don't specify the length of the particular field am I right. I don't know till know I haven't got the reqmt to give the length . Ok let me ask since he is using External definition, the field has say length xsd:String(12) ,if the source comes with more than length specified will it throw any error?

Can u please clarify.

Best regards,

raj.

Former Member
0 Kudos

I am using an external definition, so I will have to update the message interface after loading in the new ED

justin_santhanam
Active Contributor
0 Kudos

Ethan,

Not needed. Juz change in Message mapping alone as friend suggested above. Interface mapping, juz click read interfaces alone, even that too not necessary, juz save and activate.

Best regards,

raj.

Former Member
0 Kudos

Hi Ethan and Raj,

>>the field has say length xsd:String(12) ,if the source comes with more than length specified will it throw any error?

No. As Michal said, source msg will not be validated.

@Ethan, dont change any thing. Just import the ED as it is and try.

Regards,

Jai Shankar

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks, I reimported the XSD in to the external definition, and then re-referenced the external definition in the mapping and I didn't lose any of the existing mappings. Thanks for the help!

Former Member
0 Kudos

Hey

>>Can I change that after it's been imported?

yes you can change the xsd but not in IR.

you need to make the changes in the source system(from where you imported the xsd in the beginning) and then re-import the xsd in IR.

changing the field length wont affect mapping

Thanx

Ahmad