cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic Http URL.

siddhesh_pathak4
Contributor
0 Kudos

Hello all,

I am working on http recever adapter, I am having one question like i have to pass one parameter from my java maping to the path prefix in the http adapter. What steps should i follow. I am using the URLparameters. But in that i am not getting what should i mention like in Parameter1 should i mention checkSum or UrlParamOne.

One more thing what should i write in path prefix for this specific parameter (checkSum)

Path prefix:

/server/abc/folder=pqr&conf=001&checksum=1234&filename=XYZ

Dynamic config.

DynamicConfigurationKey urlParamOne = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/HTTP", "UrlParamOne");

conf.put(urlParamOne, checksum);

Thanks for all your response in advance.

Sidd.

Accepted Solutions (0)

Answers (2)

Answers (2)

siddhesh_pathak4
Contributor
0 Kudos

Solved

Former Member
0 Kudos

Hi,

I have a similar requiremnet and posted a query for the same:

Can you please provide a solution?

regards,

Piyush

prateek
Active Contributor
0 Kudos

Are you following this?

/people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping

Have you added this?

DynamicConfiguration conf = (DynamicConfiguration) param.get (StreamTransformationConstants.DYNAMIC_CONFIGURATION);

Regards,

Prateek

siddhesh_pathak4
Contributor
0 Kudos

Hi Prateek,

Thanks for the response. Yes i have added that to dynamic cofig used. I saw in my trace that value of field is coming properly but in reflecting that in URL.

I have gone through the blog too. it is lil bit different. I am using Addressing Type as URL Address and i am using the Parameters option to change the value of parameter.

I am mentioning in parameter4 = checkSum but i am not getting the value in URL.. what should i write in URL (path prefix)for that field.

Edited by: Siddhesh Pathak on Jul 7, 2009 9:56 AM