//new in 2.2, but introduces a new class not found in 2.1
public void publish(javax.xml.ws.spi.http.HttpContext context) {
ServerFactoryBean serverFactory = getServerFactory();
if (serverFactory.getDestinationFactory() == null) {
serverFactory.setDestinationFactory(new JAXWSHttpSpiTransportFactory(getBus(), context));
}
super.publish(context.getPath());
}