Hi!

I receive soap messages via a document axis webservice, and I'm trying
to add an optional node to the soap message before relaying it to some
other place for further processing.

I'm trying this:

SOAPElement attachid =
ParentNodeOfOptional.addChildElement("NameOfOptionalNode");
attachid.addTextNode("ValueOfOptionalNode");

But when I print ParentNodeOfOptional.toString() the optional node
isn't added. What am I doing wrong?

Thanks in advance.

-- 
Javier Gonzalez Nicolini

Reply via email to