Skip to Content

why we need two namespaces having same interface , what is the use of having two namespaces with same structure

In my system somebody created  two namespaces in s/w component with same service interface, I think one namespace is enough to use in ID or else we can reuse the same namespace again  if we needed but what may be the purpose of creating 2 namespaces with same datatype and messagetype, service interface and messagemapping and operaional mapping

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    Dec 04, 2013 at 02:27 PM

    Hi Satish,

                        The namespace in project reflects many information such as

    1. type of sender

    2.name of receiver

    3.kind of interface say file to file etc.

    4. process area say finanace, metering, billing etc

    This helps us to locate specific interface quickly.

    Thus if there are multiple namespace  with same objects probably the user wanted to create a separate identity because of the reasons mentioned above.

    Regards

    Anupam

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 04, 2013 at 08:46 AM

    Hello Satish,

    are the objects identical? It could be a way of designing the same interface, but implement it in a different manner. This should be well-documented then and it is not very recommendable.

    It may be useful to put the two Service Interfaces (Inbound and Outbound) in namespaces of the respective systems, but purely duplicating all objects doesn't make any sense.

    Regards,

    Jörg

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 04, 2013 at 09:19 AM

    Hi Satish,

    The only things that i can think for that purpose are:

    1. Two different client consumers of  that scenario and the previous programmer wanted the client were identified by the namespace. He needed two different configurations, etc. If this was the point, It would be better to use the party concept in the configuration.

    2. The previous programmer used one of the namespaces for his test purposes.

    Regards.

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 04, 2013 at 09:22 AM

    Hi satish,

    we needed but what may be the purpose of creating 2 namespaces with same datatype and messagetype, service interface and messagemapping and operaional mapping

    it is not useful creating two namespaces with same objects.

    i guess some people might have created for learning purpose.

    Regards,

    Muniyappan.

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 04, 2013 at 11:32 AM

    Hi Satish,

    Sometimes two Service Interfaces with same name may have different structure. During that kind of times having different namespaces come into help. You said you found two software components have same interface name, check whether they have same structure or not. If they have same structure then, you are right. The point of creating another Service Interface with same name and structure was pointless. The person could have used already defined Service Interface.

    Add comment
    10|10000 characters needed characters exceeded