Domanda

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 ?

È stato utile?

Soluzione

Used java Call out to convert this .

Altri suggerimenti

For converting binary encoded strings, BaseX has the XQuery function

convert:binary-to-string($binstring)

Works nicely in conjunction with output from http-requests.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top