Class WSDLToCorbaHelper


  • public class WSDLToCorbaHelper
    extends Object
    • Constructor Detail

      • WSDLToCorbaHelper

        public WSDLToCorbaHelper()
    • Method Detail

      • setTypeMap

        public void setTypeMap​(org.apache.cxf.binding.corba.wsdl.TypeMappingType map)
      • setIdlNamespace

        public void setIdlNamespace​(String ns)
      • getIdlNamespace

        public String getIdlNamespace()
      • setXMLSchemaList

        public void setXMLSchemaList​(org.apache.cxf.common.xmlschema.SchemaCollection list)
      • getXMLSchemaList

        public org.apache.cxf.common.xmlschema.SchemaCollection getXMLSchemaList()
      • setWsdlDefinition

        public void setWsdlDefinition​(javax.wsdl.Definition defn)
      • convertSchemaToCorbaType

        public org.apache.cxf.binding.corba.wsdl.CorbaType convertSchemaToCorbaType​(org.apache.ws.commons.schema.XmlSchemaType stype,
                                                                                    QName defaultName,
                                                                                    org.apache.ws.commons.schema.XmlSchemaType parent,
                                                                                    org.apache.ws.commons.schema.XmlSchemaAnnotation annotation,
                                                                                    boolean anonymous)
                                                                             throws Exception
        Throws:
        Exception
      • processContainerAsMembers

        protected List<org.apache.cxf.binding.corba.wsdl.MemberType> processContainerAsMembers​(org.apache.ws.commons.schema.XmlSchemaParticle particle,
                                                                                               QName defaultName,
                                                                                               QName schemaTypeName)
                                                                                        throws Exception
        Throws:
        Exception
      • getSchemaType

        public org.apache.ws.commons.schema.XmlSchemaType getSchemaType​(QName name)
                                                                 throws Exception
        Throws:
        Exception
      • processSequenceType

        protected org.apache.cxf.binding.corba.wsdl.CorbaType processSequenceType​(org.apache.ws.commons.schema.XmlSchemaSequence seq,
                                                                                  QName defaultName,
                                                                                  QName schemaTypeName)
                                                                           throws Exception
        Throws:
        Exception
      • processAllType

        protected org.apache.cxf.binding.corba.wsdl.CorbaType processAllType​(org.apache.ws.commons.schema.XmlSchemaAll seq,
                                                                             QName defaultName,
                                                                             QName schematypeName)
                                                                      throws Exception
        Throws:
        Exception
      • processAttributesAsMembers

        protected List<org.apache.cxf.binding.corba.wsdl.MemberType> processAttributesAsMembers​(List<org.apache.ws.commons.schema.XmlSchemaAttributeOrGroupRef> list,
                                                                                                String uri)
                                                                                         throws Exception
        Throws:
        Exception
      • lookUpType

        protected org.apache.ws.commons.schema.XmlSchemaType lookUpType​(javax.wsdl.Part part)
      • isSchemaTypeException

        protected boolean isSchemaTypeException​(org.apache.ws.commons.schema.XmlSchemaType stype)
      • isLiteralArray

        public boolean isLiteralArray​(org.apache.ws.commons.schema.XmlSchemaComplexType type)
      • createArray

        protected org.apache.cxf.binding.corba.wsdl.CorbaType createArray​(QName name,
                                                                          QName schematypeName,
                                                                          QName arrayType,
                                                                          Long maxOccurs,
                                                                          Long minOccurs,
                                                                          boolean anonymous)
        Create a CORBA Array or Sequence based on min and max Occurs If minOccurs == maxOccurs == 1 then log warning and return null. Else if minOccurs is equal to maxOccurs then create an Array. Else create a Sequence
      • createArray

        protected org.apache.cxf.binding.corba.wsdl.CorbaType createArray​(QName name,
                                                                          QName schematypeName,
                                                                          QName arrayType,
                                                                          QName elName,
                                                                          Long maxOccurs,
                                                                          Long minOccurs,
                                                                          boolean anonymous)
        Create a CORBA Array or Sequence based on min and max Occurs If minOccurs == maxOccurs == 1 then log warning and return null. Else if minOccurs is equal to maxOccurs then create an Array. Else create a Sequence
      • processSimpleContentStruct

        protected org.apache.cxf.binding.corba.wsdl.Struct processSimpleContentStruct​(org.apache.ws.commons.schema.XmlSchemaSimpleContent simpleContent,
                                                                                      QName defaultName,
                                                                                      org.apache.cxf.binding.corba.wsdl.Struct corbaStruct,
                                                                                      QName schematypeName)
                                                                               throws Exception
        Throws:
        Exception
      • processComplexContentStruct

        protected org.apache.cxf.binding.corba.wsdl.Struct processComplexContentStruct​(org.apache.ws.commons.schema.XmlSchemaComplexContent complex,
                                                                                       QName defaultName,
                                                                                       org.apache.cxf.binding.corba.wsdl.Struct corbaStruct,
                                                                                       QName schematypeName)
                                                                                throws Exception
        Throws:
        Exception
      • processComplexContentStructChoice

        protected org.apache.cxf.binding.corba.wsdl.MemberType processComplexContentStructChoice​(org.apache.ws.commons.schema.XmlSchemaChoice choice,
                                                                                                 QName schematypeName,
                                                                                                 QName defaultName)
                                                                                          throws Exception
        Throws:
        Exception
      • createNillableUnion

        protected org.apache.cxf.binding.corba.wsdl.CorbaType createNillableUnion​(QName name,
                                                                                  QName schemaType,
                                                                                  QName membertype,
                                                                                  boolean isQualified)
      • createUnion

        protected org.apache.cxf.binding.corba.wsdl.Union createUnion​(QName name,
                                                                      org.apache.ws.commons.schema.XmlSchemaChoice choice,
                                                                      QName defaultName,
                                                                      QName schematypeName)
                                                               throws Exception
        Throws:
        Exception
      • isDuplicate

        protected boolean isDuplicate​(org.apache.cxf.binding.corba.wsdl.CorbaType corbaTypeImpl)
      • isDuplicateException

        protected org.apache.cxf.binding.corba.wsdl.CorbaType isDuplicateException​(org.apache.cxf.binding.corba.wsdl.CorbaType corbaTypeImpl)
      • checkPrefix

        protected QName checkPrefix​(QName schematypeName)
      • createQNameTargetNamespace

        public QName createQNameTargetNamespace​(String name)
      • createQNameCorbaNamespace

        public QName createQNameCorbaNamespace​(String name)
      • createQNameXmlSchemaNamespace

        public QName createQNameXmlSchemaNamespace​(String name)
      • queryBinding

        protected static boolean queryBinding​(javax.wsdl.Definition definition,
                                              QName bqname)