Web Service method name is not valid

后端 未结 8 3021
余生分开走
余生分开走 2021-02-20 04:39

I get the following error \"Web Service method name is not valid\" when i try to call webmethod from javascript

System.InvalidOperationException: SaveBO

8条回答
  •  南笙
    南笙 (楼主)
    2021-02-20 05:08

    I had this issue because my soap method had a List parameter. Couldn't figure out a way to make it work with the array parameter; so just converted the parameter to a &-delimited string (e.g. val1&val2&val3) and converted the parameter to an array in the service method.

提交回复
热议问题