Hi, I'm interested in how to configure the bindings and transport for a service endpoint using the JaxWs Api.
I am using the JaxWsServerFactoryBean to publish a service. I see two methods that I believe are of interest - setBindingId(String bindingId) and setTransportId(String transportId). Unfortunately, the parameters are just strings so they don't tell me much about this at all. From my research so far, I have found the following: Say I have the following common code: JaxWsServerFactoryBean serverFactory = new JaxWsServerFactoryBean(); serverFactory.setServiceClass(someServiceClass.getClass()); serverFactory.setAddress(someddress); The differences for the various bindings/transports would be: 1. Using SOAP 1.1 Would remain intact, no changes needed? Is this right? 2. Using SOAP1.2 //add line serverFactory.setBindingId(SOAPBinding.SOAP12HTTP_BINDING); 3. Using Pure XML //add line serverFactory.setBindingId(XmlConstants.NS_XML_FORMAT); 4. Using SOAP/JMS //add line serverFactory.setTransportId(JMSSpecConstants.SOAP_JMS_SPECIFICIATION_TRANSPORTID); 5. Using CORBA //not sure? I was hoping somebody could confirm what I have found in 1-5 and also help me fill in the gaps. Another question was, in case of SoapBinding, I also would like to be able to configure other parameters using the API at the time of publishing (i.e. not with annotations). These are: 1. The ParameterStyle, i.e. BARE or WRAPPED 2. Use, i.e. ENCODED or LITERAL and 3. Style, i.e RPC or DOCUMENT Thanks in advance!
