props = new HashMap<String, Object>();
}
props.put("jaxb.additionalContextClasses",
new Class[] {GreetMe.class, GreetMeOneWay.class});
svrBean.setProperties(props);
Server serv = svrBean.create();
Class[] extraClass = ((JAXBDataBinding)serv.getEndpoint().getService()
.getDataBinding()).getExtraClass();
assertEquals(extraClass.length, 2);
assertEquals(extraClass[0], GreetMe.class);
assertEquals(extraClass[1], GreetMeOneWay.class);