cancel
Showing results for 
Search instead for 
Did you mean: 

not able to see the name space in Message Interface

Former Member
0 Kudos

I Have cXML.xsd, I make a external definition for this.

I am creating a message interface for this, When I create message interface and referre to exsternal definition, it does not show the name space, Please let me know how to do this.

in xsd, in schema tag , I have alredy specify attribute targetNamespace="MyNameSpace"

help...

Ram Singhal

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

closing. thanks

Former Member
0 Kudos

Hi,

Please see the below link and open the zip file for complete doc.

http://xml.cxml.org/current/cXML.zip

Regards

Chilla..

udo_martens
Active Contributor
0 Kudos

Hi Ram,

look in the XSD for attribute xmlns, where you find the xml namespace. The namespace of your repository object (interface) could be different.

Regards,

Udo

Former Member
0 Kudos

Udo ,

Thanks for the reply. it done.

Here When I am putting attribute :

targetNamespace="MyNameSpace"

then In the Message mapping it is not showing all the sub elements. I f I am not putting the "MyName space" then it shows the structure. any Idea why

for exmple with "My name space "

it shows

OrderRequestHeader

IteamOut

Only two sub Fields but not other ?

udo_martens
Active Contributor
0 Kudos

Hi Ram,

with xmlns you specify the namespace of the xsd file, which itself is a valid XML. With target namespace you specify the namespace of the XML instance, which is described in the schema.

Regards,

Udo

Former Member
0 Kudos

Hi Udo,

I did the same thing..

Have a look ..

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="urn:abc.xi:xyz:test">

<xs:import namespace="http://www.w3.org/XML/1998/namespace"/>

Where Namespace "urn:abc.xi:xyz:test" is defined in XI , underwhich I am importing External definition

Thanks

Ram

former_member184619
Active Contributor
0 Kudos

Hi Ram,

just check these links for more clarification

http://www.xfront.com/DefaultNamespace.pdf

http://www.topxml.com/schema/xsd_targetnamespace.asp

Reagrds

Sachin