exception handling in SOAP webservices
hey guys. i have a question about SOAP webservice. i have this piece of code in my service layer:
and i have this exception:
and the exception is later handled by the
so i have a couple of questions:
1. can i use the same exception? or do i need to create a duplicate one that will only be used for SOAP service? can i reuse the exception from my REST service?
2. how to handle the exceptions in SOAP webservices? i tried googling but honestly didnt understand a thing.
can smb help me out? thx
and i have this exception:
and the exception is later handled by the
RestResponseEntityExceptionHandler. so i have a couple of questions:
1. can i use the same exception? or do i need to create a duplicate one that will only be used for SOAP service? can i reuse the exception from my REST service?
2. how to handle the exceptions in SOAP webservices? i tried googling but honestly didnt understand a thing.
can smb help me out? thx