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.

有帮助吗?

解决方案

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top