Hi Arjen,

i just try to understand the new soap api.
In M1, i was able to write
Code:
SoapBody body = response.getSoapBody();
body.addFault( [....] );
In the new SOAP API of M2, there are 4 methods:
Code:
body.addMustUnderstandFault()
body.addVersionMismatchFault()
body.addClientOrSenderFault()
body.addServerOrReceiverFault()
But how can i add a custom fault code?

I just saw in subversion your comment: "custom code, only supported for SOAP 1.1".
Does my application needs to use SOAP 1.1 if i want to use custom fault codes?
What are the consequences?
What are the disadvantages/drawbacks?

Cheers,

Ingo