this is an axis2 problem. please feel free to log a jira.
Here is the problem.
In your wsdl contains a fault element and its soap binding as follows.
<wsdl:fault name="SDD2ErrorFault" message="tns:SDD2Error" />
in binding
<wsdl:fault name="SDD2Error">
<soap:fault use="literal" name="SDD2ErrorFault" namespace="" />
</wsdl:fault>
according to the wsdl 1.1 specification and the ws-basic profile your wsdl
is correct.
see
http://www.ws-i.org/Profiles/BasicProfile-1.1.html#name_Attribute_on_Faults
http://www.w3.org/TR/wsdl#_soap:fault
i.e. we have to pick the wsdl:fault, using the soap:fault element (using
the name attribute) in the soap binding. and this name is an manadatory
field.
but in axis2 it picks the wsdl:fault, using the wsdl:fault element (using
the name attribute).
therefore if you interchange the names as follows it will work.
<wsdl:fault name="SDD2ErrorFault">
<soap:fault use="literal" name="SDD2Error" namespace="" />
</wsdl:fault>
Amila.
--
Amila Suriarachchi,
Software Engineer,
WSO2 Inc.