You can do it this way:html
Generate your java types using the xjc tool that comes with the JDK distributions - xjc -wsdl file.wsdljava
xjc -wsdl file.wsdl
Then using the generated java types, use WebserviceTemplate, described here to create the client.web