471,089 Members | 1,342 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,089 software developers and data experts.

SOAP Extension Returning Original Stream

This might be a daft post but I am very new to the SOAP Extension
class. Basically I have taken the MSDN example that writes the SOAP
request and response to a log file in C#.

The code works fine and writes the data to the log file. As such I
tweaked the code to change the new stream to remove some unwanted
items. This also works fine and the resulting log has the tweaked
response. So far so good.

However, the original stream is always returned to the client
application. As I said my code is just a slight variant on the
original example. The only changes I made are in the WriteInput method
where I change the contents of the new stream. I pipe the new stream
to the log file after this change as normal.

Here is the contents of the config file is use in case it's relevant:

<add type="SoapInt.TraceExtension, SoapInt" priority="1" group="0" />

As I said I'm very new to this and don't know whether the example on
MSDN is supposed to return the new stream or if it is missing some
extra code.

Any help will be much appreciated.

Thanks in advance.

Mar 23 '07 #1
1 1304
I've sorted this out now. The new stream was being returned but the
original SOAP header was being returned. Once that was tweaked it all
worked. Thanks anyway.

Mar 23 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by David C. allen | last post: by
3 posts views Thread by parrot toes | last post: by
6 posts views Thread by john deviney | last post: by
reply views Thread by Matt Wood | last post: by
1 post views Thread by khoy | last post: by
2 posts views Thread by Frederik Vanderhaegen | last post: by
reply views Thread by Leafy | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.