This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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....
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.