public void init() throws Exception {
Assert.notNull(wsdl, "soap.wsdl parameter must be set on the uri");
if (serviceName == null) {
description = DOMUtils.readXml(wsdl.getInputStream());
WSDLFactory wsdlFactory = WSDLFactory.newInstance();
WSDLReader reader = wsdlFactory.newWSDLReader();
reader.setFeature("javax.wsdl.verbose", false);
definition = reader.readWSDL(wsdl.getURL().toString(), description);
serviceName = (QName) definition.getServices().keySet().iterator().next();
}
}