on 05-28-2014 12:47 PM
Dear PI Developers
I'll define a dynamic Configuration for my HTTP Destination in SOAPReceiver with XI3.0 Protocol.
The solution for that is to use an Adapter Module to set the dynamic Configuration Value.
Process: ... > SOAP Receiver > MyAdapterModule, set HTTP Destination > SOAP Receiver, send Message to HTTP Destination
This works fine for URL-Adressing, here's my Java Code from my Adapter Module:
Message message = (Message) inputModuleData.getPrincipalData();
message.setMessageProperty(new MessagePropertyKey("TServerLocation", "http://sap.com/xi/XI/System/SOAP"), "http://domain.com/foobar");
If I'll use HTTP Destination as Adressing Type but the HTTP Destination will not set.
I think the "TServerLocation" Property don't work for the HTTP Destination, but I don't find a Property in:
Configuring the Receiver SOAP Adapter - Advanced Adapter Engine - SAP Library
My Questions
Did someone know the coresponding property name for HTTP Destinations instead of "TServerLocation"?
Are there other Solutions to set the HTTP Destination dynamicaly, for Example with variables %my_http_dest% ?
How can I set my own variables %my_http_dest% in my Adapter Module?
We have a lot of Destinations and a lot of Szenarios and won't create a SOAPReceiver and Routing for each Destination in each Szenario.
The Destination depends on a HTTP Header Parameter from Sender, I'll map this Parameters to the coresponding HTTP Destination in the Adapter Module, that's the same Mapping for all Scenarios. To keep the performance, I cache this Routing Table in the Adapter Module.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.