def.addNamespace("serviceNS", url);
def.addNamespace("soap", "http://schemas.xmlsoap.org/wsdl/soap/");
def.addNamespace("xsd", Constants.URI_CURRENT_SCHEMA_XSD);
service.setQName(new javax.wsdl.QName(urn, name));
def.addService(service);
PortType portType = def.createPortType();
portType.setUndefined(false);
portType.setQName(new javax.wsdl.QName(url, name + "PortType"));