wood burning stoves*
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 Murach's Java Servlets and JSP this week in the Servlets 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="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 ?

J Davidson

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