Subject: - Re: Problem testing application 2007-10-01 - By ZazzaZ
Back I pasted the wrong method implementation. Read this
public static void testViaProxy(Service testService, String nameSpaceUri, String portName, URL testWsdlUrl, String serviceName, ServiceFactory serviceFactory){ SportelloCentrale myProxy = null; try { myProxy = (SportelloCentrale) testService.getPort(new QName (nameSpaceUri, portName), SportelloCentrale.class); } catch (ServiceException ex) { ex.printStackTrace(); } if (myProxy== null){ System.err.println("No proxy"); return; } System.out.println("Proxy OK. Testing method..."); try { EseguiResponse res = (EseguiResponse) myProxy.esegui(new Esegui( "Aldo", "Lezza", "servizio")); printResponse(res); } catch (Exception ex) { ex.printStackTrace(); } }
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic &p=4090137#4090137
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode =reply&p=4090137 __ ____ ____ ____ ____ ____ ____ ____ ____ ____ jboss-user mailing list jboss-user@(protected) https://lists.jboss.org/mailman/listinfo/jboss-user
|
|