axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Javier Gonzalez <jagon...@gmail.com>
Subject adding elements to soap message?
Date Fri, 12 Aug 2005 21:52:08 GMT
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

Mime
View raw message