Author: alessio.soldano(a)jboss.com
Date: 2013-01-11 11:45:53 -0500 (Fri, 11 Jan 2013)
New Revision: 17230
Modified:
shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/jbws1702/JBWS1702TestCase.java
shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSBareSEI.java
shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSWithDocument_Bare.java
Log:
Fixing testcase by removing ambiguity (multiple no soap-action 0 parameter ws methods on a
doc/lit bare endpoints)
Modified:
shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/jbws1702/JBWS1702TestCase.java
===================================================================
---
shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/jbws1702/JBWS1702TestCase.java 2013-01-10
11:14:14 UTC (rev 17229)
+++
shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/jbws1702/JBWS1702TestCase.java 2013-01-11
16:45:53 UTC (rev 17230)
@@ -31,6 +31,7 @@
import org.jboss.test.ws.jaxws.jbws1702.types.ClassB;
import org.jboss.test.ws.jaxws.jbws1702.types.ClassC;
import org.jboss.test.ws.jaxws.jbws1702.types.ResponseWrapperB;
+import org.jboss.test.ws.jaxws.jbws1702.types.ResponseWrapperC;
import org.jboss.wsf.test.JBossWSTest;
import org.jboss.wsf.test.JBossWSTestSetup;
@@ -67,6 +68,9 @@
ResponseWrapperB wrapper = port.getClassCAsClassB();
ClassB b = wrapper.getData();
assertTrue("Should be an instance of ClassC, but was " + b, (b instanceof
ClassC));
+
+ ResponseWrapperC wrapperC = port.getClassC();
+ assertNotNull(wrapperC.getData());
}
public void testInheritanceWrapped() throws Exception
Modified:
shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSBareSEI.java
===================================================================
---
shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSBareSEI.java 2013-01-10
11:14:14 UTC (rev 17229)
+++
shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSBareSEI.java 2013-01-11
16:45:53 UTC (rev 17230)
@@ -39,7 +39,9 @@
)
public interface SampleWSBareSEI
{
+ @WebMethod(action="getClassCAsClassB")
ResponseWrapperB getClassCAsClassB();
+ @WebMethod(action="getClassC")
ResponseWrapperC getClassC();
}
Modified:
shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSWithDocument_Bare.java
===================================================================
---
shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSWithDocument_Bare.java 2013-01-10
11:14:14 UTC (rev 17229)
+++
shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSWithDocument_Bare.java 2013-01-11
16:45:53 UTC (rev 17230)
@@ -21,14 +21,12 @@
*/
package org.jboss.test.ws.jaxws.jbws1702;
-import org.jboss.test.ws.jaxws.jbws1702.types.ResponseWrapperB;
+import javax.jws.WebService;
+
import org.jboss.test.ws.jaxws.jbws1702.types.ClassC;
+import org.jboss.test.ws.jaxws.jbws1702.types.ResponseWrapperB;
import org.jboss.test.ws.jaxws.jbws1702.types.ResponseWrapperC;
-import javax.jws.soap.SOAPBinding;
-import javax.jws.WebService;
-import javax.jws.WebMethod;
-
/**
*
*
Show replies by date