I am currently working on a Web Service client using CXF without Spring configuration files.
It works pretty well but I cannot figure out how to set the binding Soap
if you are using cxf client , you can use following way. Also it can bind more than one wsdl.
JaxWsProxyFactoryBean factory = new JaxWsProxyFactoryBean();
factory.setServiceClass(WebServiceClass);
BindingConfiguration config = new BindingConfiguration() {
@Override
public String getBindingId() {
// TODO Auto-generated method stub
return "http://www.w3.org/2003/05/soap/bindings/HTTP/";//SOAPVersion.SOAP_12.httpBindingId
}
};
factory.setBindingConfig(config);