innerType = type.getElementForElementName(elementname).getType();
pinfo = new ParameterInfo(innerType,elementname);
pinfo.setElementName(type.getElementForElementName(elementname).getName());
if (innerType.getName().equals(CUtils.anyTypeQname))
pinfo.setAnyType(true);
minfo.addInputParameter(pinfo);
}
//remove the type that represents the wrapping element so that such type is not created.
//following is commented for the moment because the same element can be refered by more
//than one message. Also this complex type may be used as a type while it is the wrapping
//element here