throw new SetResourcePropertyRequestFailedFaultException( getNamespaceSet( ),
fault.getFaultString( ) );
}
catch ( InvalidInsertResourcePropertiesRequestContentFaultException fault )
{
throw new InvalidSetResourcePropertiesRequestContentFaultException( getNamespaceSet( ),
fault.getFaultString( ) );
}
}
DeleteType[] deleteElems = requestElem.getDeleteArray( );
for ( int i = 0; i < deleteElems.length; i++ )
{
try
{
deleteResourceProperty( deleteElems[i].getResourceProperty( ) );
}
catch ( DeleteResourcePropertyRequestFailedFaultException fault )
{
throw new SetResourcePropertyRequestFailedFaultException( getNamespaceSet( ),
fault.getFaultString( ) );
}
}
UpdateType[] updateElems = requestElem.getUpdateArray( );
for ( int i = 0; i < updateElems.length; i++ )
{
XmlObject[] newPropElems = XmlBeanUtils.getChildElements( updateElems[i] );
try
{
updateResourceProperty( newPropElems );
}
catch ( UpdateResourcePropertyRequestFailedFaultException fault )
{
throw new SetResourcePropertyRequestFailedFaultException( getNamespaceSet( ),
fault.getFaultString( ) );
}
catch ( InvalidUpdateResourcePropertiesRequestContentFaultException fault )
{
throw new InvalidSetResourcePropertiesRequestContentFaultException( getNamespaceSet( ),
fault.getFaultString( ) );
}
}
return responseDoc;