I have a message based web service of which the server is an Apache SOAP 2.2
implementation. I can watch in the trace utility from the MS Soap Toolkit a
good SOAP conversation. Though, for what ever reason, when I try to use the
response, it's null. Here's some code:
localhost.RendererMService rms = new localhost.RendererMService();
localhost.RenderM request = new localhost.RenderM();
localhost.RenderMResponse response = new localhost.RenderMResponse();
...
setup request object here
...
try
{
response = rms.RenderM(request);
}
catch(Exception ex)
{
MessageBox.Show(ex.Message);
}
FileStream fsPDF = new FileStream("test.pdf",
FileMode.Create,
FileAccess.Write);
fsPDF.Write(response.response, 0, response.response.Length );
Now, like I said, I see the response envelope come back and it looks good,
and .NET doesn't seem to have any problem w/ it. The problem is that
'response' is null. response.response is a System.Byte[].
--
David B. Bitton
[EMAIL PROTECTED]
www.codenoevil.com
Code Made Fresh DailyT
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.