aspose file tools*
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
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,
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Definition of Target namespace in WSDL file