on 11-18-2010 5:34 AM
Experts,
in my scenario a generic interface (Proxy2Fille) is used, in which file receiver output FileName and Directory are being determined at runtime. this was implemented using udf at graphical message mapping phase. somehow, i am able to put "FileName" but can not put "Directory", I'm using 2 similar udf.
setting Directory udf code:
..
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey FileDir = DynamicConfigurationKey.create("http:/"+"/sap.com/xi/XI/System/File";,"'Directory'");
conf.put(FileDir, Dir);
..
when interface is being executed, i can see (sxmb_moni --> SOAP:Header) the udf were running and (as far as i get) that FileName and Directory parameters were successfully chased during the mapping phase.
i.e., :
..
SAP:DynamicConfiguration..
..
<SAP:Record namespace="http://sap.com/xi/XI/System/File" name="'Directory'">/rkv-erp/Int/XID</SAP:Record>
..
yet, I'm getting the following error (RWB-Comunication Channel Monitoring):
Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.file.configuration.DynamicConfigurationException: The Adapter Message Property 'Directory' was configured as mandatory element, but was not supplied in the XI Message header
and obviusly, writing fails.
what am i missing?
Regards,
Uri
Have you checked ASMA Attributes for filename and directory
in receiver file channel configuration?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
10x for your replay.
both FileName and Directory are checked. I'm getting the recieved error (...The Adapter Message Property 'Directory' was configured as mandatory element...) since "Directory" is checked. in some of my tests, when i manipulate only FileName, everything went fine.
Any other hint?
Regards,
Uri
Hi
In receiver communication channel configuration, in the directory specify the root directory. Example / or \
Regards
Monika
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Uri,
Ensure that you have enabled ASMA in your receiver file adapter.
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 |
---|---|
88 | |
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.