Package org.jboss.test.ws.jaxws.jbws1702

Examples of org.jboss.test.ws.jaxws.jbws1702.JBWS1702TestCase


      URL wsdlURL = new URL("http://" + getServerHost() + ":8080/jbws1702/SampleWSWithRPC_Bare?wsdl");
      QName serviceName = new QName("http://jbws1702.jaxws.ws.test.jboss.org/", "SampleWSWithRPC_BareService");
      Service service = Service.create(wsdlURL, serviceName);

      SampleWSRpcSEI port = service.getPort(SampleWSRpcSEI.class);
      ClassB b = port.getClassCAsClassB();     
      assertTrue("Should be an instance of ClassC, but was " + b, (b instanceof ClassC));
   }
View Full Code Here


      QName serviceName = new QName("http://jbws1702.jaxws.ws.test.jboss.org/", "SampleWSWithDocument_BareService");
      Service service = Service.create(wsdlURL, serviceName);

      SampleWSBareSEI port = service.getPort(SampleWSBareSEI.class);
      ResponseWrapperB wrapper = port.getClassCAsClassB();
      ClassB b = wrapper.getData();
      assertTrue("Should be an instance of ClassC, but was " + b, (b instanceof ClassC));
   }
View Full Code Here

      URL wsdlURL = new URL("http://" + getServerHost() + ":8080/jbws1702/SampleWSWithDocument_Wrapped?wsdl");
      QName serviceName = new QName("http://jbws1702.jaxws.ws.test.jboss.org/", "SampleWSWithDocument_WrappedService");
      Service service = Service.create(wsdlURL, serviceName);

      SampleWSWrappedSEI port = service.getPort(SampleWSWrappedSEI.class);
      ClassB b = port.getClassCAsClassB();
      assertTrue("Should be an instance of ClassC, but was " + b, (b instanceof ClassC));
   }
View Full Code Here

      URL wsdlURL = new URL("http://" + getServerHost() + ":8080/jbws1702/SampleWSWithRPC_Bare?wsdl");
      QName serviceName = new QName("http://jbws1702.jaxws.ws.test.jboss.org/", "SampleWSWithRPC_BareService");
      Service service = Service.create(wsdlURL, serviceName);

      SampleWSRpcSEI port = service.getPort(SampleWSRpcSEI.class);
      ClassB b = port.getClassCAsClassB();     
      assertTrue("Should be an instance of ClassC, but was " + b, (b instanceof ClassC));
   }
View Full Code Here

      QName serviceName = new QName("http://jbws1702.jaxws.ws.test.jboss.org/", "SampleWSWithDocument_BareService");
      Service service = Service.create(wsdlURL, serviceName);

      SampleWSBareSEI port = service.getPort(SampleWSBareSEI.class);
      ResponseWrapperB wrapper = port.getClassCAsClassB();
      ClassB b = wrapper.getData();
      assertTrue("Should be an instance of ClassC, but was " + b, (b instanceof ClassC));
   }
View Full Code Here

      URL wsdlURL = new URL("http://" + getServerHost() + ":8080/jbws1702/SampleWSWithDocument_Wrapped?wsdl");
      QName serviceName = new QName("http://jbws1702.jaxws.ws.test.jboss.org/", "SampleWSWithDocument_WrappedService");
      Service service = Service.create(wsdlURL, serviceName);

      SampleWSWrappedSEI port = service.getPort(SampleWSWrappedSEI.class);
      ClassB b = port.getClassCAsClassB();
      assertTrue("Should be an instance of ClassC, but was " + b, (b instanceof ClassC));
   }
View Full Code Here

  /**
   * In .NET Client (C#) only the content information of ClassB is being submitted. (--> propC is unknown)
   */
  public ClassB getClassCAsClassB() {
    ClassC classC= new ClassC();
    classC.setPropA("propA");
    classC.setPropB("propB");
    classC.setPropC("propC");
    return classC;
  }
View Full Code Here

   * Method that make ClassC available for all clients using this web service.
   * !! Is there another possibility to make inherited classes available? In J2EE4 styled endpoints you could
   * declare additional Classes in a seperate xml descriptor file. !!
   */ 
  public ClassC getClassC() {
    return new ClassC();
  }
View Full Code Here

  /**
   * In .NET Client (C#) the follow error occurs:
   * "The specified type was not recognized: name='classC', namespace='', at <return xmlns=''>."
   */
  public ClassB getClassCAsClassB() {
    ClassC classC= new ClassC();
    classC.setPropA("propA");
    classC.setPropB("propB");
    classC.setPropC("propC");
    return classC;
  }
View Full Code Here

   * Method that make ClassC available for all clients using this web service.
   * !! Is there another possibility to make inherited classes available? In J2EE4 styled endpoints you could
   * declare additional Classes in a seperate xml descriptor file. !!
   */ 
  public ClassC getClassC() {
    return new ClassC();
  }
View Full Code Here

TOP

Related Classes of org.jboss.test.ws.jaxws.jbws1702.JBWS1702TestCase

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.