Hi,
I am trying to capture SOAP response into a file using the method mentioned in the below given wiki but running into errors.
File gets read but it doesn't get deleted and it gets processed infinitely without creating any monitoring messages.
Following is the trace from defaulttrace:
#1.5 #005056A33969002E00003735000014A41040C0723D32A941#1236364790565#
com.sap.engine.services.ts##com.sap.engine.services.ts#J2EE_GUEST#168484##
test008_ZP0_117114750##672e8d50052011deafc2005056a33969#XI File2XI[CC_NTLM/BE_FILE_LOCAL/]_400304##0#0#Error#1#/System/Server#Java#ts_0021##Thread is not associated with any transaction context.##
#1.5 #005056A33969002E00003737000014A41040C0723D32A941#1236364790565#
com.sap.engine.services.ts##com.sap.engine.services.ts#J2EE_GUEST#168484##test008_ZP0_11711
4750##672e8d50052011deafc2005056a33969#XI File2XI[CC_NTLM/BE_FILE_LOCAL/]_400304##0#0#Error#1#/System/Audit#Java###Exception #1#com.sap.engine.services.ts.transaction.TxDemarcationException: Thread is not associated with any transaction context.
at com.sap.engine.services.ts.transaction.TxManagerImpl.setRollbackOnly(TxManagerImpl.java:754)
at com.sap.transaction.TxManager.setRollbackOnly(TxManager.java:382)
at com.sap.aii.af.service.util.transaction.impl.SAPTxManagerImpl.rollback(SAPTxManagerImpl.java:109)
at com.sap.aii.adapter.file.File2XI.processFileList(File2XI.java:1748)
at com.sap.aii.adapter.file.File2XI.invoke(File2XI.java:615)
at com.sap.aii.af.lib.scheduler.JobBroker$Worker.run(JobBroker.java:463)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:152)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:247)
Caused by: com.sap.engine.services.ts.exceptions.BaseIllegalStateException: Thread is not associated with any transaction context.
at com.sap.engine.services.ts.jta.impl.TransactionManagerImpl.setRollbackOnly(TransactionManagerImpl.java:475)
at com.sap.engine.services.ts.transaction.TxManagerImpl.setRollbackOnly(TxManagerImpl.java:751)
... 9 more
#
Am not sure if this is the right approach. One other way mentioned some where else is to use the File Handler in Axis adapter but thats not working either.
Any help is appreciated!!
Thanks
Kiran