Frage

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.

War es hilfreich?

Lösung

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..

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top