cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple Namespaces in XSD

former_member186851
Active Contributor
0 Kudos

Dear SCN users,

I have requirement where there are multiple XSDs that need to be clubbed.(XSDs are with different target namespaces)

I succesfully clubbed them all,But when I use the same in message mapping I am getting only one target namespace(ns0) because of which I am getting error when I test with the sample XML given

So how to handle this multiple namespaces in XSD

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member186851
Active Contributor
0 Kudos

its an inbound Scenario

GS1->idoc.

How to handle namespaces here

markangelo_dihiansan
Active Contributor
0 Kudos

Hi,

This blog will definitely help

Part 1 consists of loading the entire schema. Part 2 is about creating the business document header, but in your case, you need to remove it, so just a little modification is required.

Regards,

Mark

former_member186851
Active Contributor
0 Kudos

Hello Mark,

thanks,

I used beans and XSLT mapping to remove them,,

will update once I finish everythng

markangelo_dihiansan
Active Contributor
0 Kudos

Hi,

Which message are you using e.g GS1? There should really be only one target namespace for the root message, what is the error that you are getting?

Regards,

Mark

former_member186851
Active Contributor
0 Kudos


Hi,

Yes.the same.I am not able to fit the message in the mapping..getting red tags.

when I change the namespace prefix in the paylod it is fine.

any solution for this GS1?