Skip to Content
0
Dec 27, 2012 at 12:43 PM

file to soap SYNC. evaluating data RESPONSE

19 Views

Hi,

I'm doing a scene file to soap and i have 2 problems:

  • So far I've got to create a file with the data back (response), but I would like to evaluate this data and depending on the value, mark the adapter as wrong or succcesfull. I tried to throw an exception on dividing by zero , but the message is not processed.

I have also tried with the following code:

public String test(String var1, Container container) throws StreamTransformationException{

if (var1.equals("error") ) {

throw new RuntimeException("DO NUMBER DO NOT SEND INVOICE");

}

else {

return "ok";

}

}

but I have the next problem: when the channel sender reads a file in a directory, if the first reading errors, the other files not processed, how could process the correct files? Is there any way to do this?.


  • In RWB, I can see the messages in Adapter Engine -- Database (Overview), Does anyone know why?.

I have not found the option to enable this type of messages (in SXMB_ADM ), but i have not found it, can anybody tell me how to do it exactly?

thanks.