Most SOAP toolkits provide a java2wsdl tool. It takes a Java class and (normally using reflection) generates a WSDL description that corresponds to the class's interface. It creates a portType containing operations that map to each of the class's public methods. It also creates message elements containing structures that host the input parameters and the return values. It may also generate complex type structures that map to each of the input parameters and the return value. These toolkits usually also provide a wsdl2java tool that will generate client proxies and server skeletons. These perform the Java->XML->Java marshalling services at runtime.
Dig Deeper on Topics Archive
Related Q&A from Anne Thomas Manes
Anne Thomas Manes explains the differences between open source clients and open source implementations. Continue Reading
Anne Thomas Manes discusses the best way to go about creating an enterprise data dictionary and why the systems works well. Continue Reading
Anne Thomas Manes explains the difference between 'hard' real time and 'live' real time systems. Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.