Class WSDLSchemaManager


  • public class WSDLSchemaManager
    extends Object
    • Constructor Detail

      • WSDLSchemaManager

        public WSDLSchemaManager()
    • Method Detail

      • createWSDLDefinition

        public javax.wsdl.Definition createWSDLDefinition​(String tns)
                                                   throws javax.wsdl.WSDLException,
                                                          javax.xml.bind.JAXBException
        Throws:
        javax.wsdl.WSDLException
        javax.xml.bind.JAXBException
      • setIgnoreImports

        public void setIgnoreImports​(boolean flag)
      • getWSDLDefinition

        public javax.wsdl.Definition getWSDLDefinition​(String ns)
      • getXmlSchema

        public org.apache.ws.commons.schema.XmlSchema getXmlSchema​(String ns)
      • createXmlSchema

        public org.apache.ws.commons.schema.XmlSchema createXmlSchema​(String schemans,
                                                                      org.apache.ws.commons.schema.XmlSchemaCollection schemaCol)
      • createXmlSchemaForDefinition

        public org.apache.ws.commons.schema.XmlSchema createXmlSchemaForDefinition​(javax.wsdl.Definition defn,
                                                                                   String schemans,
                                                                                   org.apache.ws.commons.schema.XmlSchemaCollection schemaCol)
      • isXmlSchemaInDefinition

        public boolean isXmlSchemaInDefinition​(String schemans)
      • addWSDLDefinitionNamespace

        public void addWSDLDefinitionNamespace​(javax.wsdl.Definition defn,
                                               String prefix,
                                               String ns)
      • addWSDLDefinitionImport

        public void addWSDLDefinitionImport​(javax.wsdl.Definition rootDefn,
                                            javax.wsdl.Definition defn,
                                            String prefix,
                                            String fileName)
      • addWSDLDefinitionImport

        public void addWSDLDefinitionImport​(javax.wsdl.Definition rootDefn,
                                            javax.wsdl.Definition defn,
                                            String prefix,
                                            File file)
      • addXmlSchemaImport

        public void addXmlSchemaImport​(org.apache.ws.commons.schema.XmlSchema rootSchema,
                                       org.apache.ws.commons.schema.XmlSchema schema,
                                       String fileName)
      • addXmlSchemaImport

        public void addXmlSchemaImport​(org.apache.ws.commons.schema.XmlSchema rootSchema,
                                       org.apache.ws.commons.schema.XmlSchema schema,
                                       File file)
      • addWSDLSchemaImport

        public void addWSDLSchemaImport​(javax.wsdl.Definition def,
                                        String tns,
                                        String schemaFileName)
                                 throws Exception
        Throws:
        Exception
      • addWSDLSchemaImport

        public void addWSDLSchemaImport​(javax.wsdl.Definition def,
                                        String tns,
                                        File file)
                                 throws Exception
        Throws:
        Exception
      • deferAttachSchemaToWSDL

        public void deferAttachSchemaToWSDL​(javax.wsdl.Definition definition,
                                            org.apache.ws.commons.schema.XmlSchema schema,
                                            boolean isSchemaGenerated)
                                     throws Exception
        Throws:
        Exception
      • attachDeferredSchemasToWSDL

        public void attachDeferredSchemasToWSDL()
                                         throws Exception
        Throws:
        Exception
      • attachSchemaToWSDL

        public void attachSchemaToWSDL​(javax.wsdl.Definition definition,
                                       org.apache.ws.commons.schema.XmlSchema schema,
                                       boolean isSchemaGenerated)
                                throws Exception
        Throws:
        Exception
      • createCorbaTypeMap

        public TypeMappingType createCorbaTypeMap​(javax.wsdl.Definition definition,
                                                  String corbatypemaptns)
                                           throws javax.wsdl.WSDLException
        Throws:
        javax.wsdl.WSDLException
      • getWSDLDefinitions

        public Map<String,​javax.wsdl.Definition> getWSDLDefinitions()
      • getXmlSchemas

        public Map<String,​org.apache.ws.commons.schema.XmlSchema> getXmlSchemas()
      • getImportedWSDLDefinitions

        public Map<File,​javax.wsdl.Definition> getImportedWSDLDefinitions()
      • getImportedXmlSchemas

        public Map<File,​org.apache.ws.commons.schema.XmlSchema> getImportedXmlSchemas()
      • getImportedWSDLDefinitionFile

        public File getImportedWSDLDefinitionFile​(String ns)
      • getImportedXmlSchemaFile

        public File getImportedXmlSchemaFile​(String ns)