‎2006 Mar 02 2:30 PM
Hi All WAS Gurus,
Basically the functionality is - I have to parse the incoming xml , get data ( number of records - internal table) and call some Remote enables FM to update DB and collect the error it throws back (internal table) and recreate the XML and send it back. I have a handler class which parse the xml data and calls the FM.
This function module accepts a set of records and tries to update (calling some other FM) DB. If any errors were there in any records it will append to the return internal table.
Say, if I give four correct records in XML and call the web service from HTTP client (browser) it updates the DB as expected. But if the records are wrong it is showing internal server error.
My called FM is functioning very well when I am testing it individually. If I give three wrong records and one wrong record in the internal table it exactly gives the one wrong record back with reason - the very expected output
For debugging the code I have copied the whole class code into a SE38 program. Supplied the same XML hard coded. This SE38 program calls the FM and gets back error messages and create the XML without any error - No problem at all
But the only problem is when I call the web services from the browser with wrong input records. As mentioned if all records are correct, every thing is fine
When this internal server error is coming it doesn't show any short dump. So no way I can debug it. Remember SE38 is working fine. My called FM is Remote enabled.
I really don't know what the problem is, I am using WAS 620. Is that any patch problem?
Please input your valuable comments. I would be grateful to all of you
Thanks
Bineesh
‎2006 Mar 02 2:52 PM
‎2006 Mar 02 2:52 PM
‎2006 Mar 03 6:30 AM
Hi Reddy,
Thanks for your help.But my primary problems is why it is happening. If there are any errors or exceptions, how does my Se38 report program work?
Do I need to handle exceptions? if so what exceptions. It( class) does not give any short dump.
‎2006 Mar 04 6:10 AM
why not place a HTTP (external) break point in your FM and try debugging to where the error happens
Regards
Raja
‎2006 Mar 06 2:29 PM
Thanks Raja,
in fact, I found many options to debug it. SICF debug , trace, external break point.
Thanks for you help.
I found the problem also. The function call also should be remote enabled