}
protected void validateWsdl2(HttpSoapProviderMarshaler marshaler) throws
org.apache.woden.WSDLException, IOException, DeploymentException {
WSDLReader reader = WSDLFactory.newInstance().newWSDLReader();
DescriptionElement descElement = reader.readWSDL(wsdl.getURL().toString());
Description desc = descElement.toComponent();
org.apache.woden.wsdl20.Service svc;
if (getService() != null) {
svc = desc.getService(getService());
if (svc == null) {
throw new DeploymentException("Could not find service '" + getService() + "' in wsdl");