Package org.jboss.test.marshaliiop

Examples of org.jboss.test.marshaliiop.TestPayload


      Object objHome = getInitialContext().lookup("marshalliiop/MarshallSession");
      objHome = PortableRemoteObject.narrow(objHome, MarshalSessionHome.class);
      MarshalSessionHome marshalHome = (MarshalSessionHome) objHome;
      MarshalSession marshalSession = marshalHome.create();

      TestPayload payload = new TestPayload();
      try
      {
         marshalSession.testMethod(payload);
         assertTrue("Call on MarshalSession.testMethod() should have thrown UnmarshalException, but did not", false);
      }
View Full Code Here

TOP

Related Classes of org.jboss.test.marshaliiop.TestPayload

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.