[progress Communities] [progress Openedge Abl] Forum Post: Re: Soap Request Issues

  • Thread starter Thread starter jbijker
  • Start date Start date
Status
Not open for further replies.
J

jbijker

Guest
You can use the ERROR-STATUS:ERROR-OBJECT-DETAIL and ERROR-STATUS:ERROR-OBJECT-DETAIL:SOAP-FAULT-DETAIL handles. Just note the GET-SERIALIZED() method returns a LONGCHAR. IF VALID-HANDLE(ERROR-STATUS:ERROR-OBJECT-DETAIL) AND VALID-HANDLE(ERROR-STATUS:ERROR-OBJECT-DETAIL:SOAP-FAULT-DETAIL) THEN DO: cSOAPResponse = ERROR-STATUS:ERROR-OBJECT-DETAIL:SOAP-FAULT-DETAIL:GET-SERIALIZED(). ... handle the error ... END. In one of our cases the actual error is within a tag inside cSOAPResponse, so we simply strip that error message out and return that as an error.

Continue reading...
 
Status
Not open for further replies.
Back
Top