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, whi开发者_JAVA技巧le 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?
As you are passing large amount binary data, I would suggest using WSE (Web Service Extensions) along with MTOM encoding.
精彩评论