XMLAdapterExtensionPoint xa = new DefaultXMLAdapterExtensionPoint();
interfaceProcessor = new JAXWSJavaInterfaceProcessor(db, new JAXWSFaultExceptionMapper(db, xa), xa);
}
public void testWrapper() throws Exception {
DefaultJavaInterfaceFactory iFactory = new DefaultJavaInterfaceFactory();
JavaInterface contract = iFactory.createJavaInterface(StockExceptionTest.class);
interfaceProcessor.visitInterface(contract);
Operation op = contract.getOperations().get(0);
Assert.assertTrue(!op.isWrapperStyle());
Assert.assertEquals(new QName("http://www.example.com/stock", "stockQuoteOffer"), op.getWrapper().getInputWrapperElement().getQName());