Hi,
I am using Axis2 and I have invested some time to understand the
generation of SOAP faults with Axis2.
IMHO, the SOAP specification allows multiple elements in the <
env:Detail >-section of a SOAPFault, e.g.:
<env:Fault>
<env:Code>
<env:Value>env:Sender</env:Value>
<env:Subcode>
<env:Value>m:MessageTimeout</env:Value>
</env:Subcode>
</env:Code>
<env:Reason>
<env:Text xml:lang="en">Sender Timeout</env:Text>
</env:Reason>
<env:Detail>
<m:detail1>first</m:detail1>
<m:detail2>second</m:detail2>
<m:detail3>third</m:detail3>
</env:Detail>
</env:Fault>
But in Axis2, I do not see a possibility how to set more than one
element inside the <detail>-element. The apidocs always talk about a
single OMElement, which is the first Element below the <env:Detail>. Can
anybody help me here?
Thank You,
Matthias.