This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

wsdl namespace confusing

 
Edward Chen
Ranch Hand
Posts: 798
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the book, 'J2EE� Web Services'

" message automatically take on the namespace specified by the targetNamespace attribute."

===================
My question is , why 'message' will use targetNamespace, not default namespace, 'xmlns="http://schemas.xmlsoap.org/wsdl/" ' ?

because, in my understanding, all elements should conform to defalut namespace, except those defined in this xml schema (that is , targetNamespace). But we didn't see 'message' defined in this xml schema, so , I think 'message' should use default namespace.

Could you please clarify my confusing ?

Thanks.
 
J Davidson
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Go to www.xfront.com and you'll find your answer.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic