XmlObject.Factory.parse( "<foo:Ika xmlns:foo=\"http://ws.apache.org/resource/properties/test/sushi\">"
+ "my favorite!" + "</foo:Ika>" );
insertResourceProperty( new XmlObject[]{xBean} );
SushiResource resource = (SushiResource) m_resourceContext.getResource();
ResourceProperty resourceProp = resource.getResourcePropertySet().get( SushiPropertyQNames.IKA );
resourceProp.setCallback( new ThrowsCallback() );
try
{
deleteResourceProperty( SushiPropertyQNames.IKA );
}
catch (RuntimeException e)