How about creating a transactional form to do that, and if you have to reset
it to the original value, first copy the value to that transactional form,
if the error condition occurs, after throwing the error in that output
message field, copy the value set on that transactional form back into the
original form.

You may have to make use of an instance ID to begin that transaction so as
to identify which transaction you need your value rolled back from in case
of that error condition.

Delete that entry in that transactional form after the end of the whole
transaction.

Joe
  -----Original Message-----
  From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] Behalf Of Den Fong
  Sent: Thursday, September 13, 2007 5:51 PM
  To: [email protected]
  Subject: Re: Webservice to return SOAP error msg


  **
  That might work, however I was trying to stop the field from changing

  'field' != 'DB.field'

  I would need to store the original value somewhere first, just in case.

  Den

  '

  >>> Matt Willis <[EMAIL PROTECTED]> 9/13/2007 3:30 PM >>>
  Hi Den,

  Are you saying that the filter has a "Message" action, and the message
can't be trapped? You can try creating a 'Return Message' field on the form,
and instead of (or in addition to) displaying a message, you can put the
text you want to return in that field using a set fields action. Then, add
an "output mapping" to your web service for the new field you created.

  Regards,
  Matt Willis


  ---- Den Fong <[EMAIL PROTECTED]> wrote:

  =============
  I have a WS that allows another system to update a ticket via SAP XI.
However when a specific filter fires it causes a message at the HTTP level
to be sent back which can't be trapped and processed.  Is there a way I can
send back the filter message somehow as a SOAP message instead?

  ARS 7.01 p4
  Midtier 7.01 p4

  TIA




  Den Fong
  Husky Energy Inc.
  707-8th Avenue SW
  Calgary, Alberta CANADA
  T2P 3G7
  Phone : 1-403-298-7244
  Fax :      1-403-298-6476
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.487 / Virus Database: 269.13.16/1005 - Release Date: 9/13/2007
11:45 AM

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the 
Answers Are"

Reply via email to