WSDLParser { public List<TypeDescriptor> getOperationInputParameters(String operationName) throws UnknownOperationException, IOException { return TypeDescriptors.getDescriptors(parser.getInputParameters(null, operationName)); } 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 testBaseTypes() throws Exception { WSDLParser parser = new WSDLParser(wsdlResourcePath("bind.wsdl")); List<TypeDescriptor> inputs = parser .getOperationInputParameters("BIVGetRecord"); assertEquals("wrong number of inputs", 1, inputs.size()); assertTrue("should not be base type", inputs.get(0) instanceof BaseTypeDescriptor); assertEquals("wrong name", "bid", (inputs.get(0)) .getName()); assertEquals("wrong type", "int", (inputs.get(0)) .getType()); }