throws WSDLException{
if (extensibilityElements != null){
for(int ind=0;ind<extensibilityElements.length;ind++){
ExtensionElement ext =extensibilityElements[ind];
QName elementType = ext.getExtensionType();
ExtensionRegistry extReg = fWsdlContext.extensionRegistry;
if (extReg == null){
throw new WSDLException(WSDLException.CONFIGURATION_ERROR,
"No ExtensionRegistry set for this " +
"Description, so unable to serialize a '" +
elementType +
"' element in the context of a '" +
parentType.getName() + "'.");
}
ExtensionSerializer extSer = extReg.querySerializer(parentType,
elementType);
extSer.marshall(parentType, elementType, ext, pw, def, extReg);
}
}