A
alexey
Regard!!!
So the question of Transfers to the client an amount of the expected result of functioning WebService (value must be considered on Server side and on the client its has to be seen before that datas will go... ).
I from here try put amount (in bytes) of the message in SoapHeader, which sends by Web service to the client...
On how much I has understood I can get it this way (or I'm wrong: )
public override Stream ChainStream( Stream stream )
{
siz = stream.Length;
return newStream;
}
Here is but afterwards ÔÏ. ÛÏ has got (if has got ) ) úÁÐÉÈÉ×ÁÀ in SoapHeader ×ÏÔÔÁË
public override void ProcessMessage(SoapMessage message)
{
if (message.Stage == SoapMessageStage.èèèè)
{
((SizeHeader)message.Headers[0]).size=siz;
}
}
So the question is:
What must be is èèèè ??? ????
a.. If BeforeSerialize, then - not understandable what happens if I somehow shall else work with stream after serialisation (well for example compress by ZIP and this is the end - an size NOT CORRECT 8-((( )
b.. If AfterSerialize, then before SoapHeader already does not accessible ... 8-(( It already as it were packed... Here is...
Help please... Or prompt other way
So the question of Transfers to the client an amount of the expected result of functioning WebService (value must be considered on Server side and on the client its has to be seen before that datas will go... ).
I from here try put amount (in bytes) of the message in SoapHeader, which sends by Web service to the client...
On how much I has understood I can get it this way (or I'm wrong: )
public override Stream ChainStream( Stream stream )
{
siz = stream.Length;
return newStream;
}
Here is but afterwards ÔÏ. ÛÏ has got (if has got ) ) úÁÐÉÈÉ×ÁÀ in SoapHeader ×ÏÔÔÁË
public override void ProcessMessage(SoapMessage message)
{
if (message.Stage == SoapMessageStage.èèèè)
{
((SizeHeader)message.Headers[0]).size=siz;
}
}
So the question is:
What must be is èèèè ??? ????
a.. If BeforeSerialize, then - not understandable what happens if I somehow shall else work with stream after serialisation (well for example compress by ZIP and this is the end - an size NOT CORRECT 8-((( )
b.. If AfterSerialize, then before SoapHeader already does not accessible ... 8-(( It already as it were packed... Here is...
Help please... Or prompt other way