You need to sign in to do that
Don't have an account?
Simba
WebService Fault Message
Is there a way to pass Fault Message from the WebService created using Apex. If yes, how do we implement it. Or is this part of the return (success) message itself.
Can you please let me know what's the best practice of handling adn returning Exception from the Apex WebService.
Also can we return Object from the Apex WebService to the other calling method which is outside SalesForce
Thanks
Can you please let me know what's the best practice of handling adn returning Exception from the Apex WebService.
Also can we return Object from the Apex WebService to the other calling method which is outside SalesForce
Thanks
1. I am accepting a stream of XML (String) nto my Apex WebService. If there is an invalid XML, or invalid IDs, how can I send a fault message back to the calling application. Also, how do I include these fault codes as part of the APEX WSDL ?
Thanks for you rreply back.
Unfortunately, exceptions doesn't seem to be too well documented so you will just have to play with it.
HTHs,