public void testTwoWayHolder(){
TestLogger.logger.debug("------------------------------");
TestLogger.logger.debug("Test : " + getName());
try{
TwoWayHolder twh = new TwoWayHolder();
twh.setTwoWayHolderInt(new Integer(0));
twh.setTwoWayHolderStr(new String("Request Holder String"));
Holder<TwoWayHolder> holder = new Holder<TwoWayHolder>(twh);
TwoWay twoWay = new ObjectFactory().createTwoWay();
twoWay.setTwowayStr("testing sync call for java bean non wrap endpoint");
DocLitNonWrapService service = new DocLitNonWrapService();
DocLitNonWrapPortType proxy = service.getDocLitNonWrapPort();
BindingProvider p = (BindingProvider)proxy;
p.getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, axisEndpoint);
proxy.twoWayHolder(holder);
twh = holder.value;
TestLogger.logger.debug("Holder string =" + twh.getTwoWayHolderStr());
TestLogger.logger.debug("Holder int =" + twh.getTwoWayHolderInt());
// Repeat to verify behavior
proxy.twoWayHolder(holder);
twh = holder.value;
TestLogger.logger.debug("Holder string =" + twh.getTwoWayHolderStr());
TestLogger.logger.debug("Holder int =" + twh.getTwoWayHolderInt());
TestLogger.logger.debug("------------------------------");
}catch(Exception e){
e.printStackTrace();
fail();