Hi,

Being new to both Axis and axiom, I was wondering if is possible to insert a raw xml string in the outgoing envelope using axiom?

Having fx.

String "<deep-structure><first-level>..</first-level></deep-structure>";

SOAPFactory factory = OMAbstractFactory.getSOAP12Factory();

OMNamespace namespace = factory.createOMNamespace("http://ws.cvt.dk/deep-thought/";, "dpth");

OMElement resultElement = factory.createOMElement("answer",namespace);

How would I be able to insert <deep-structure> as child element of <answer> in one go?

Kind regards,
--
Jan Bauer Nielsen
Center of Knowledge Technology, Technical Knowledge Center of Denmark
Anker Engelunds Vej 1, Postboks 777, 2800 Kongens Lyngby, Denmark
Direct: (+45) 4525 7221, [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to