on 02-29-2008 1:56 PM
Hi all,
can any one explain difference between HTTP AND URN which we will be giving while assigning namespaces?
regards,
keerthi
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 Id share my understanding of the two concepts. Im 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 its 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/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
See this link:
For URN and URL:
http://www.pierobon.org/iis/url.htm
Http is nothing but a stateless transfer protocol.
BR,
Alok
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.