Package org.jboss.ws.tools

Examples of org.jboss.ws.tools.WSTools


   {
      String resourceDir = createResourceFile("tools/jbws1538").getAbsolutePath();
      String toolsDir = "target/wstools/jbws1538/output";
      String[] args = new String[] { "-dest", toolsDir, "-config", resourceDir + "/wstools-config.xml" };

      new WSTools().generate(args);

      semanticallyValidateWSDL(resourceDir + "/TestService.wsdl", toolsDir + "/wsdl/TestService.wsdl");

      JaxrpcMappingValidator mappingValidator = new JaxrpcMappingValidator();
      mappingValidator.validate(resourceDir + "/jaxrpc-mapping.xml", toolsDir + "/jaxrpc-mapping.xml");
View Full Code Here


   {
      File resourceDir = createResourceFile("tools/jbws1627");
      String toolsDir = "target/wstools/jbws1627/output";

      String[] args = new String[] { "-dest", toolsDir, "-config", resourceDir.getAbsolutePath() + "/wstools-config.xml" };
      new WSTools().generate(args);


      String[] expectedFiles = resourceDir.list(new FilenameFilter() {
         public boolean accept(File dir, String name)
         {
View Full Code Here

   protected void generateScenario(final String scenario) throws Exception
   {
      File resourceDir = createResourceFile("tools/jbws1450/scenario_" + scenario);
      String toolsDir = "target/wstools/jbws1450/scenario_" + scenario;
      String[] args = new String[] { "-dest", toolsDir, "-config", resourceDir.getAbsolutePath() + "/wstools-config.xml" };
      new WSTools().generate(args);

      String[] expectedFiles = resourceDir.list(new FilenameFilter() {
         public boolean accept(File dir, String name)
         {
            return name.endsWith(".java");
View Full Code Here

   {
      File resourceDir = createResourceFile("tools/jbws1698/" + scenario);
      String toolsDir = "target/wstools/jbws1698/" + scenario;

      String[] args = new String[] { "-dest", toolsDir, "-config", resourceDir.getAbsolutePath() + "/wstools-config.xml" };
      new WSTools().generate(args);

      String[] expectedFiles = resourceDir.list(new FilenameFilter() {
         public boolean accept(File dir, String name)
         {
            return name.endsWith(".java");
View Full Code Here

   {
      File resourceDir = createResourceFile("tools/jbws2389/" + scenario);
      String toolsDir = "target/wstools/jbws2389/" + scenario;

      String[] args = new String[] { "-dest", toolsDir, "-config", resourceDir.getAbsolutePath() + "/wstools-config.xml" };
      new WSTools().generate(args);

      String[] expectedFiles = resourceDir.list(new FilenameFilter() {
         public boolean accept(File dir, String name)
         {
            return name.endsWith(".java");
View Full Code Here

   private String toolsDir = "target/wstools/jbws1455/output";

   public void testGenerate() throws Exception
   {
      String[] args = new String[] { "-dest", toolsDir, "-config", resourceDir + "/wstools-config.xml" };
      new WSTools().generate(args);

      compareSource("MyException.java");
      compareSource("TestEndpoint_PortType.java");

      JaxrpcMappingValidator mappingValidator = new JaxrpcMappingValidator();
View Full Code Here

   private String toolsDir = "target/wstools/jbws1441/output";

   public void testGenerate() throws Exception
   {
      String[] args = new String[] { "-dest", toolsDir, "-config", resourceDir + "/wstools-config.xml" };
      new WSTools().generate(args);

      compareSource("AbstractType.java");
      compareSource("Person.java");
      compareSource("PhoneBook_PortType.java");
      compareSource("TelephoneNumber.java");
View Full Code Here

   {
      File resourceFile = createResourceFile("tools/jbws1184/scenario_" + scenario);
      String resourceDir = resourceFile.getAbsolutePath();
      String toolsDir = "target/wstools/jbws1184/scenario_" + scenario;
      String[] args = new String[] { "-dest", toolsDir, "-config", resourceDir + "/wstools-config.xml" };
      new WSTools().generate(args);

      compareSource(resourceDir + "/DataObject.java", toolsDir + "/org/jboss/test/ws/jbws1184/DataObject.java");
      compareSource(resourceDir + "/TestEndpoint_PortType.java", toolsDir + "/org/jboss/test/ws/jbws1184/TestEndpoint_PortType.java");

      JaxrpcMappingValidator mappingValidator = new JaxrpcMappingValidator();
View Full Code Here

   protected void generateScenario(final String scenario) throws Exception
   {
      File resourceDir = createResourceFile("tools/jbws1534/" + scenario);
      String toolsDir = "target/wstools/jbws1534/" + scenario;
      String[] args = new String[] { "-dest", toolsDir, "-config", resourceDir.getAbsolutePath() + "/wstools-config.xml" };
      new WSTools().generate(args);

      String[] expectedFiles = resourceDir.list(new FilenameFilter() {
         public boolean accept(File dir, String name)
         {
            return name.endsWith(".java");
View Full Code Here

   public void testGenerate() throws Exception
   {
      String realResourceDir = getResourceFile("tools/jbpapp921").getAbsolutePath();
      String[] args = new String[] { "-dest", toolsDir, "-config", realResourceDir + "/wstools-config.xml" };
      new WSTools().generate(args);
      compareSource("Models_ServiceIM_ServiceProxyService.java");
      compareSource("ValidationEvent_test.java");

      JaxrpcMappingValidator mappingValidator = new JaxrpcMappingValidator();
      File jaxrpcMapping = getResourceFile(resourceDir + "/jaxrpc-mapping.xml");
View Full Code Here

TOP

Related Classes of org.jboss.ws.tools.WSTools

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.