Author: asoldano
Date: 2013-12-12 09:49:01 -0500 (Thu, 12 Dec 2013)
New Revision: 18171
Modified:
framework/branches/jbossws-framework-3.1.2/testsuite/test/java/org/jboss/test/ws/jaxws/operationDispatch/SOAPActionDispatchTestCase.java
Log:
[JBPAPP-10922] Excluding the JAXWS Dispatch test when running on CXF stack
Modified:
framework/branches/jbossws-framework-3.1.2/testsuite/test/java/org/jboss/test/ws/jaxws/operationDispatch/SOAPActionDispatchTestCase.java
===================================================================
---
framework/branches/jbossws-framework-3.1.2/testsuite/test/java/org/jboss/test/ws/jaxws/operationDispatch/SOAPActionDispatchTestCase.java 2013-12-11
13:32:51 UTC (rev 18170)
+++
framework/branches/jbossws-framework-3.1.2/testsuite/test/java/org/jboss/test/ws/jaxws/operationDispatch/SOAPActionDispatchTestCase.java 2013-12-12
14:49:01 UTC (rev 18171)
@@ -74,12 +74,16 @@
public void testJAXWSDispatchInvocation() throws Exception
{
- URL wsdlURL = new URL("http://" + getServerHost() +
":8080/jaxws-operationDispatch/SampleWS?wsdl");
+ if (isIntegrationCXF()) {
+ System.out.println("[FIXME] SOAPAction not set using JAXWS
Dispatch");
+ return;
+ }
+ URL url = new URL("http://" + getServerHost() +
":8080/jaxws-operationDispatch/SampleWS");
QName serviceName = new
QName("http://operationDispatch.jaxws.ws.test.jboss.org/",
"SampleWSService");
QName portName = new
QName("http://operationDispatch.jaxws.ws.test.jboss.org/",
"SampleWSPort");
Service service = Service.create(serviceName);
- service.addPort(portName, SOAPBinding.SOAP11HTTP_BINDING,
wsdlURL.toExternalForm());
+ service.addPort(portName, SOAPBinding.SOAP11HTTP_BINDING, url.toExternalForm());
Dispatch<SOAPMessage> dispatch = service.createDispatch(portName,
SOAPMessage.class, Mode.MESSAGE);