if (schemaInfo == null) {
schemaInfo = new SchemaInfo(serviceInfo, qname.getNamespaceURI());
XmlSchemaCollection col = new XmlSchemaCollection();
schema = new XmlSchema(qname.getNamespaceURI(), col);
schema.setElementFormDefault(new XmlSchemaForm(XmlSchemaForm.QUALIFIED));
serviceInfo.setXmlSchemaCollection(col);
NamespaceMap nsMap = new NamespaceMap();
nsMap.add(WSDLConstants.NP_SCHEMA_XSD, WSDLConstants.NU_SCHEMA_XSD);
schema.setNamespaceContext(nsMap);