@Test public void testMissingStyleInBinding() throws Exception { WSDLParser parser = new WSDLParser(wsdlResourcePath("SBWReader.wsdl")); assertEquals("Style should default to document if missing", "document", parser.getStyle()); }
@Deprecated public String getStyle() throws UnknownOperationException { for (QName serviceName : parser.getServices()) { for (String portName : parser.getPorts(serviceName)) { for (String operationName : parser.getOperations(portName)) { return parser.getOperationStyle(portName, operationName); } } } return "document"; }
WSDLParser { @Deprecated public String getStyle() throws UnknownOperationException { for (QName serviceName : parser.getServices()) { for (String portName : parser.getPorts(serviceName)) { for (String operationName : parser.getOperations(portName)) { return parser.getOperationStyle(portName, operationName); } } } return "document"; } }
WSDLParser { @Deprecated public String getStyle() throws UnknownOperationException { for (QName serviceName : parser.getServices()) { for (String portName : parser.getPorts(serviceName)) { for (String operationName : parser.getOperations(portName)) { return parser.getOperationStyle(portName, operationName); } } } return "document"; } WSDLParser(String wsdlLocation); }
WSDLParser { @Deprecated public String getStyle() throws UnknownOperationException { for (QName serviceName : parser.getServices()) { for (String portName : parser.getPorts(serviceName)) { for (String operationName : parser.getOperations(portName)) { return parser.getOperationStyle(portName, operationName); } } } return "document"; } 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); }
WSDLParser { @Deprecated public String getStyle() throws UnknownOperationException { for (QName serviceName : parser.getServices()) { for (String portName : parser.getPorts(serviceName)) { for (String operationName : parser.getOperations(portName)) { return parser.getOperationStyle(portName, operationName); } } } return "document"; } 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);  }