Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Following configuration segment
<property name="ERROR_CODE" value="Receiver"/>
<property name="ERROR_MESSAGE" value="systemError"/>
<makefault version="soap12">
<code expression="get-property('ERROR_CODE')"/>
<reason expression="get-property('ERROR_MESSAGE')"/>
<detail expression="get-property('ERROR_DETAIL')"/>
</makefault>
creates a following SOAP fault
<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
<soapenv:Body>
<soapenv:Fault>
<soapenv:Code>
<soapenv:Value>axis2ns7:Receiver</soapenv:Value>
</soapenv:Code>
<soapenv:Reason>
<soapenv:Text>customerNotExist</soapenv:Text>
</soapenv:Reason>
<soapenv:Detail>System out of resources</soapenv:Detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
which has 2 errors.
axis2ns7 is not defined
soapenv:Text element does not has mandatory lang attribute [1]