This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Web Services and the fly likes Definition of Target namespace in WSDL file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Definition of Target namespace in WSDL file" Watch "Definition of Target namespace in WSDL file" New topic
Author

Definition of Target namespace in WSDL file

Michael Zhou
Greenhorn

Joined: Jan 27, 2005
Posts: 12
Hi all experts,
Recently I have been studying WSDL in details. As I proceed, I found myself having trouble with understanding the "target namespace" concept in WSDL <definition> tag. Could you offer some enlightment on that?
Much appreciated!

Michael
William Barnes
Ranch Hand

Joined: Mar 16, 2001
Posts: 986

Namespace allows you to import other wsdl files, and not have to worry about tag names clashing. If you didn't use a name space than you would have to check, somehow, that any other wsdl which was used didn't have tags with the same name(s).

Target is where the web service lives.

Target namespace is a way of ensuring that your taget tag doesn't clash with anything else in your wsdl.

Target namespace (scroll to the bottom of this page)


Please ignore post, I have no idea what I am talking about.
Michael Zhou
Greenhorn

Joined: Jan 27, 2005
Posts: 12
Hi William,
Finally I got to understand that with your help!

Thanks a lot!

Cheers,
 
Don't get me started about those stupid light bulbs.
 
subject: Definition of Target namespace in WSDL file