Author: thomas.diesler(a)jboss.com
Date: 2008-04-08 09:12:15 -0400 (Tue, 08 Apr 2008)
New Revision: 6275
Modified:
framework/trunk/src/test/java/org/jboss/test/ws/jaxws/handlerscope/SOAPEndpoint.java
framework/trunk/src/test/java/org/jboss/test/ws/jaxws/handlerscope/SOAPEndpointBean.java
Log:
Use SOAPBinding.SOAP12HTTP_BINDING
Modified:
framework/trunk/src/test/java/org/jboss/test/ws/jaxws/handlerscope/SOAPEndpoint.java
===================================================================
---
framework/trunk/src/test/java/org/jboss/test/ws/jaxws/handlerscope/SOAPEndpoint.java 2008-04-08
12:45:43 UTC (rev 6274)
+++
framework/trunk/src/test/java/org/jboss/test/ws/jaxws/handlerscope/SOAPEndpoint.java 2008-04-08
13:12:15 UTC (rev 6275)
@@ -27,9 +27,10 @@
import javax.jws.WebMethod;
import javax.jws.WebService;
import javax.xml.ws.BindingType;
+import javax.xml.ws.soap.SOAPBinding;
@WebService
-@BindingType(value = "http://www.w3.org/2003/05/soap/bindings/HTTP/")
+@BindingType(value = SOAPBinding.SOAP12HTTP_BINDING)
@HandlerChain(file = "jaxws-client-handlers.xml")
public interface SOAPEndpoint
{
Modified:
framework/trunk/src/test/java/org/jboss/test/ws/jaxws/handlerscope/SOAPEndpointBean.java
===================================================================
---
framework/trunk/src/test/java/org/jboss/test/ws/jaxws/handlerscope/SOAPEndpointBean.java 2008-04-08
12:45:43 UTC (rev 6274)
+++
framework/trunk/src/test/java/org/jboss/test/ws/jaxws/handlerscope/SOAPEndpointBean.java 2008-04-08
13:12:15 UTC (rev 6275)
@@ -33,7 +33,7 @@
import org.jboss.logging.Logger;
@WebService(name = "SOAPEndpoint", serviceName =
"SOAPEndpointService", targetNamespace =
"http://org.jboss.ws/jaxws/handlerscope")
-@BindingType(value = "http://www.w3.org/2003/05/soap/bindings/HTTP/") //
SOAP-1.2
+@BindingType(value = SOAPBinding.SOAP12HTTP_BINDING) // SOAP-1.2
@HandlerChain(file = "jaxws-server-handlers.xml")
@SOAPBinding(style = Style.RPC)
public class SOAPEndpointBean
Show replies by date