It will return soap fault from server. you can simply wrap your client call in try block and catch this soap exception as it is in ur code..
generate soap fault when required parameter is not passed
-
23-09-2022 - |
Question
In soap API, I have set few parameters as required by adding minOccurs="1".
is it possible to generate soap fault if I am not passing required parameters in Soap CALL.
La solution
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow