TestLogger.logger.debug("Test : " + getName());
try{
BareDocLitService service = new BareDocLitService();
DocLitBarePortType proxy = service.getBareDocLitPort();
BindingProvider p = (BindingProvider) proxy;
p.getRequestContext().put(
BindingProvider.SOAPACTION_USE_PROPERTY, Boolean.TRUE);
p.getRequestContext().put(
BindingProvider.SOAPACTION_URI_PROPERTY, "twoWaySimple");
String response = proxy.twoWaySimple(10);
TestLogger.logger.debug("Sync Response =" + response);
TestLogger.logger.debug("------------------------------");
}catch(Exception e){
e.printStackTrace();
fail();