Assert.assertEquals(2, op.getInputType().getLogical().size());
}
@Test
public final void testInvalidWSDL() throws Exception {
ProcessorContext context = new ProcessorContext();
URL url = getClass().getResource("../xml/invalid-stockquote.wsdl");
WSDLDefinition definition = (WSDLDefinition)documentProcessor.read(null, new URI("invalid-stockquote.wsdl"), url, context);
resolver.addModel(definition, context);
definition = resolver.resolveModel(WSDLDefinition.class, definition, context);
PortType portType = definition.getDefinition().getPortType(PORTTYPE_NAME);
try {
WSDLInterface wi = wsdlFactory.createWSDLInterface(portType, definition, resolver, context.getMonitor());
WSDLOperation op = (WSDLOperation) wi.getOperations().get(0);
op.isWrapperStyle();
fail("InvalidWSDLException should have been thrown");
} catch (InvalidInterfaceException e) {