Reputation: 101
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
Upvotes: 0
Views: 704
Reputation: 802
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?
Upvotes: 2