Meaningless Drivel is fun!*
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "WSDL question.." Watch "WSDL question.." New topic
Author

WSDL question..

Will Myers
Ranch Hand

Joined: Aug 05, 2009
Posts: 329

Hi,
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....

Willy
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
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: 329

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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: WSDL question..