Search code examples
javaloggingxqueryosbmessageformat

Binary data to text/string in XQuery


When xml converted through MFL(Message Format Language) from xml to binary, it comes as following in logs of Oracle Service Bus.

<soap-env:Body xmlns:soap-env = 
    "http://schemas.xmlsoap.org/soap/envelope/">
  <ctx:binary-content 
    ref="cid:69b63814:144d49f1544:-6cba" 
    xmlns:ctx="http://www.bea.com/wli/sb/context"/>  
</soap-env:Body> 

Can any body tell me how to print this log in text/string in Xquery or OSB. Is there any function or method of xquery i can use ?


Solution

  • Used java Call out to convert this .