cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP AND URN.

Former Member
0 Kudos

Hi all,

can any one explain difference between HTTP AND URN which we will be giving while assigning namespaces?

regards,

keerthi

Accepted Solutions (1)

Accepted Solutions (1)

nisarkhan_n
Active Contributor
0 Kudos

Difference:

What is the difference between a URL and URI and why does it matter? This topic is confusing to some (myself included) and I thought I’d share my understanding of the two concepts. I’m hoping this post will give you a better understanding about how the two differ and why it matters to some.

Note: The goal of this post is to simplify the distinction between URI and URI. If you feel that in the summarization process something was lost, or it’s simply just correct, please post a comment and the information will be corrected. I only ask for any comments/criticism to be constructive.

Update: Thanks some constructive, and not-so constructive, feedback from some readers I have updated this post to correct many of my own misunderstandings. Of which, there were many.

URI

A URI identifies a resource either by location, or a name, or both. More often than not, most of us use URIs that defines a location to a resource. The fact that a URI can identify a resources by both name and location has lead to a lot of the confusion in my opionion. A URI has two specializations known as URL and URN.

URN

A URI identifies a resource by name in a given namespace but not define how the resource maybe obtained. This type of URI is called a URN. You may see URNs used in XML Schema documents to define a namespace, usually using a syntax such as:

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

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

targetNamespace="urn:example"Here the targetNamespace use a URN. It defines an identifier to the namespace, but it does not define a location.

check this for more details

http://www.damnhandy.com/2007/11/19/uri-vs-url-whats-the-difference/

Answers (2)

Answers (2)

Former Member
0 Kudos

hi keerti,

When u import RFC in XI and publish as wsdl file then u can find namespace as URN which wont be working when called by remote system.

here RFC namespace is local to XI .

you need to create data types message types of correspoding RFC,n then publish as WSDL.

now namesapce ll start with HTTP:
which is URL ,there by remote system can reach XI box.

This will save your time when you are working on wsdl.

Regards,

Rama Krishna

Former Member
0 Kudos

See this link:

For URN and URL:

http://www.pierobon.org/iis/url.htm

Http is nothing but a stateless transfer protocol.

BR,

Alok