Author: alessio.soldano(a)jboss.com
Date: 2009-10-01 09:34:11 -0400 (Thu, 01 Oct 2009)
New Revision: 10816
Modified:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2701/JBWS2701TestCase.java
Log:
[JBWS-2701] Fixing testcase for Metro
Modified:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2701/JBWS2701TestCase.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2701/JBWS2701TestCase.java 2009-10-01
12:48:18 UTC (rev 10815)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2701/JBWS2701TestCase.java 2009-10-01
13:34:11 UTC (rev 10816)
@@ -37,7 +37,7 @@
* [JBWS-2701] @XmlSeeAlso and generated wsdl
*
* @author alessio.soldano(a)jboss.com
- * @since 05-Aug-2009
+ * @since 30-Sep-2009
*/
public class JBWS2701TestCase extends JBossWSTest
{
@@ -51,6 +51,10 @@
public void testWSDL() throws Exception
{
URL url = new URL(endpointAddress + "?wsdl");
+ if (isIntegrationMetro())
+ {
+ url = new URL(endpointAddress + "?xsd=1");
+ }
BufferedReader br = new BufferedReader(new InputStreamReader(url.openStream()));
String line = br.readLine();
StringBuilder sb = new StringBuilder();
Show replies by date