• hirb24
  • NEWBIE
  • 0 Points
  • Member since 2011

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies

Hi,

 

I am programming a webservice in Salesforce and I would like to set my own faultcodes and faultstrings. 

I would like to send this kind of response if an error occurs: 

 

<soapenv:Fault>

         <faultcode>100</faultcode>

         <faultstring> MyMessage</faultstring>

</soapenv:Fault>

 

Is it possible in Salesforce?

 

Thanks

  • November 28, 2011
  • Like
  • 0