RequestSoapContext.Current始终为null

时间:2012-02-15 15:20:25

标签: vb.net soap wse

我需要soapcontext来为请求添加附件,但每当我调用

Dim reqContext As SoapContext = RequestSoapContext.Current

RequestSoapContext.Current总是给我一个空值,我永远不能调用reqContext.Attachments。我该如何解决这个问题?

0 个答案:

没有答案