Author: alessio.soldano(a)jboss.com
Date: 2009-07-31 13:43:17 -0400 (Fri, 31 Jul 2009)
New Revision: 10439
Modified:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2150/JBWS2150TestCase.java
Log:
[JBWS-1655] Minor fix to test
Modified:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2150/JBWS2150TestCase.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2150/JBWS2150TestCase.java 2009-07-30
15:57:03 UTC (rev 10438)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2150/JBWS2150TestCase.java 2009-07-31
17:43:17 UTC (rev 10439)
@@ -173,7 +173,9 @@
private ServiceIface getEndpoint(String wsdlLocation, String serviceName) throws
Exception
{
- return Service.create(new URL(wsdlLocation), new QName(NAMESPACE,
serviceName)).getPort(ServiceIface.class);
+ Service service = Service.create(new URL(wsdlLocation), new QName(NAMESPACE,
serviceName));
+ QName portName = service.getPorts().next();
+ return service.getPort(portName, ServiceIface.class);
}
private Definition getWSDLDefinition(String wsdlLocation) throws Exception
Show replies by date