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