public void testJAXBCB_Server1(){
TestLogger.logger.debug("------------------------------");
TestLogger.logger.debug("Test : " + getName());
try{
String reqString = "JAXBCustomBuilderServer1";
DocLitWrap proxy = getProxy();
// Start Monitoring
proxy.twoWay("JAXBCustomBuilderMonitorStart");
String response = proxy.twoWay(reqString);
// The returned response will contain the number of JAXBCustomBuilders
// for the server this could be any number 0 or greater.
TestLogger.logger.debug("Response 1 =" + response);
String response2 = proxy.twoWay(reqString);
TestLogger.logger.debug("Response 2 =" + response2);
// The returned response will contain the number of JAXBCustomBuilders
// this could be any number 1 or greater. The assumption is that
// the JAXBCustomBuilder will be installed on the second invoke
Integer r = Integer.parseInt(response2);
assertTrue(r.intValue() >= 1);
TestLogger.logger.debug("------------------------------");
// End Monitoring
proxy.twoWay("JAXBCustomBuilderMonitorEnd");
}catch(Exception e){
e.printStackTrace();
fail();
}
}