// check if the schema has been extracted
WSDLTypes wsdlTypes = wsdlDefinitions.getWsdlTypes();
assertNotNull(WSDLUtils.getSchemaModel(wsdlTypes));
// check the echoString operation
WSDLInterfaceOperation wsdlOperation = wsdlInterface.getOperation("echoString");
assertEquals(Constants.URI_STYLE_RPC, wsdlOperation.getStyle());
WSDLInterfaceOperationInput wsdlInput = wsdlOperation.getInputs()[0];
WSDLRPCPart childPart = wsdlInput.getChildPart("String_1");
assertEquals(Constants.TYPE_LITERAL_STRING, childPart.getType());
childPart = wsdlInput.getChildPart("String_2");
assertEquals(Constants.TYPE_LITERAL_STRING, childPart.getType());
WSDLInterfaceOperationOutput wsdlOutput = wsdlOperation.getOutputs()[0];
childPart = wsdlOutput.getChildPart("result");
assertEquals(Constants.TYPE_LITERAL_STRING, childPart.getType());
// check the echoSimpleUserType operation
wsdlOperation = wsdlInterface.getOperation("echoSimpleUserType");
assertEquals(Constants.URI_STYLE_RPC, wsdlOperation.getStyle());
wsdlInput = wsdlOperation.getInputs()[0];
childPart = wsdlInput.getChildPart("String_1");
assertEquals(Constants.TYPE_LITERAL_STRING, childPart.getType());
childPart = wsdlInput.getChildPart("SimpleUserType_2");
assertEquals(new QName(TARGET_NAMESPACE, "SimpleUserType"), childPart.getType());
wsdlOutput = wsdlOperation.getOutputs()[0];
childPart = wsdlOutput.getChildPart("result");
assertEquals(new QName(TARGET_NAMESPACE, "SimpleUserType"), childPart.getType());
}