axiom_xml_writer_t *xml_writer = NULL;
axiom_output_t *om_output = NULL;
axis2_char_t *buffer = NULL;
xml_writer =
axiom_xml_writer_create_for_memory(env, NULL, AXIS2_FALSE,
AXIS2_FALSE, AXIS2_XML_PARSER_TYPE_BUFFER);
om_output = axiom_output_create(env, xml_writer);
AXIOM_NODE_SERIALIZE(node, env, om_output);
buffer = (axis2_char_t*)AXIOM_XML_WRITER_GET_XML(xml_writer, env);
--------------------------------------------------------------------------------------------
axiom_node_t* node, is the document to serialize;
----- Original Message ----
From: George Stanchev <[EMAIL PROTECTED]>
To: Apache AXIS C User List <[email protected]>
Sent: Thursday, March 8, 2007 3:15:52 PM
Subject: [Axis2] soap serialization
Hi,
Another, probably basic, question: I need to serialize a SOAP call to a
string buffer
without sending it anywhere. How do I this with axis2/c? Can you give me
some leads?
On the java side, I had to go through some hoops to get this - I had to
create a
dummy transport that I used to reflect back the outbound message when I
was doing
a call-out serialization. How can I do the same thing in axis2/c?
Thanks!
George Stanchev
____________________________________________________________________________________
Now that's room service! Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.
http://farechase.yahoo.com/promo-generic-14795097
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]