return name;
}
private Type getParameterType(TypeMapping tm, MessagePartInfo param, int paramtype)
{
Type type = tm.getType(param.getName());
if (type == null)
{
type = (Type) part2type.get(param);
}
/*
* if (type == null && tm.isRegistered(param.getTypeClass())) { type =
* tm.getType(param.getTypeClass()); part2type.put(param, type); }
*/
if (type == null)
{
OperationInfo op = param.getContainer().getOperation();
if (paramtype != FAULT_PARAM)
{
/*
* Note: we are not registering the type here, because it is an
* anonymous type. Potentially there could be many schema types
* with this name. For example, there could be many ns:in0
* paramters.
*/
type = tm.getTypeCreator().createType(op.getMethod(), param.getIndex());
}
else
{
type = tm.getTypeCreator().createType(param.getTypeClass());
}
type.setTypeMapping(tm);
part2type.put(param, type);
}
return type;
}