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

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


      URL wsdlURL = new URL("http://" + getServerHost() + ":8080/jbws1702/SampleWSWithDocument_Bare?wsdl");
      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


    ClassC classC= new ClassC();
    classC.setPropA("propA");
    classC.setPropB("propB");
    classC.setPropC("propC");

    ResponseWrapperB resp = new ResponseWrapperB();
    resp.setData(classC);
    return resp;
  }
View Full Code Here

  /**
   * Method that make ClassC available for all clients using this web service.
   */ 
  public ResponseWrapperC getClassC() {
    ClassC data = (ClassC) getClassCAsClassB().getData();
    ResponseWrapperC resp = new ResponseWrapperC();
    resp.setData(data);
    return resp;
  }
View Full Code Here

  /**
   * Method that make ClassC available for all clients using this web service.
   */ 
  public ResponseWrapperC getClassC() {
    ClassC data = (ClassC) getClassCAsClassB().getData();
    ResponseWrapperC resp = new ResponseWrapperC();
    resp.setData(data);
    return resp;
  }
View Full Code Here

TOP

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

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.