المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : NULL result from web service call using SOAPExtension [modified]



C# Programming
11-06-2009, 05:23 PM
I am inserting a customer SOAPheader to a web service call in a client application using the example described here by Jim Roth: [/URL][[URL="http://www.codeproject.com/KB/cpp/SOAP_Header_Extension.aspx?msg=2184708#xx2184708xx"]^ (http://www.codeproject.com/KB/cpp/SOAP_Header_Extension.aspx?msg=2184708#xx2184708xx)]

It works to the point where I can see the correct results come back all the way through the AfterDeserialize event. The problem is that the result gets set to null at the place where the call was made. For example:

var lvReceiptURL = new ReceiptURL();
lvReceiptURL = lveRETRService.getReceiptURLByReceipt(lvReceiptURLRequest);

lvReceiptURL gets set to Null even though I can clearly see in the SOAPExtension ProcessMessage that it did indeed return.

Thanks in advance for any help.

John

modified on Thursday, November 5, 2009 3:28 PM