on 05-11-2010 12:51 PM
Hi all
I have a very small scenario where REQUEST from the customer comes via Web Service all i have to do is to read the request using SOAP adapter and call an interface mapping(lets say the name is IM_TEST) inside which there is a JAVA MAPPING program written which will call an RFC in CRM using JCO.
Now this was really simple and i cud test the Interface mapping successfully, but the problem is when loading the scenario in integration directory i have certain things to do
1. to set the SENDER AGREEMENT which i did correctly
2. set the RECEIVER DETERMINATION, INTERFACE DETERMINATION AND RECEIVER AGREEMENT now here i am stuck because there is no receiver in my case as the RFC is called inside the mapping only.
can i call one more message mapping in IM_TEST which will write file onto the XI directory and then in RECEIVER DETERMINATION, INTERFACE DETERMINATION AND RECEIVER AGREEMENT i can mention the reciever as FTP.
I tried it but i gives the following error
Runtime exception occurred during execution of application mapping program com/sap/xi/tf/_MM_TEST_WRITE_FILE: com.sap.aii.utilxi.misc.api.BaseRuntimeException; Parsing an empty source. Root element expected!
Please help me how to complete the scenario so that customer can run it end to end.
<REMOVED BY MODERATOR>
Edited by: Prateek Raj Srivastava on May 12, 2010 1:44 PM
points given
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> here i am stuck because there is no receiver in my case as the RFC is called inside the mapping only.
No, your receiver as the target interface message of your interface mapping.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
it needs a structure to map too! is there a parent node that you can use to send a blank constant to ensure that node is created?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> What structure...i am able to generate response xml from the java mapping program....but cannot send it back to the customer
This approach is totally wrong. Why are you not doing a simple SOAP -> RFC scenario?
As I had a similar discussion just yesterday, I wonder why you guys search for the most complicated and error-prone solution which is possible.
Stefen
What do i do then...actually this is the project requirement. They want a very fast response from PI and thats why they wnt us to omit BPM and the Graphical mapping from the scenario.
I am able to test the interface mapping which calls the the Java mapping inside which there is an RFC call, but i cannot implement it end - to - end as there is no receiver business system in this case. The only business system i have is the SOAP sender.
I am really troubled now, please help me with a solution.
Is there any other possible way through which the process can become very fast whic hcan meet their requirement.
Regards
Naina
Stefan
I understood your point now my other problem is Ialso want to write the incoming xml into a backup file onto XI directory in async mode .....this is also the part of SOAP - RFC -SOAP scenario
Is this possible to make sync - async connection without BPM(using some setting in integration directory)
Regards
Naina
<REMOVED BY MODERATOR>
Edited by: Prateek Raj Srivastava on May 12, 2010 1:45 PM
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.