Examples of addXSComplexTypeDefinition()


Examples of org.jboss.ws.metadata.wsdl.xmlschema.JBossXSModel.addXSComplexTypeDefinition()

      xsel.setName("msg");
      xsel.setTypeDefinition(SchemaUtils.getInstance().getSchemaBasicType("string"));
      xsel.setNillable(true);
      xsp.setTerm(xsel);
      ct.setParticle(xsp);
      xsmodel.addXSComplexTypeDefinition(ct)//Always add global complex types to global types
      //Lets write the schema into a file
      File xsdOutFile = new File("tools/wsdlwritedir/HelloObj.xsd");
      xsdOutFile.delete();
      xsmodel.writeTo(new FileOutputStream(xsdOutFile));
   }
View Full Code Here

Examples of org.jboss.ws.metadata.wsdl.xmlschema.JBossXSModel.addXSComplexTypeDefinition()

      xsel.setName("msg");
      xsel.setTypeDefinition(SchemaUtils.getInstance().getSchemaBasicType("string"));
      xsel.setNillable(true);
      xsp.setTerm(xsel);
      ct.setParticle(xsp);
      xsmodel.addXSComplexTypeDefinition(ct)//Always add global complex types to global types
      //Lets write the schema into a file
      File xsdOutFile = createResourceFile("tools/wsdlwritedir/HelloObj.xsd");
      xsdOutFile.delete();
      xsmodel.writeTo(new FileOutputStream(xsdOutFile));
   }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.