jim wrote:
Can someone point me to a CURRENT example of how to serialize a
response's SOAP envelope to a string that can be sent to the console?
soap_envelope =
axis2_svc_client_get_last_response_soap_envelope(svc_client, env);
axiom_node_t *node = axiom_soap_envelope_get_base_node(soap_envelope, env);
printf("%s\n", axiom_node_to_string(node, env));
Damitha
I know this is a perennial question - I've searched the archives and
found some discussions, but the examples tend to be long and verbose,
and some apparently are out of date and rely on APIs no longer
available. I've not been able to find anything that works.
I know I can get the envelope with
axis2_svc_client_get_last_response_soap_envelope (maybe there's a
better way). From there I'm lost in a forest of axis/axiom XML
readers, writers, document objects, elements, and streams...
Thanks
Jim Hughes
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
--
__________________________________________________________________
Damitha Kumarage
Technical Lead; WSO2 Inc.
"Oxygenating the Web Service Platform; " http://www.wso2.com/
blog: " http://damithakumarage.wordpress.com/
__________________________________________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]