Android, KSoap2 and .NET Web Service w/ parameters = NULL result

后端 未结 5 1101
情书的邮戳
情书的邮戳 2021-01-12 23:00

Apparently this is a fairly often experienced issue. I\'m not sure entirely where the problem lies, or what needs to be adjusted, but for the life of me I cannot retrieve an

5条回答
  •  执念已碎
    2021-01-12 23:28

    Wow. Chalk this one up to all sorts of oddities and oversights, but I've fixed it.

    The problem was the missing trailing '/' at the end of the namespace. NOT the namespace declared for the Android globals, but the namespace declared on the Web Service itself near the top of the service.asmx.cs file. (Directly above WebServiceBinding).

    Once I added it to the end, everything was functioning like a champ.

    Oddly enough, this obviously affects ONLY methods that take parameters as those methods without parameters were working perfectly. And only with KSoap2 as my web site that uses the exact same services was functioning flawlessly.

提交回复
热议问题