Assert.assertEquals(new QName(null, "price"), childType.getLogical().getElementName());
}
@Test
public final void testUnwrappedOperation() throws Exception {
ProcessorContext context = new ProcessorContext();
URL url = getClass().getResource("../xml/unwrapped-stockquote.wsdl");
WSDLDefinition definition = (WSDLDefinition)documentProcessor.read(null, new URI("unwrapped-stockquote.wsdl"), url, context);
resolver.addModel(definition, context);
definition = resolver.resolveModel(WSDLDefinition.class, definition, context);
PortType portType = definition.getDefinition().getPortType(PORTTYPE_NAME);
WSDLInterface wi = wsdlFactory.createWSDLInterface(portType, definition, resolver, context.getMonitor());
WSDLOperation op = (WSDLOperation) wi.getOperations().get(1);
Assert.assertFalse(op.isWrapperStyle());
Assert.assertEquals(1, op.getInputType().getLogical().size());
op = (WSDLOperation) wi.getOperations().get(2);