• Post Reply Bookmark Topic Watch Topic
  • New Topic

Fastet way to check the size of a soap request ?

 
Frank Jacobsen
Ranch Hand
Posts: 358
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to check the size of the body and header that i recieve, what is the fastet and the best way to to this ?


Frank
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Normal SOAP services want to parse the incoming request as it streams in so you will have to get tricky.

You would have to intercept the incoming request stream and buffer it all in to see the total size, then generate a new stream and hand it to the SOAP service if desired. Sounds like a job for a filter to me.

Bill

 
Frank Jacobsen
Ranch Hand
Posts: 358
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks ;-)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!