Write your own plugin to write the just message that you are interested in to 
your own file, stream or buffer?

It looks pretty simple:
http://www.cs.fsu.edu/~engelen/soapdoc2.html#tth_sEc19.36

Or:
http://www.cs.fsu.edu/~engelen/soapdoc2.html#tth_sEc19.7

soap.fparse = myparse; // use custom response parser 

int myparse(struct soap *soap) 
...
 soap_getline(soap, buf, 256)) // go to begin and skip custom header 

not sure is soap_getchar() is better if you want the entire message / if lines 
can be larger than your buffer?

Let us know if you have any more experience with this, I'd like to:
 save a response message,
 then reconstruct it into a soap_dom_element, 
 modify it via the dom,
 and use that in a new request ...

--- In gsoap@yahoogroups.com, Anatoly Pro <anatoly_...@...> wrote:
>
> Thanks, Sebastian! 
>   I know this way( 
> Any other ideas?
> ________________________________
> From: Sebastian Unger <sebastian.un...@...>
> To: "gsoap@yahoogroups.com" <gsoap@yahoogroups.com>
> Sent: Thu, May 27, 2010 12:23:07 PM
> Subject: Re: [gsoap] Help with dumping incoming soap message
>
> ... 
>
> Besides, there is a plugin for that task:
> http://www.cs.fsu.edu/~engelen/soapdoc2.html#tth_sEc19.36.1
> 
> Regards,
> 
> Sebastian


Reply via email to