cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding Changing the Namespace And Data Type in XSD File

Former Member
0 Kudos

Hi All,

I am Doing File -


IDOC Interface.

I have XSD File For File Sysyetm and IDOC For ECC.

In XSD File I Have Different Name Space And Data Type ,

I Created the Data Type as Same as the XSD File Data type

I Have Namespaces Are Different,

So,I Changed the Namespace in the XSD File with the New Namespace Which I created in IR.

I Changed in Two Places Like this

<b><xsd:schema targetNamespace="http://Sample1.com/xi/file;" xmlns="http://Sample1.com/xi/file;"</b>

But it is giving Error lik this

<b>Cannot load schema with the target namespace http://xxx.com/xi/xx/vamsi/100 to namespace http://Sample1.com/xi/file;</b>;

Regards

Vamsi

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

you don't need to create Data Types or change the Namespace.

just import the XSD file as External Definition and you will get your source message.

Regards,

Roi Grosfeld

Former Member
0 Kudos

Hi,

I Directly Createed a External Def For File System And Imported that XSD For File.

When I Come to Mapping , There it is Not Showing the List of that External Def.

So wat to do

Regards

Vamsi

prateek
Active Contributor
0 Kudos

The External Defn objects must b visible in Message Mapping. No need to make any other change. Make sure the objects r activated.

Regards,

Prateek

Former Member
0 Kudos

Hi,

Can I Do Import the XSD File in Data type ????

So that I Can Import the Structure of the Data type there itself & I Can have the Msg Type Also..

Regards

Vamsi

Former Member
0 Kudos

Hi,

You can import the XSD dirctly in the Datatype..

vasanth

Former Member
0 Kudos

Hi Vasanth,

Thats what I am Asking

I want to Import XSD File in Data Type

Before I Import the XSD File into Data type I changed the Namespace in the XSD to My Namespace Which is in IR. And I Created the Data Type Name in IR Which I Have in XSD FIle .

So I Am Getting this Error

Please Let me Know Wat to do

Regards

Vamsi

Former Member
0 Kudos

Hi Vamsi..

You have to change the namespace and SIMPLETYPE/COMPLEXTYPE Name of your datatype...

Now try to import it....

it will solve your issue..

vasanth.

Former Member
0 Kudos

Hi,

When I Create a Data Type it is Showing Simple type.

So What I Nedd to Change here

Regards

Vamsi

Former Member
0 Kudos

Specify the same name there in the XSD...

try to import it..

vasanth

Former Member
0 Kudos

Hi,

I Found Complex type nearly 7 times in XSD . Should I Replace Complex type with Simple type in Every Where ???

Regards

Vamsi

Former Member
0 Kudos

Hi..

xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://SFDC_POC" targetNamespace="<b>YourNamespace</b>">

<xsd:complexType name="<b>DataType Name</b>">

regards,

vasanth.

Former Member
0 Kudos

Hi,

When I Selected the Type As XSD:langage, Then it Allowed to Import the XSD

Is it Ok to Work with this ????

Regards

Vamsi

Former Member
0 Kudos

Hi..

you can continue the scenario..

Iets see if you need any more help...

vasanth.

Former Member
0 Kudos

Hi vasanth,

Its Working Fine With that What I Have Done.

Thanks For Your Response

Regards

Vamsi