Problem with WCF client calling one-way operation

后端 未结 5 1252
不知归路
不知归路 2021-02-04 01:43

I have run into a problem when calling web service on a SAP PI bus from my WCF client. The operation is defined as one-way, and the method on my proxy operation contract is deco

5条回答
  •  感动是毒
    2021-02-04 02:10

    Without seeing what the signature of the method looks like, my best guess is that your method defined to return something other than "void". Since the operation is one-way, the method can only be defined using "void" (has no return). Anything else, and the operation is NOT one-way.

提交回复
热议问题