Author: asoldano
Date: 2014-09-26 03:47:38 -0400 (Fri, 26 Sep 2014)
New Revision: 18949
Modified:
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/asynch/AsynchTestCase.java
Log:
[JBWS-3833] Enriching testcase
Modified:
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/asynch/AsynchTestCase.java
===================================================================
---
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/asynch/AsynchTestCase.java 2014-09-24
08:51:44 UTC (rev 18948)
+++
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/asynch/AsynchTestCase.java 2014-09-26
07:47:38 UTC (rev 18949)
@@ -67,6 +67,16 @@
{
return new JBossWSCXFTestSetup(AsynchTestCase.class,
JBossWSTestHelper.writeToFile(createDeployments()));
}
+
+ public void testEndpoint() throws Exception
+ {
+ QName serviceName = new QName("http://org.jboss.ws/cxf/samples/asynch",
"EndpointImplService");
+ URL wsdlURL = new URL(endpointAddress + "?wsdl");
+ Service service = Service.create(wsdlURL, serviceName);
+ Endpoint proxy = service.getPort(Endpoint.class);
+ final String user = "Kermit";
+ assertEquals(user + " (ASYNC)", proxy.echo(user)); //expect ASYNC as on
server side the invocation is dispatched to the async method
+ }
public void testAsyncEndpoint() throws Exception
{
Show replies by date