D wrote:

Hi All, a fairly basic question regarding the definitions in the example EJB wsdl & java wsdl. Specifically, regarding the following definitions
targetNamespace=http://wsifservice.addressbook/
xmlns:tns=http://wsifservice.addressbook/
xmlns:typens=http://wsiftypes.addressbook/
Personally I have only up until now dealt with soap definitions to some degree, i.e; targetNamespace="http://hostname:8080/axis/services/<classname>"> and as I understand it this basically points to the service provided on in this case a Tomcat server.
What I'm wondering is what exactly do http://wsifservice.addressbook/ etc point to, are they the actual classes involved?, in which case what are they being hosted in & how are they deployed?
Sorry if this is real basic, still feeling my way around here. Any explanations, tips etc.., most appreciated.


hi Damien,

this namespace is only for sample and is not meant to be dereferencable.

namespace URI have no meaning - it is just a string and compared as strings (see http://www.w3.org/TR/REC-xml-names/):

(...) [Definition:] URI references which identify namespace are considered identical when they are exactly the same character-for-character. Note that URI references which are not identical in this sense may in fact be functionally equivalent. Examples include URI references which differ only in case, or which are in external entities which have different effective base URIs.(...)

there are/were endless discussions about that (for example http://lists.xml.org/archives/xml-dev/200012/msg00720.html) that led to an attempt to solve this riddle see RDDL http://www.rddl.org/

unless RDDL is used you can pretty much except anything at namespace URI ...

alek

--
If everything seems under control, you're just not going fast enough. —Mario Andretti




Reply via email to