on 11-27-2008 5:52 PM
Hi
I have a problem with a HTTP => XI => IDoc scenario.
A client want to send 4 different XML documents to only 1 receiving URL on the XI side. How can I handle this in XI???
To send XML data via HTTP to XI you have to specify the namespace, interface and service in the URL. But I only can specify 1 namespace, interface and namespace in the URL...
But how can I define a generic message interface for all 4 messages.
The solution with 4 receiving URL's is easy, but not workable for the client
Thx
manuku
Try with:
- Multimapping on Sender Side
- Enhanced Receiver Determination if needed to call different receiver depending on the message sent.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anand
Multimapping on sender side is not possible.
I know the Enhanced Receiver Determination functionality. But how is it possible to post different XML document to you URL with one namespace, interface and service? How have I to configure the one message interface for the incoming HTTP-post on Design-side?
Thx
manuku
You can do following:
Create an interface with an artificial root node like this:
root
- structure message 1
- structure message 2
- structure message 3
- ...
A simple XSLT/Java mapping adds that root node to every message.
Create different mappings based on the structure if the different mappings and do routing based on the same.
Another option: Upgrade to PI 7.1. Here you can simply create a service interface with different operations and routing/mapping based on the operations.
Regards
Stefan
Hi Tobias,
the solution is quite easy: Just do nothing, he, he. Interfaces are not validated, so create a dummy outbound interface (one field is enough) and put conditions on interface determination. Message Mapping is now avoided, the only disadvantage (is this a handicap?) - you have the choice between Java, ABAP and XSLT.
Regards,
Udo
aeh, sorry, the old thread was brought to the top be Menaga, i didnt see it was already solved
Edited by: Udo Martens on Feb 10, 2009 6:24 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am new to HTTP adapter configuration, can you please provide me the steps for receiving po which is cxml with DTD and map to IDOC and send to R/3. My company doesnt want ot use webservices.Please advice.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.