WSDLParser { public List<String> getOperations(String portName) { return parser.getOperations(portName); } WSDLParser(String wsdlLocation); List<QName> getServices(); List<String> getPorts(QName serviceName); List<String> getOperations(String portName); List<String> getOperations(); boolean isWsrfService(); synchronized static void flushCache(String wsdlLocation); String getWSDLLocation(); String getOperationEndpointLocation(String portName); List<String> getOperationEndpointLocations(String operationName); @Deprecated String getStyle(); String getStyle(String operationName); List<TypeDescriptor> getOperationInputParameters(String operationName); List<TypeDescriptor> getOperationOutputParameters(
            String operationName); String getOperationNamespaceURI(String operationName); QName getOperationQname(String operationName); String getUse(String operationName); String getSOAPActionURI(String operationName); String getOperationDocumentation(String operationName); WSRF_Version isWSRFPort(String portName);  }
@Test public void testGetOperations() throws Exception { WSDLParser parser = new WSDLParser(wsdlResourcePath("eutils/eutils_lite.wsdl")); List<String> operations = parser.getOperations("eUtilsServiceSoap"); assertEquals( "wrong number of operations found (wsdl may have changed)", 12, operations.size()); assertEquals("wrong name for first operation", "run_eGquery", operations.get(0)); assertEquals("wrong style", "document", parser.getStyle()); }