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,6 +10,8 @@ import org.springframework.beans.factory.annotation.Autowired; | ||
| 10 | import org.springframework.stereotype.Component; | 10 | import org.springframework.stereotype.Component; |
| 11 | 11 | ||
| 12 | import javax.jws.WebService; | 12 | import javax.jws.WebService; |
| 13 | +import javax.xml.ws.BindingType; | ||
| 14 | +import javax.xml.ws.soap.SOAPBinding; | ||
| 13 | import java.util.List; | 15 | import java.util.List; |
| 14 | 16 | ||
| 15 | /** | 17 | /** |
| @@ -22,6 +24,7 @@ import java.util.List; | @@ -22,6 +24,7 @@ import java.util.List; | ||
| 22 | serviceName = "OilService", | 24 | serviceName = "OilService", |
| 23 | targetNamespace = "http://control.bsth.com/", | 25 | targetNamespace = "http://control.bsth.com/", |
| 24 | endpointInterface = "com.bsth.server_ws.electric_oil.OilService") | 26 | endpointInterface = "com.bsth.server_ws.electric_oil.OilService") |
| 27 | +@BindingType(value = SOAPBinding.SOAP12HTTP_BINDING) | ||
| 25 | public class OilServiceSoap implements OilService { | 28 | public class OilServiceSoap implements OilService { |
| 26 | 29 | ||
| 27 | Logger logger = LoggerFactory.getLogger(this.getClass()); | 30 | Logger logger = LoggerFactory.getLogger(this.getClass()); |