cancel
Showing results for 
Search instead for 
Did you mean: 

Need some clarification

Former Member
0 Kudos

Hi,

Could you pls clarify me the below two questions?

1. Is it posible to define all elements of a message namespace qualified (<b>elementFormDefault="qualified"</b> in the schema definition) or i should define schema external and use External Definitions to import it?

2. Why the graphical mapping is not visible when i reopen the mapping, every time i have to drag elements from the target structure into to Data-flow editior to view the mapping?

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

If you want to see all the mappings at a time, you can go for 'text preview'. There is a icon with tooltip 'text preview' to take u to that.

Regards,

P.Venkat

Former Member
0 Kudos

Hi,

1. External Definitions are not mandatory for a schema.

All globally defined elements and attributes must always be qualified.

only local elements and attributes can be specified as unqualified.

2. yes. when you re-open the mapping, you can either double-click on the target nodes to view the mapping or use show-all option.

Regards,

Uma

Former Member
0 Kudos

Hi Uma,I want to make all elements of a message namespace qualified not only the root element.

Former Member
0 Kudos

Hi,

Yes, you can define all elements of a message as qualified by specifying elementFormDefault="qualified" property in xsd:schema tag.

This implies all elements inside the schema are qualified.

Example:

1 <?xml version="1.0" encoding="UTF-8"?>

2

3 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"

4 xmlns="http://www.w3.org/2001/XMLSchema/po.xsd"

5 elementFormDefault="qualified"

6 targetNamespace="http://www.w3.org/2001/XMLSchema/po.xsd">

7

8 <xsd:element name="purchaseOrder" type="PurchaseOrderType"/>

9

10 <xsd:element name="comment" type="xsd:string"/>

11

12 <xsd:complexType name="PurchaseOrderType">

13 <xsd:sequence>

14 <xsd:element name="shipTo" type="xsd:string"/>

15 <xsd:element name="billTo" type="xsd:string"/>

16 <xsd:element ref="comment" minOccurs="0"/>

17 </xsd:sequence>

18 <xsd:attribute name="orderDate" type="xsd:date"/>

19 </xsd:complexType>

20 </xsd:schema>

~~~ The elements, purchaseOrder, comment, and complexType PurchaseOrderType, are defined in the "http://www.w3.org/2001/XMLSchema/po.xsd" namespace as a result of the definition for targetNamespace.

~~~ The elementFormDefault attribute (line 5) requires that all elements be qualified. Toward that end, elements must use either prefixes or the default namespace.

Refer this link for more info

http://developers.sun.com/prodtech/javatools/jsenterprise/nb_enterprise_pack/reference/techart/names...

Regards,

Uma

Former Member
0 Kudos

Hi.i know that all elements can be made namespace qualified using elementFormDefault="qualified.

However i would like to know whether it is posible to make all the elements of a message namespace qualified defined using Integration Repository. when we define a message in the Integration builder , only the root element is namespace qualified .I wanted to make all elements namespace qualified.

Former Member
0 Kudos

Hi Kalva,

<i>2. Why the graphical mapping is not visible when i reopen the mapping, every time i have to drag elements from the target structure into to Data-flow editior to view the mapping?</i>

-Every time you Re-open mapping it will not show mapping,you can see this with

" DEPENDENCIES" tab on Tool bar and click " SHOW ALL". It will show all mapping done already.

Regards,

Ramesh.

Former Member
0 Kudos

Thanks Ramesh. what you said is correct but i am talking about graphical mapping of elemnets in the Dataflow editior, which is not visible unless i drag or double click on the elements of the target structure.