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 wsdl namespace confusing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
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.
 
jQuery in Action, 2nd edition
 
subject: wsdl namespace confusing
 
Similar Threads
Clarification sought on the Basic profile
Consume web service error: No service endpoints found
message headers in WSDL
Significance of default Namespace
Problem with SOAP