Package org.test.sample.nonwrap

Examples of org.test.sample.nonwrap.ObjectFactory


 
  public void testTwoWaySync(){
        TestLogger.logger.debug("------------------------------");
        TestLogger.logger.debug("Test : " + getName());
    try{
      TwoWay twoWay = new ObjectFactory().createTwoWay();
      twoWay.setTwowayStr("testing sync call for java bean non wrap endpoint");
      DocLitNonWrapService service = new DocLitNonWrapService();
      DocLitNonWrapPortType proxy = service.getDocLitNonWrapPort();
     
      BindingProvider p =  (BindingProvider)proxy;
View Full Code Here


  public void testTwoWayASyncCallback(){
        TestLogger.logger.debug("------------------------------");
        TestLogger.logger.debug("Test : " + getName());
    try{
      TwoWay twoWay = new ObjectFactory().createTwoWay();
      twoWay.setTwowayStr("testing Async call for java bean non wrap endpoint");
      DocLitNonWrapService service = new DocLitNonWrapService();
      DocLitNonWrapPortType proxy = service.getDocLitNonWrapPort();
     
      BindingProvider p =  (BindingProvider)proxy;
View Full Code Here

    try{
      TwoWayHolder twh = new TwoWayHolder();
      twh.setTwoWayHolderInt(new Integer(0));
      twh.setTwoWayHolderStr(new String("Request Holder String"));
      Holder<TwoWayHolder> holder = new Holder<TwoWayHolder>(twh);
      TwoWay twoWay = new ObjectFactory().createTwoWay();
      twoWay.setTwowayStr("testing sync call for java bean non wrap endpoint");
      DocLitNonWrapService service = new DocLitNonWrapService();
      DocLitNonWrapPortType proxy = service.getDocLitNonWrapPort();
     
      BindingProvider p =  (BindingProvider)proxy;
View Full Code Here

    try{
      TwoWayHolder twh = new TwoWayHolder();
      twh.setTwoWayHolderInt(new Integer(0));
      twh.setTwoWayHolderStr(new String("Request Holder String"));
      Holder<TwoWayHolder> holder = new Holder<TwoWayHolder>(twh);
      TwoWay twoWay = new ObjectFactory().createTwoWay();
      twoWay.setTwowayStr("testing sync call for java bean non wrap endpoint");
      DocLitNonWrapService service = new DocLitNonWrapService();
      DocLitNonWrapPortType proxy = service.getDocLitNonWrapPort();
     
      BindingProvider p =  (BindingProvider)proxy;
View Full Code Here

   * @see org.apache.axis2.jaxws.sample.nonwrap.sei.DocLitNonWrapPortType#twoWay(org.test.sample.nonwrap.TwoWay)
   */
  public ReturnType twoWay(TwoWay twoWay) {
   
    String requestString = twoWay.getTwowayStr();
    ObjectFactory of = new ObjectFactory();
    ReturnType rt = of.createReturnType();
    rt.setReturnStr("Acknowledgement : Request String received = "+ requestString);
   
    return rt;
  }
View Full Code Here

 
  public void testTwoWaySync(){
        TestLogger.logger.debug("------------------------------");
        TestLogger.logger.debug("Test : " + getName());
    try{
      TwoWay twoWay = new ObjectFactory().createTwoWay();
      twoWay.setTwowayStr("testing sync call for java bean non wrap endpoint");
      DocLitNonWrapService service = new DocLitNonWrapService();
      DocLitNonWrapPortType proxy = service.getDocLitNonWrapPort();
      ReturnType returnValue = proxy.twoWay(twoWay);
            TestLogger.logger.debug(returnValue.getReturnStr());
View Full Code Here

  public void testTwoWayASyncCallback(){
        TestLogger.logger.debug("------------------------------");
        TestLogger.logger.debug("Test : " + getName());
    try{
      TwoWay twoWay = new ObjectFactory().createTwoWay();
      twoWay.setTwowayStr("testing Async call for java bean non wrap endpoint");
      DocLitNonWrapService service = new DocLitNonWrapService();
      DocLitNonWrapPortType proxy = service.getDocLitNonWrapPort();
      AsyncCallback callback = new AsyncCallback();
      Future<?> monitor = proxy.twoWayAsync(twoWay, callback);
View Full Code Here

    try{
      TwoWayHolder twh = new TwoWayHolder();
      twh.setTwoWayHolderInt(new Integer(0));
      twh.setTwoWayHolderStr(new String("Request Holder String"));
      Holder<TwoWayHolder> holder = new Holder<TwoWayHolder>(twh);
      TwoWay twoWay = new ObjectFactory().createTwoWay();
      twoWay.setTwowayStr("testing sync call for java bean non wrap endpoint");
      DocLitNonWrapService service = new DocLitNonWrapService();
      DocLitNonWrapPortType proxy = service.getDocLitNonWrapPort();
      proxy.twoWayHolder(holder);
      twh = holder.value;
View Full Code Here

    try{
      TwoWayHolder twh = new TwoWayHolder();
      twh.setTwoWayHolderInt(new Integer(0));
      twh.setTwoWayHolderStr(new String("Request Holder String"));
      Holder<TwoWayHolder> holder = new Holder<TwoWayHolder>(twh);
      TwoWay twoWay = new ObjectFactory().createTwoWay();
      twoWay.setTwowayStr("testing sync call for java bean non wrap endpoint");
      DocLitNonWrapService service = new DocLitNonWrapService();
      DocLitNonWrapPortType proxy = service.getDocLitNonWrapPort();
      AsyncCallback callback = new AsyncCallback();
      Future<?> monitor =proxy.twoWayHolderAsync(twh, callback);
View Full Code Here

   * @see org.apache.axis2.jaxws.sample.nonwrap.sei.DocLitNonWrapPortType#twoWay(org.test.sample.nonwrap.TwoWay)
   */
  public ReturnType twoWay(TwoWay twoWay) {
   
    String requestString = twoWay.getTwowayStr();
    ObjectFactory of = new ObjectFactory();
    ReturnType rt = of.createReturnType();
    rt.setReturnStr("Acknowledgement : Request String received = "+ requestString);
   
    return rt;
  }
View Full Code Here

TOP

Related Classes of org.test.sample.nonwrap.ObjectFactory

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.