Commit 7191d0882dd050394535781d960becaa9a831c5a
1 parent
e92f9a21
update...
Showing
1 changed file
with
3 additions
and
0 deletions
src/main/java/com/bsth/server_ws/electric_oil/OilServiceSoap.java
| ... | ... | @@ -10,6 +10,8 @@ import org.springframework.beans.factory.annotation.Autowired; |
| 10 | 10 | import org.springframework.stereotype.Component; |
| 11 | 11 | |
| 12 | 12 | import javax.jws.WebService; |
| 13 | +import javax.xml.ws.BindingType; | |
| 14 | +import javax.xml.ws.soap.SOAPBinding; | |
| 13 | 15 | import java.util.List; |
| 14 | 16 | |
| 15 | 17 | /** |
| ... | ... | @@ -22,6 +24,7 @@ import java.util.List; |
| 22 | 24 | serviceName = "OilService", |
| 23 | 25 | targetNamespace = "http://control.bsth.com/", |
| 24 | 26 | endpointInterface = "com.bsth.server_ws.electric_oil.OilService") |
| 27 | +@BindingType(value = SOAPBinding.SOAP12HTTP_BINDING) | |
| 25 | 28 | public class OilServiceSoap implements OilService { |
| 26 | 29 | |
| 27 | 30 | Logger logger = LoggerFactory.getLogger(this.getClass()); | ... | ... |