Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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 Android Security Essentials Live Lessons this week in the Android 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: 984

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
 
Similar Threads
Using import in wsdl
Question about WSDL import element
Generating with axis-java2wsdl a WSDLwith 2 PortType
BP Analyzer
WSDL generation in Axis - item is referenced but not defined