This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Web Services and the fly likes wsdl namespace confusing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "wsdl namespace confusing" Watch "wsdl namespace confusing" New topic

wsdl namespace confusing

Edward Chen
Ranch Hand

Joined: Dec 23, 2003
Posts: 798
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="" ' ?

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 ?

J Davidson

Joined: Jul 12, 2006
Posts: 5
Go to and you'll find your answer.
Have you checked out Aspose?
subject: wsdl namespace confusing
It's not a secret anymore!