private void testWSDLInWSTester(WsTesterView wsTesterView) { wsTesterView.setRequestType(RequestType.JAX_WS); wsTesterView.invokeGetFromWSDL().ok(); wsTesterView.setRequestBody(request); wsTesterView.invoke(); new WaitUntil(new WsTesterNotEmptyResponseText()); String rsp = wsTesterView.getResponseBody(); assertTrue(rsp.trim().length() > 0); assertTrue(rsp, rsp.contains("Hello User!")); }
private WsTesterView openWSDLFileInWSTester() { ProjectExplorer projectExplorer = new ProjectExplorer(); projectExplorer.open(); projectExplorer .getProject(getWsProjectName()) .getProjectItem("wsdl", "HelloWorldService.wsdl") .select(); new ContextMenu("Web Services", "Test in JBoss Web Service Tester").select(); WsTesterView tester = new WsTesterView(); tester.open(); return tester; }