Author: ropalka
Date: 2012-03-29 08:22:04 -0400 (Thu, 29 Mar 2012)
New Revision: 16068
Modified:
shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/jbws2259/EndpointImpl.java
Log:
[JBWS-3474] fixing test
Modified:
shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/jbws2259/EndpointImpl.java
===================================================================
---
shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/jbws2259/EndpointImpl.java 2012-03-29
12:05:33 UTC (rev 16067)
+++
shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/jbws2259/EndpointImpl.java 2012-03-29
12:22:04 UTC (rev 16068)
@@ -21,8 +21,8 @@
*/
package org.jboss.test.ws.jaxws.jbws2259;
+import java.awt.Image;
import java.io.IOException;
-import java.io.InputStream;
import javax.jws.WebService;
import javax.xml.ws.BindingType;
@@ -63,7 +63,7 @@
{
Object content = dh.getContent();
log.info("Content - " + content.toString());
- if (content instanceof InputStream == false)
+ if (content instanceof Image == false)
{
throw new WebServiceException("Unexpected content '" +
content.getClass().getName() + "'");
}
Show replies by date