Package org.jboss.test.ws.jaxws.samples.webserviceref

Examples of org.jboss.test.ws.jaxws.samples.webserviceref.Endpoint


    * Customize service-class-name, service-qname
    */
   public String testService1(String reqStr) throws Exception
   {
      EndpointService service = (EndpointService)iniCtx.lookup("java:comp/env/Service1");
      Endpoint port = service.getEndpointPort();
      return port.echo(reqStr);
   }
View Full Code Here


    */
   public String testService2(String reqStr) throws Exception
   {
      Service service = (Service)iniCtx.lookup("java:comp/env/Service2");

      Endpoint port = service.getPort(Endpoint.class);
      //verifyConfig((ConfigProvider)port);
     
      return port.echo(reqStr);
   }
View Full Code Here

   /**
    * Customize service-class-name, service-qname
    */
   public String testService3(String reqStr) throws Exception
   {
      Endpoint port = ((EndpointService)service3).getEndpointPort();
      String resStr1 = port.echo(reqStr);
     
      EndpointService service = (EndpointService)iniCtx.lookup("java:comp/env/Service3");
      port = service.getEndpointPort();
     
      String resStr2 = port.echo(reqStr);
     
      return resStr1 + resStr2;
   }
View Full Code Here

   /**
    * Customize config-name, config-file
    */
   public String testService4(String reqStr) throws Exception
   {
      Endpoint port = service4.getEndpointPort();
      String resStr1 = port.echo(reqStr);
      //verifyConfig((ConfigProvider)port);
     
      EndpointService service = (EndpointService)iniCtx.lookup("java:comp/env/Service4");
      port = service.getEndpointPort();
      //verifyConfig((ConfigProvider)port);
     
      String resStr2 = port.echo(reqStr);
     
      return resStr1 + resStr2;
   }
View Full Code Here

   /**
    * Customize port-info: port-qname, config-name, config-file
    */
   public String testPort1(String reqStr) throws Exception
   {
      Endpoint port = (Endpoint)iniCtx.lookup("java:comp/env/Port1");
      //verifyConfig((ConfigProvider)port);
     
      return port.echo(reqStr);
   }
View Full Code Here

   public String testPort2(String reqStr) throws Exception
   {
      //verifyConfig((ConfigProvider)port2);
      String resStr1 = port2.echo(reqStr);

      Endpoint port = (Endpoint)iniCtx.lookup("java:comp/env/Port2");
      //verifyConfig((ConfigProvider)port);
     
      String resStr2 = port.echo(reqStr);
     
      return resStr1 + resStr2;
   }
View Full Code Here

      String resStr1 = port3.echo(reqStr);
     
      BindingProvider bp = (BindingProvider)port3;
      verifyProperties(bp.getRequestContext());

      Endpoint port = (Endpoint)iniCtx.lookup("java:comp/env/Port3");
      String resStr2 = port.echo(reqStr);
     
      return resStr1 + resStr2;
   }
View Full Code Here

TOP

Related Classes of org.jboss.test.ws.jaxws.samples.webserviceref.Endpoint

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.