cancel
Showing results for 
Search instead for 
Did you mean: 

namespace clarification ...!

Former Member
0 Kudos

Hi Experts ,

I have a question regarding the namespace ...is there any specific reason why we have namespace with extension

for ex : urn:xxx-com.xi:data:xxx

http://xxx.com.xi/abc/ECC

why are we using urn and http and is there any specific diffrence between urn and http kindly let me know .

Regards,

Aziz khan

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Aziz,

http:// is used when you specify an HTTP address as a namespace this does not mean that you can access additional information about the namespace from this address (in some cases an XML schema definition is hidden behind the address). The HTTP address used merely ensures that the name of the namespace is unique. SAP namespaces adhere to the standard http://sap.com/xi/<Name>.

urn is used when the Namespaces with this prefix have no value in the sense that they are not connected with a Web page in the Internet.

Thanks,

rajasekhar_reddy14
Active Contributor
0 Kudos
stefan_grube
Active Contributor
0 Kudos
Former Member
0 Kudos

Hi Aziz,

According to my knowledge XML namespaces starts with HTTP or URN thats why we use the same in PI.

HTTP is used at protocol assignment like web service, Http,..

URN is used for non protocol assignment like JDBC,..

Regards

Ramesh