on 07-10-2012 4:12 PM
Hi All,
I created a File To File Scenario using Advanced Adapter Engine concept as in ESR i create a Sender - Data Type, Message Type and Service Interface(Out) and in Receiver - 1 Data Type, Message Type and Service Interface(In) there is no mapping. In Integration Directory I created 1 Configuration Scenario, File Sender Communication Channel, File Receiver Communication Channel and Integration Configuration.
When i tried to execute, im getting this error "Error: com.sap.aii.adapter.xi.routing.RoutingException: InterfaceDetermination did not yield any actual interface"
For you better understanding,
Sender Data Type:
Receiver Data Type:
My input file I used is ".txt" - contains
"TEST for Advanced Adapter Engine 1
TEST for Advanced Adapter Engine 2"
Thanks in advance.
Vichu
Hi,
Fill in correct details(such as Service Interface,Namespace and software component version) in the Receiver Interfaces tab of the Integrated configuration and activate it again.
Now stop and start the sender communication channel of that ICO and the issue resolves.
Regards,
Pooja.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
Mapping is not required but service interface is required so create service interface and configure in ICO objects. No need to specify Operation mapping .
Regards,
Manigandan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Create Operation mapping and specify in the interface determination tab of integrated configuration ID object. That could be the problem.
There is no change in ESR with respect to AAE configuration. Still you need to create message mapping and operation mapping as usual.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Then you dont really need ESR objects but you need to put some dummy target interface name and namespace in the Interface determination area. Something like this
If you do not want to used the integration engine for your processing, then you can simply create a ICO object without specifying the operation mapping name:
Refer Pratik's response in this thread.
What I referred above is since you don't need any mapping you can avoid creating ESR objects. In Integration directory use Integrated configuration object and there you specify the sender channel, receiver channels in inbound and outbound processing. In the receiver interfaces you specify some dummy interface name and namespace. This receiver is equivalent to receiver determination and receiver interface tab is equivalent to interface deterimination in the classical IE processing. You dont need to specify operation mapping in the reciever interface tab. Thatswhy I provided equivalent William's link before. Even you can use the same provided by Pratik's response by Ravi too.
Hope that helps
Message was edited by: Baskar Gopalakrishnan
the information was very useful baskar, but If i provide xml as input file i am able to get the output but if i provide the text file then im getting error.
And as you said i provided some interface in the receiver tab and executed but im getting the following error
"Error: com.sap.aii.adapter.xi.routing.RoutingException: Unable to parse XML message payload to extract operation for receiver determinationorg.xml.sax.SAXParseException: Content is not allowed in prolog."
My doubt is how xml is getting worked and text file is not working ????
Please check whether you picked schema validation in the inbound processing tab. It should be NO validation option. This scenario should work for any file extension whether jpeg, txt or doc or any thing. You dont need ESR objects at all. You just use Integration directory objects to move file from one location to another.
Hope that helps.
Hi,
I found the same issue in 7.3, and I understand it is due the fact that ICO now can route the messages based on operations, so it is trying to match the payload with one of the operations defined in the message.
You have 3 options here:
A - You use a "dummy" interface and namespace (not defined in the ESR at all)
B - In ESR, you set the attribute "Interface Pattern" of the outbound service interface as "Stateless (XI30-compatible)", which does not use operations.
C - In the ICO, you use the interface defined in ESR, but remove the SWCV of the sender interface, so it looks like a dummy interface for the ICO.
I have tried the first 2 and both work fine. The 3rd one is a guessing but should work as well.
Hi Nicolas,
I have suffered the same problem in one of our interfaces with PI 7.31 Java Stack Only and finally we solved the problem with your clue B:In ESR, you set the attribute "Interface Pattern" of the outbound service interface as "Stateless (XI30-compatible)", which does not use operations.
Thank you! you're a great guy!
Hello Vichu ,
Enter dummy SI name and namespace as suggested by other before.
Just try to keep software component of the sender interface as blanl in ICO and the try to see if this helps.
Also in the sender channel what is the format have you chosen(Text/Binary??) can you paste the screenshot of the sender communication channel settings?
Thanks
Hi Nicolas Freyre ,
This is indeed a best insight in PI, in smallest possible words by any expert.
Thank you for your contribution to SCN.
Regards
Anupam
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.