RE: SoapExtension and NetworkStream



Manish,

Thanks for the response. I went to the wesites you provided and these do
seem like good monitoring tools. Unfortunatly, I am not looking for a
monitoring tool. I am looking at a way to show progress to an end user about
the rate data is being transfered over the network. I am also trying to show
percentage of completion of the data being sent across the network. I have
provided a link below which explains exactly what I am trying to do.
Unfortunately, the stream I am able to intercept with the SoapExtension is
too late in the deserialization process because it is already a memory stream
by that point. I am trying to find out how to intercept the stream earlier
in the deserialization process. I am doing all of my processing in the
BeforeDeserialization stage.

http://www.codeproject.com/useritems/Soap_Extension_Progress.asp


Thanks,
Evans





"Manish Bafna" wrote:

Hi,
If you want to moniter the progress of data being sent over wire in web
services then i think tcptrace or fiddler tool is more appropriate:
[1]http://www.fiddlertool.com/fiddler/
[2]http://pocketsoap.com/tcptrace/
--
Hope this helps.
Thanks and Regards.
Manish Bafna.
MCP and MCTS.



"CEvans" wrote:

My Environment
* Windows XP
* .NET 2.0
* Visual Studio 2005

I have written a SoapExtension in c# on a windows XP machine. The purpose
of this extension is to monitor progress for data being transfered over the
wire. I have a web service that exposes one method. All this method does is
return a byte array of 5 megs. When I call the service I receive all 5 megs,
but my SoapException is not called until all 5 megs have been transfered over
the wire. I am succesfully getting the extension to launch, but by the time
it calls the ChainStream for the deserialization process, the Stream being
passed in is a MemoryStream and not a NetworkStream. I am loading the
SoapExtension through my app.config file with the lines below.

<system.web>
<webServices>
<soapExtensionTypes>
<add
type="WSProgressTest.SoapProgressExtension, WSProgressTest"
priority="0"
group="High" />
</soapExtensionTypes>
</webServices>
</system.web>

From what I understand, a priority of 0 and a group level of "High" should
make my SoapExtension be the first Extention to be called. I would like to
know if there is a way to read from a NetworkStream so I can monitor the rate
at which I am transfering data over the network.

Any insight is appriciated. Please let me know if there is some additional
info that owuld make this question simpler to understand/answer.

Thanks
.



Relevant Pages

  • Re: SNMP Service?
    ... If you don't know what SNMP is then you probably don't need it. ... monitoring and managing 'devices' on a network. ... Management & Monitoring Tools you will see the options for SNMP, ...
    (microsoft.public.windowsxp.network_web)
  • Re: Network monitor software
    ... yes network monitoring tool comes with windows 2003 but you have to install ... it from add/remove programs then windows components and then select network ... monitoring tools from managing and monitoring tools. ... version which comes alongwith Systems Management Server 2003 which allows ...
    (microsoft.public.windows.server.general)
  • Re: Wi Fi Lan
    ... >I've set up a small local wi fi network inside the builing I live in. ... Yes but it won't work with just any router. ... MAC address, you can capture all his traffic. ... There are huge number of other monitoring tools around. ...
    (alt.internet.wireless)
  • Re: Network Monitor in SBS2003?
    ... Install it the same way you would on a Windows 2000 serve: ... > - Select Management and Monitoring Tools and click Details ... > - Turn on the checkbox next to Network Monitor Tools ...
    (microsoft.public.windows.server.sbs)