}
// [JBWS-983] Configure SOAPAction on the Call object
public void testCallActionFromProperty() throws Exception
{
ServiceFactory factory = ServiceFactory.newInstance();
URL wsdlUrl = new URL("http://" + getServerHost() + ":8080/jaxrpc-jbws425?wsdl");
QName serviceName = new QName("http://org.jboss.test.webservice/jbws425", "HelloService");
QName portName = new QName("http://org.jboss.test.webservice/jbws425", "HelloPort");
Service service = factory.createService(wsdlUrl, serviceName);
Call call = service.createCall(portName, "hello");
call.setProperty(Call.SOAPACTION_URI_PROPERTY, "uri:property-action");
String soapAction = (String)call.invoke(new Object[] {"Hello Server"});
assertEquals("\"uri:property-action\"", soapAction);
}