what is meaning of these web services jargons...

Hi

Thank you for reading my post

I have a question about some web services jargons and their relations.

Port

endPoint

QName

Binding

I looked at QName javaDoc and i did not understand anything more than

QName represents a qualified name as defined in the XML specifications: XML Schema Part2: Datatypes specification, Namespaces in XML, Namespaces in XML Errata.

Which itself has tens of entry to other documents.

I want a simple and wasy to understand description and those jargons relations.

any help is very welcome.

[591 byte] By [Legolas.wa] at [2007-11-27 5:09:47]
# 1

For some of these there are actually a couple of meanings depending on the context.

Port: In the context of a WSDL, it represents a fully described and bound PortType. A PortType describes the abstract operations of a web service. A PortType is then specified in the Binding section of the WSDL. In this section, a PortType is bound to a certain protocol, such as SOAP binding. Finally, in the Services section of the WSDL, a Port is a Binding that has a concrete address to the web service. So for short, a Port gives you all of the information that one needs to invoke a web services as it has 1) an abstract definition of the web service, 2) It has been bound to a certain protocol., and 3) it has a concrete address.

In JAX-WS, a port often represents a proxy on the client that can be used to invoke operations on the target web service.

An endpoint is the server side implementation of a web service.

A binding was described above with Port in the context of WSDL. Binding also refers to how XML is bound to a language construct such has a Java class.

QName is the fully qualified XML name for some entity. By fully qualified that means that it has a namespace and a local name. For example, "wsdl:binding", uses the namespace represented by "wsdl" and a local name of "binding". You usually have to look for the mapping of namespace prefixes to namespaces in the XML document itself. For example, the "wsdl" prefix may be defined by the following.

xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"

So that means "wsdl:binding", represents the "binding" element in the "http://schemas.xmlsoap.org/wsdl/" namespace.

dkohlerta at 2007-7-12 10:29:42 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...