WSDLInterfaceOperation op = ops[j];
for (WSDLInterfaceOperationInput input : op.getInputs())
{
if (isDocStyle())
{
XSTypeDefinition xt = getXSType(input);
// Don't unwrap the actual parameter.
addJavaXMLTypeMap(xt, input.getElement().getLocalPart(), "", "", jwm, false);
}
else
{
for (WSDLRPCPart part : input.getChildParts())
addJavaXMLTypeMap(getXSType(part.getType()), input.getElement().getLocalPart(), "", "", jwm, true);
}
}
for (WSDLInterfaceOperationOutput output : op.getOutputs())
{
if (isDocStyle())
{
XSTypeDefinition xt = getXSType(output);
// Don't unwrap the response type.
addJavaXMLTypeMap(xt, output.getElement().getLocalPart(), "", "", jwm, false);
}
else
{
for (WSDLRPCPart part : output.getChildParts())
addJavaXMLTypeMap(getXSType(part.getType()), output.getElement().getLocalPart(), "", "", jwm, true);
}
}
for (WSDLInterfaceFault fault : wi.getFaults())
{
QName xmlType = fault.getXmlType();
QName xmlName = fault.getElement();
WSDLTypes types = wsdlDefinitions.getWsdlTypes();
JBossXSModel xsmodel = WSDLUtils.getSchemaModel(types);
XSTypeDefinition xt = xsmodel.getTypeDefinition(xmlType.getLocalPart(), xmlType.getNamespaceURI());
addJavaXMLTypeMap(xt, xmlName.getLocalPart(), "", "", jwm, true);
String exceptionType = getJavaTypeAsString(null, xmlType, xt.getNamespace(), false, true);
if (registeredExceptions.contains(exceptionType) == false)
{
registeredExceptions.add(exceptionType);
ExceptionMapping exceptionMapping = new ExceptionMapping(jwm);