on 02-29-2012 11:03 AM
Hi All,
Dynamic Configuration works fine in PI 7.3 when Classical Configuration is used. However the same does not work using Integrated Configuration.
Scenario :
SOAP -->SOAP Synchronous scenario in PI 7.3 (Dual Stack).
Trying to save a value from Request mapping using dynamic configuration and use the same in response mapping.
UDF Code :
Request Mapping :
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey Variable = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/SOAP", "Variable1");
conf.put(Variable, a);
Response Mapping :
DynamicConfigurationKey Variable = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/SOAP", "Variable1" );
string1 = conf.get(Variant);
Note : Using Integrated Config(AAE Processing) - Response header does not have DynamicConfiguration header node , but Classical Configuration has that.
Regards,
Parimala
Edited by: ParimalaE on Mar 1, 2012 1:33 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We are having the same issue and filed a high priority message with SAP to get an answer on this. I'll try to come back and post the results so people in the future have an answer as this is a common problem and I don't see anything in marketplace or sdn that outlines what works and doesn't work with 7.31 full java stack. We are trying to use Dynamic Configuration with SOAP.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Steve. First of all, thank you so much for your quick response.
I don't really know that exists a new and an old version to acces data from Dynamic Configuration.
This is the code I am using:
DynamicConfiguration conf = (DynamicConfiguration)container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
if (conf != null)
{
DynamicConfigurationKey filename = DynamicConfigurationKey.create("http:/"+"/sap.com/xi/XI/System/File","FileName");
toReturn = conf.get(filename);
}
Would you mind telling me where can I find infomation about the old way to access data from Dynamic Configuration in UDF?
Thanks in advance.
Best regards.
For us this is what we had:
This didn't work (getInputParameters is the newer stuff that doesn't work):
DynamicConfiguration dc = (DynamicConfiguration)container.getInputParameters().getValue(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey dck = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/SOAP","TServerLocation");
dc.put(dck,"https://xyz.api-salesforce.com/services/Soap/c/26.0/0DFa00000008jis");
return "";
This works for us(we had to remove getInputParameters):
DynamicConfiguration dc = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey dck = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/SOAP","TServerLocation");
dc.put(dck,"https://xyz.api-salesforce.com/services/Soap/c/26.0/00D3000000001X0");
return "";
Hi Parimala/Per Rune
There are limitations when using Integrated Configuration in PI 7.3 i.e. this does not use the Dual stack, only the Java stack. So any operations that previously used the ABAP stack will not work with an ICO.
Check out the article by William Li which is available from http://scn.sap.com/docs/DOC-23399
-> Article: Migration Guide to AEX of PI 7.3x for Integration Scenarios
This outlines the known limitations.
Regards
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mark,
Thanks for your reply. I am aware of the article by William Li, but as far as I can see the document does not mention anything about DynamicConfiguration. Do you have any information that the DynamicConfiguration is removed from the SOAP header response message when using Integrated Configuration?
Thanks,
Per Rune
Hi,
I am now encountering the same problem that the Dynamic Configuration header is not there when using Integrated Configuration. Did you find a resolution for this?
Regards,
Per Rune
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Open an OSS ticket to SAP and share the information.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
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.