On Sat, Sep 05, 2009 at 01:35:19AM +0530, Rajika Kumarasiri wrote:
: On Sat, Sep 5, 2009 at 1:20 AM, Kevin Steves <stev...@pobox.com> wrote:
: hi Kevin,
: Try  axis2_char_t * axiom_node_to_string(axiom_node_t *, axis2_env_t *);
: 
: Is there a way to print the SOAP response message in a client (as a
: > string) for debugging purposes?  I've been digging through the
: > archives and didn't find anything.
: 
: The samples distribute with the source should help.

thanks, I've looked at those, and was already using
axiom_node_to_string().  however I'm not seeing an expected element in
the response and I'm not sure why, so I wanted to see the SOAP message
in the client to confirm it's what I think it is.

given the SOAP response message below, I only see publisher-id when
I convert the return node to a string.

output from axiom_node_to_string():

Received OM: <ifmap:publisher-id 
xmlns:ifmap="http://www.trustedcomputinggroup.org/2006/IFMAP/1";>10.136.244.254</ifmap:publisher-id>

SOAP response:

<soap:Envelope 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";><soap:Header><ifmap:publisher-id
 
xmlns:ifmap="http://www.trustedcomputinggroup.org/2006/IFMAP/1";>10.136.244.254</ifmap:publisher-id><ifmap:session-id
 
xmlns:ifmap="http://www.trustedcomputinggroup.org/2006/IFMAP/1";>2093d57c226b0000c9e739fd24169a36</ifmap:session-id></soap:Header><soap:Body><ifmap:publisher-id
 
xmlns:ifmap="http://www.trustedcomputinggroup.org/2006/IFMAP/1";>10.136.244.254</ifmap:publisher-id><ifmap:session-id
 
xmlns:ifmap="http://www.trustedcomputinggroup.org/2006/IFMAP/1";>2093d57c226b0000c9e739fd24169a36</ifmap:session-id></soap:Body></soap:Envelope>

Reply via email to