Problem with WCF client calling one-way operation

后端 未结 5 1231
不知归路
不知归路 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条回答
  •  萌比男神i
    2021-02-04 01:50

    I believe that this particular problem can be fixed by adding the following attribute declaration to the operation in the client porxy:

    [WebInvoke(BodyStyle = WebMessageBodyStyle.Wrapped)]

提交回复
热议问题