package org.jboss.test.webservice.marshalltest;
import junit.framework.Test;
import javax.naming.InitialContext;
import javax.xml.rpc.Service;
public class MarshallRpcLiteralTestCase extends AbstractRpcTestBase
{
public MarshallRpcLiteralTestCase(String name)
{
super(name);
}
public static Test suite() throws Exception
{
return getDeploySetup(MarshallRpcLiteralTestCase.class, "ws4ee-marshall-rpclit.ear");
}
protected void setUp() throws Exception
{
super.setUp();
if (rpcPort == null)
{
InitialContext iniCtx = getClientContext();
Service service = (Service)iniCtx.lookup("java:comp/env/service/MarshallRpcLitService");
rpcPort = (MarshallRpcServiceInterface)service.getPort(MarshallRpcServiceInterface.class);
}
}
}