File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "wsdl namespace confusing" Watch "wsdl namespace confusing" New topic
Author

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="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

Joined: Jul 12, 2006
Posts: 5
Go to www.xfront.com and you'll find your answer.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: wsdl namespace confusing