on 11-03-2006 12:40 PM
Hi ,
I am using dynamic configuration for determining the filename sent by the sender
I am using the following code::
int i = 0;
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
String ourSourceFileName = conf.get(key);
if (ourSourceFileName.equals("data.txt"))
{
for (i = 0 ; i < 1 ; i++)
{
result.addValue(ourSourceFileName);
}
}
i have also 'checked' filename in set Adapter specific message propertiesas in sender communication channel.
But Still it is not working.
Please provide some help on it.
Thanks & Regards
Nilima
Hi Nilima,
Go to transaction sxi_monitor in XI server and get the relevant message. Left pane shows the soap header. Under Header for Inbound side check the header node Dynamic configuration. Check whether u have the file name along with its attributes (Name space of File Adapter Metadata in Repository)
Regards,
Sudharshan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
check your inbound message in SXI_MONITOR
if you see the dynamicconfiguration at all
in the message header
(and if the FileName is populated there)
Hope you have XI SP14 or more +
hope you don't test it in the message tab
but in the real message flow right ?
Regards,
michal
-
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Michal
In SXMB-MONIthe response part contains DYNAMIC CONFIGURATION node
and it displays::
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!-- Response
-->
<SAP:DynamicConfiguration xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Record namespace="http://sap.com/xi/XI/System/File" name="FileName"><b>try1.txt</b></SAP:Record>
</SAP:DynamicConfiguration>
please sir provide some help on it.
Thanks once again.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.