public void setServiceClass(Class<?> serviceClass) { super.setServiceClass(serviceClass); if (((JaxWsServiceFactoryBean)getServiceFactory()).getJaxWsImplementorInfo() == null) { JaxWsImplementorInfo implInfo = new JaxWsImplementorInfo(serviceClass); ((JaxWsServiceFactoryBean)getServiceFactory()).setJaxWsImplementorInfo(implInfo); } }
protected SoapBindingConfiguration createSoapBindingConfig() { JaxWsSoapBindingConfiguration bc = new JaxWsSoapBindingConfiguration((JaxWsServiceFactoryBean)getServiceFactory()); if (transportId != null) { bc.setTransportURI(transportId); } return bc; }
@Override public void setBindingId(String bind) { if (SOAPBinding.SOAP11HTTP_BINDING.equals(bind) || SOAPBinding.SOAP11HTTP_MTOM_BINDING.equals(bind)) { super.setBindingId("http://schemas.xmlsoap.org/wsdl/soap/"); } else if (SOAPBinding.SOAP12HTTP_BINDING.equals(bind) || SOAPBinding.SOAP12HTTP_MTOM_BINDING.equals(bind)) { super.setBindingId("http://schemas.xmlsoap.org/wsdl/soap12/"); } else { super.setBindingId(bind); } if (SOAPBinding.SOAP11HTTP_BINDING.equals(bind) || SOAPBinding.SOAP12HTTP_BINDING.equals(bind)) { setBindingConfig(new JaxWsSoapBindingConfiguration((JaxWsServiceFactoryBean)getServiceFactory())); } else if (SOAPBinding.SOAP11HTTP_MTOM_BINDING.equals(bind) || SOAPBinding.SOAP12HTTP_MTOM_BINDING.equals(bind)) { setBindingConfig(new JaxWsSoapBindingConfiguration((JaxWsServiceFactoryBean)getServiceFactory())); ((JaxWsSoapBindingConfiguration)getBindingConfig()).setMtomEnabled(true); } }
protected SoapBindingConfiguration createSoapBindingConfig() { JaxWsSoapBindingConfiguration bc = new JaxWsSoapBindingConfiguration((JaxWsServiceFactoryBean)getServiceFactory()); if (transportId != null) { bc.setTransportURI(transportId); } return bc; }
public void setServiceClass(Class<?> serviceClass) { super.setServiceClass(serviceClass); if (((JaxWsServiceFactoryBean)getServiceFactory()).getJaxWsImplementorInfo() == null) { JaxWsImplementorInfo implInfo = new JaxWsImplementorInfo(serviceClass); ((JaxWsServiceFactoryBean)getServiceFactory()).setJaxWsImplementorInfo(implInfo); } }
@Override public void setBindingId(String bind) { if (SOAPBinding.SOAP11HTTP_BINDING.equals(bind) || SOAPBinding.SOAP11HTTP_MTOM_BINDING.equals(bind)) { super.setBindingId("http://schemas.xmlsoap.org/wsdl/soap/"); } else if (SOAPBinding.SOAP12HTTP_BINDING.equals(bind) || SOAPBinding.SOAP12HTTP_MTOM_BINDING.equals(bind)) { super.setBindingId("http://schemas.xmlsoap.org/wsdl/soap12/"); } else { super.setBindingId(bind); } if (SOAPBinding.SOAP11HTTP_BINDING.equals(bind) || SOAPBinding.SOAP12HTTP_BINDING.equals(bind)) { setBindingConfig(new JaxWsSoapBindingConfiguration((JaxWsServiceFactoryBean)getServiceFactory())); } else if (SOAPBinding.SOAP11HTTP_MTOM_BINDING.equals(bind) || SOAPBinding.SOAP12HTTP_MTOM_BINDING.equals(bind)) { setBindingConfig(new JaxWsSoapBindingConfiguration((JaxWsServiceFactoryBean)getServiceFactory())); ((JaxWsSoapBindingConfiguration)getBindingConfig()).setMtomEnabled(true); } }