when we add strings to a fault detail, as in addFaultDetailString(), we do
this

            Document doc = XMLUtils.newDocument();
            Element element = doc.createElement("string");
            Text text = doc.createTextNode(detail);
            element.appendChild(text);
            faultDetails.add(element);

which creates an element named "string", but it has no namespaceURI or
localpart. So things like AxisFault.dumpToString(), that expect elements in
the faultDetails list to have localparts, get confused.

options.

1. we move string into the axis namespace and give elements added the
namespace/localpart.

2. leave it in the null namespace but set the localpart to something
meaningful

3. do nothing, hack dumpToString.

One thing that worries me is if anyone has been using this, what the impact
is on their code. So I've done #3, pending opinions.

-steve


Reply via email to