This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Services and the fly likes WSDL question.. 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 question.." Watch "WSDL question.." New topic

WSDL question..

Will Myers
Ranch Hand

Joined: Aug 05, 2009
Posts: 319

I have used JAX-WS to generate the required classes for my WebService and deployed this onto Weblogic 10.3. I have a question about the resulting WSDL which includes NO information about the types that the methods take or return, this info seems to be in a seperate schema file referenced from the WSDL in the schemaLocation tag:

Is this normal? When I used javaToWSDL in a previous project I'm pretty sure all the type info was contained in the WSDL....

Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
Yes, this is normal and it can actually be an advantage, in order to prevent the WSDL from becoming too big.
Often, when looking at a WSDL, it is not necessary to know exactly what the request messages, response messages and fault messages contain. If you, at some occasion, need to know in detail, then just refer to the XML schema file.
Best wishes!
Will Myers
Ranch Hand

Joined: Aug 05, 2009
Posts: 319

great, thanks Ivan.

I was getting worried because my colleague was trying to create a client using Excel but it was failing to find the type information, I guess it's his problem not mine now
Don't get me started about those stupid light bulbs.
subject: WSDL question..
Similar Threads
schema location setting
XSL to enhance WSDL presentation
WSAD5.1 WebService Client failure?
#import' is not permitted as constrained by '';
Question about the document style message part example in Ivan's study guide