views:

60

answers:

1

Hi,

I have a function that takes a byte[] as input and returns a string, when executed with a windows application takes 3 seconds to execute, while if the same function is executed within a webservice takes a very large amount of time to execute (more than 1 min).

Do I need to enable something?

A: 

As you are passing large amount binary data, I would suggest using WSE (Web Service Extensions) along with MTOM encoding.

VinayC