cancel
Showing results for 
Search instead for 
Did you mean: 

How to use XHeaderName1 in SOAP header

Former Member
0 Kudos

I have a scenario in which im passing the target URL of a webservice dynamically in my mapping udf.

I have to pass the URL to the TServerLocation parameter in SOAP header. But the error i get is that the URL is too long for TServerLocation. So i have to split it and send it using XHeaderName1,XHeaderName2 and XHeaderName3.

Can anyone tell me how to do this.

i saw this blog which gives me some idea but still my scenario is not working

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

please Help

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Sivasakthi Danasekaran,

URL is an environment variable I think it will take 256 charecters only. You need to split it compulsorly.

Reward points if needful.

Thanks,

RamuV

Former Member
0 Kudos

Yes but how to do that? I want to know how i can pass the entire URL as Http Header Fields.

prateek
Active Contributor
0 Kudos

As u need multiple url parameters, use multiple UDFs (following the same blog) according to the length u may expect

Regards,

Prateek

Answers (0)