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.

Était-ce utile?

La solution

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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top