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


Reply With Quote