0
votes

I am trying to calculate the size of the attachment in one of the service, i used below function "{fn:string-length($attachments)}" it will return the number of character, can any one tell how to calculate the size of the attachment in proxy service in oSb

1

1 Answers

2
votes

Not sure if this is possible with xquery or not.Another option is to use java callout activity in your proxy . Please refer this link to understand how to do it in java - bytes of a string in java?