Oracle SOA Suite 12c, Unable to get Metadata Manager for DVM

Little reminder :

folder_structure

bpel file uses the next :

<from>ora:doXSLTransformForDoc("../Transformations/transfBewaarNotificatie.xsl", $inputVariable.notificatie)</from>

xsl file used to be using the next :

<xsl:variable name="dossier" select="dvm:lookupValue ('../Dvm/actie.dvm', 'sourceActie', /ns0:notificatie/ns0:entiteit, 'targetActie', 'ongeldige actie mapping' )"/>

this will fail (the location of the dvm file isn’t relative to both the .bpel file and the .xsl file), correct path to the dvm file will be

<xsl:variable name="dossier" select="dvm:lookupValue ('Dvm/actie.dvm', 'sourceActie', /ns0:notificatie/ns0:actie, 'targetActie', 'ongeldige actie mapping' )"/>

besides that i had to use ‘actie.dvm’ instead of the ‘actie’ string.

stacktrace

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
   <env:Header>
      <tracking:faultId xmlns:tracking="http://oracle.soa.tracking.core.TrackingProperty">140015</tracking:faultId>
   </env:Header>
   <env:Body>
      <env:Fault>
         <faultcode>env:Server</faultcode>
         <faultstring>An error occurs while processing the XPath expression; the expression is ora:doXSLTransformForDoc("../Transformations/transfBewaarNotificatie.xsl", $inputVariable.notificatie,)</faultstring>
         <faultactor/>
         <detail>
            <exception>XPath expression failed to execute.
An error occurs while processing the XPath expression; the expression is ora:doXSLTransformForDoc("../Transformations/transfBewaarNotificatie.xsl", $inputVariable.notificatie)
The XPath expression failed to execute; the reason was: javax.xml.transform.TransformerException: oramds:/deployed-composites/myapp/eventHandler_rev13.0-SNAPSHOT/Transformations/transfBewaarNotificatie.xsl<Line 51, Column 168>: XML-22044: (Error) Extension function error: Error invoking 'lookupValue':'oracle.tip.dvm.exception.DVMValidationException: Unable to get Metadata Manager for DVM "oramds:/deployed-composites/myapp/actie"
Please ensure the Metadata Manager is available.'
Check the detailed root cause described in the exception message text and verify that the XPath query is correct.</exception>
         </detail>
      </env:Fault>
   </env:Body>
</env:Envelope>
Share this Post:
Digg Google Bookmarks reddit Mixx StumbleUpon Technorati Yahoo! Buzz DesignFloat Delicious BlinkList Furl

Comments are closed.