strategies.add(new JRAStrategy());
strategies.add(new ConventionStrategy());
}
public Binding createBinding(BindingInfo bi) {
XMLBinding binding = new XMLBinding(bi);
binding.getInInterceptors().add(new AttachmentInInterceptor());
binding.getInInterceptors().add(new DatabindingInSetupInterceptor());
binding.getOutInterceptors().add(new AttachmentOutInterceptor());
binding.getOutInterceptors().add(new ContentTypeOutInterceptor());
binding.getOutInterceptors().add(new DatabindingOutSetupInterceptor());
binding.getInFaultInterceptors().add(new XMLFaultInInterceptor());
binding.getOutFaultInterceptors().add(new ContentTypeOutInterceptor());
binding.getOutFaultInterceptors().add(new StaxOutInterceptor());
binding.getOutFaultInterceptors().add(new XMLFaultOutInterceptor());
return binding;
}