cancel
Showing results for 
Search instead for 
Did you mean: 

SAP XI: creating Namespace and its Objects

Former Member
0 Kudos

Hi experts,

I have general questions about uniqueness of Namespace and its Objects.

Is it enough that the Namespace ist unique because I want to use the same Object identifications in other Namespaces.

For example:

Namespace 1:

http://company.com/xi/Namespace1

--> Object: Message Interface MI_Name_OUT_ASY

Namespace 2:

http://company.com/xi/Namespace2

--> Object: Message Interface MI_Name_OUT_ASY

Do SAP PI know during Runtime that the Interface within Namespace2 should be used?

Thanks for your help.

Regards

Mario

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Yes You can use the same MessageObject under different Namespace, but the sameNameSpace cannot be used under same Software Component version,can be used in different SWCV

You can give a try by creating the same message objects in diff Namespaces

HTH

Rajesh

Former Member
0 Kudos

Thanks experts for the quick reply.

Regards

Mario

prateek
Active Contributor
0 Kudos

The object ID intenally used is based on SWC, namespace and object name combination.

Is it enough that the Namespace ist unique

Its enough.

Do SAP PI know during Runtime that the Interface within Namespace2 should be used?

Yes, PI knows it.

Regards,

Prateek

Former Member
0 Kudos

Hi,

a object in PI is identified by SWCV, namespace and objectname.

So the answer of your question is yes.

For example you could even have same objectname and same namespace if they are in a different SWCV.

BTW I would suggest to use urn instead of http for a namespace.

Regards

Patrick

Shabarish_Nair
Active Contributor
0 Kudos

Yes you can use the same name object name under different namespace.

in runtime XI will identify the object since it is linked to a namespace.