Package org.jboss.test.ws.jaxws.jbws1566.b

Examples of org.jboss.test.ws.jaxws.jbws1566.b.BClass


      BindingProvider bindingProvider = (BindingProvider)port;
      Map<String, Object> reqContext = bindingProvider.getRequestContext();
      reqContext.put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, TARGET_ENDPOINT_ADDRESS);

      TestEnumeration res = null;
      BClass input = new BClass();
      input.setA(1);
      input.setB("hello service");
      try
      {
View Full Code Here


      BindingProvider bindingProvider = (BindingProvider)port;
      Map<String, Object> reqContext = bindingProvider.getRequestContext();
      reqContext.put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, TARGET_ENDPOINT_ADDRESS);

      TestEnumeration res = null;
      BClass input = new BClass();
      input.setA(1);
      input.setB("hello service");
      try
      {
         res = port.testMethod(input);
         assertEquals(res, TestEnumeration.A);
      }
View Full Code Here

public class Jaxb20StatelessTestBean  implements Jaxb20TestWSInterface {

  public TestEnumeration testMethod(BClass input) throws BException, RemoteException {
    System.out.println("Got input: "+input +": a="+input.getA()+", b="+input.getB());
    if (input.getA()==0) {
      BException ex = new BException();
      ex.setAe(11);
      ex.setBe(13);
      throw ex;
    }
    return TestEnumeration.A;
  }
View Full Code Here

   public TestEnumeration testMethod(BClass input) throws BException, RemoteException
   {
      System.out.println("Got input: " + input + ": a=" + input.getA() + ", b=" + input.getB());
      if (input.getA() == 0)
      {
         BException ex = new BException();
         ex.setAe(11);
         ex.setBe(13);
         throw ex;
      }
      return TestEnumeration.A;
   }
View Full Code Here

TOP

Related Classes of org.jboss.test.ws.jaxws.jbws1566.b.BClass

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.