on 03-06-2009 6:58 PM
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
1. Dear Kiran,
1.chk that you have not used the sender file adapter in the test mode.
2.also make sure that the folder that you pick the file from and where you are writting the file are different..
There may be a possibility that you are writing it to the same source folder and the sender adapter is picking it up agaain.
hope this helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
First make sure that you are on XI 3.0 SP 19 or PI 7.0 SP 10.
Then confirm that you have used the adapter module in the correct order in File sender channel and not file receiver channel. Also, make sure that the outbound message interface is synchronous.
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi!
A part from the abov sugestions make sure even though u checked previously..
1. Check whether your SOAP URL s correct or not which you are giving in the receiver SOAP adapter
2. Also check you are giving the SOAP action in the receiver SOAP adatper correctly or not.
3. Finally check the SOAP service is activei or not in SAP>BC>XI-->SOAP in ABAP stack
4. Since FIle is only for ASYN comm and while using FILE for sync interface you need to pass module paramters in the Sender File CC
please go thorugh the below link and check all those parameters once again whcih contains detaled screen shots.....Ok
[https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/file-rfc-file(Without+BPM)]
Regarsd::
Amar Srinivas Eli
Hi All,
Thanks for your responses!! Am still having the problem.
BTW..I am using PI 7.1 SP7. File adapter is in delete processing mode and different folders are being used for send and receive. I did activate SOAP services in SICF but am using AXIS adapter for SOAP. Don't know if activating these services really matter.
Appreciate your help!!
Thanks
Kiran
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.