on 03-02-2015 5:14 PM
Hi All,
My scenario is file to SOAP. At receiver side I want to generate URL dynamically.
To proceed step by step, I started with passing a constant URL to Dynamic configuration UDF.
mapping:
Dynamic conf. UDF
Channel Configuration:
From testing, I found that channel always takes the url given in Target URL field and dynamic URL in TserverLocation is been ignored by the channel.
That is dynamic configuration is not working completely.
I went through a lot of blogs and also tried a lot of trial and error methods, but none helped. Every thing I configured looks perfect for me, but still not working. I don't understand where I went wrong. Please help me.
Sathish
The rest seems to be pointing you in the right direction, so I'll just chip in only a little bit more.
Your UDF seems to look fine. If the values are not showing in the Dynamic Configuration section, maybe the UDF is not being triggered.
My preferred approach for using DynamicConfiguration UDF in Message Mapping is to use a graphical variable instead of the root node. I would create one just under the root node and give it a name like V_SetFileName, and map the output of the UDF to that variable. It also provides a quick overview when I open a Message Mapping and see it, I know that there is some sort of Dynamic Configuration mapping going on.
Rgds
Eng Swee
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Eng,
I found that mapping itself is not being executed.
So far, I had been using the same message type for both Source and target service interfaces. So I didn't realize it. Now I create a small transformation and found in target payload that, the transformation is not happening.So entire mapping itself is not used during run time.
But this is strange. Don't understand why it is happening.
Hi Experts,
I am facing similar issue,
URL --> UDF --> @dynamicvariable
I have created a variable underparent node eg: DESADV-->dynamicvariable
passed complete URL to UDF, below is the UDF
& configured SOAP Receiver Channel as well. This is IDOC to IDOC scenario, using IDOC_AAE on sender side and SOAP on receiver in single stack.
--> Checked ASMA
--> Checked Variable Transport Binding and given "TServerLocation" without quotes in XHeaderName1
--> Target URL: http://
But when I am running this interface, nothing is coming in Dynamic configuration.
Ref: Message Log:
MM and OM is also perfect in ESR.
Any suggestions? Please advice.
Regards
Singh
Hi Sathish,
Your design and configuration seems to be right. Try to do a dummy change in the mapping, like to change the description and to test calling your entire scenario, not from operation mapping nor message mapping.
Are you using the root node to map the UDF?
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sathish,
If you test your entire scenario nothing to add my below suggestion.
If you are not seing the traces in sxi_monitor, coming to my mind only two possibilities, you have configured a higger trace level in sxmb_adm or the UDF is not being executed.
Have you thought in a cache problem?, Did born your MM with the UDF?
Regards.
are you able to see the dynamic configuration URL values in SXMB_MONI?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
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.