private QueryResourcePropertiesResponseDocument.QueryResourcePropertiesResponse queryResourceProperties( String xPathExpr,
URI dialect )
{
QueryResourcePropertiesPortTypeImpl provider =
new QueryResourcePropertiesPortTypeImpl( m_resourceContext );
QueryResourcePropertiesDocument doc =
QueryResourcePropertiesDocument.Factory.newInstance( );
QueryResourcePropertiesDocument.QueryResourceProperties queryResourceProperties =
doc.addNewQueryResourceProperties( );
QueryExpressionType queryExpressionType =
queryResourceProperties.addNewQueryExpression( );
queryExpressionType.setDialect( dialect.toString( ) );
XmlBeanUtils.setValue( queryExpressionType, xPathExpr );