Package org.xmlsoap.schemas.wsdl

Examples of org.xmlsoap.schemas.wsdl.TTypes


    if (defs.sizeOfPortTypeArray() > 0) {
      TPortType tP = defs.getPortTypeArray(0);
      wsm.setWsName(tP.getName());
      TOperation[] operations = tP.getOperationArray();
      TTypes types = null;
      if (defs.sizeOfTypesArray() > 0) {
        types = defs.getTypesArray(0);
      }

      for (TOperation op : operations) {
View Full Code Here


                    .getSourceAsStream(schemaSrc);
            SchemaDocument.Schema schema = null;
            if (schemaSrc.endsWith(".wsdl") || schemaSrc.endsWith(".WSDL")) {
                DefinitionsDocument defDoc =
                        DefinitionsDocument.Factory.parse(stream);
                TTypes tt = defDoc.getDefinitions().getTypesArray(0);
                XmlObject[] kids = selectChildren
                        (tt, SchemaDocument.Schema.class);
                SchemaDocument.Schema[] schemas =
                        new SchemaDocument.Schema[kids.length];
View Full Code Here

            stream = docType.getTypeSystem().getSourceAsStream(schemaSrc);
            if (null == stream) {
                throw new RuntimeException("WSDL file not found: " + schemaSrc);
            }
            if (schemaSrc.toLowerCase().endsWith(".wsdl")) {
                TTypes tt = parseWSDL(stream).getDefinitions().getTypesArray(0);
                schemas = selectChildren(tt, SchemaDocument.Schema.class);
            } else {
                SchemaDocument schemaDoc = parseSchema(stream);
                schemas = new SchemaDocument.Schema[1];
                schemas[0] = schemaDoc.getSchema();
View Full Code Here

TOP

Related Classes of org.xmlsoap.schemas.wsdl.TTypes

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.