Skip to Content
author's profile photo Former Member
Former Member

SAP XI: creating Namespace and its Objects

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Posted on Jan 19, 2009 at 09:59 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 19, 2009 at 10:04 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 19, 2009 at 10:08 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 19, 2009 at 10:08 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.