开发者

ASMX Web Service Execution very slow

开发者 https://www.devze.com 2023-01-03 00:13 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号