Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Definition of Target namespace in WSDL file

 
Michael Zhou
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 986
Eclipse IDE Firefox Browser Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)
 
Michael Zhou
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi William,
Finally I got to understand that with your help!

Thanks a lot!

Cheers,
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic