get-localized-string usuage
Hi,
I am trying to get this function to work in my bpel process. When I do as follows, it works fine :
orcl:get-localized-string('file:/d:/','','MyResourceBundle','','','','MY_KEY')
But I don't want my resource bundles to be present at D:, or want to give an absolute path to them. I want them to be bundles with the bpel suitcase. I have placed them there and tried a few combinations like below.
orcl:get-localized-string('','.','MyResourceBundle','','','','MY_KEY')
orcl:get-localized-string('.','','MyResourceBundle','','','','MY_KEY')
orcl:get-localized-string('./','','MyResourceBundle','','','','MY_KEY')
orcl:get-localized-string('','./','MyResourceBundle','','','','MY_KEY')
What would be the correct way to invoke this function. The error which I think is irrelative but I give it below anyways :
<Faulthttp://schemas.xmlsoap.org/ws/2003/03/business-process/http://schemas.xmlsoap.org/soap/envelope/>
<faultcode>null:selectionFailure</faultcode>
<faultstring>business exception</faultstring>
<faultactor>cx-fault-actor</faultactor>
<detail>
<summary>Leeres Ergebnis für Variable/Ausdruck. Der XPath-Ausdruck für Variable/Ausdruck "orcl:get-localized-string('','./','MyResourceBundle','','','','MY_KEY')" ist in Zeile 179 leer, wenn ein Lese- oder Kopiervorgang ausgeführt wird. Vergewissern Sie sich, dass das Ergebnis für Variable/Ausdruck "orcl:get-localized-string('','./','MyResourceBundle','','','','MY_KEY')" nicht leer ist. Mögliche Gründe für dieses Problem: Einige XML-Elemente/Attribute sind optional, oder die XML-Daten sind entsprechend dem XML-Schema ungültig. Zur Überprüfung, ob die von einem Prozess empfangenen XML-Daten gültig sind, kann der Benutzer den Schalter "validateXML" auf der Domänenadministrationsseite aktivieren. </summary>
</detail>
</Fault>
Regards,
Edited by: user638005 on May 19, 2009 12:04 PM