Is there a way to dynamically generate a WSDL with a fault element that does not include the soap element? I am currently generating something like this:
But I would like to declare a WSDL fault that does not include a soap fault. I am trying to do this because I have a client that cannot understand the soap fault unless it is explicitly declared (code generation). Is there a different/better way that this may be accomplished?
<wsdl:fault name="MyCustomFault"> <soap:fault name="MyCustomFault" use="literal"/> </wsdl:fault>