cancel
Showing results for 
Search instead for 
Did you mean: 

Populate Logon Language when calling PI service

former_member191528
Participant
0 Kudos

Hello All,

Is possible to pass logon language as a parameter when calling PI service along with user name and password , endpoint and payload.

Also how can we access it to connect to the backend using that logon language.

I can do condition based receiver determination and select the appropriate communication channel but is there a way to read the logon language.

Thanks,

Kiran

Accepted Solutions (1)

Accepted Solutions (1)

iaki_vila
Active Contributor
0 Kudos

Hi Kiran,

What do you want to mean when you say "calling PI service"?, calling a SOAP interface or another like IDOC, sender proxy and so on?

I think the easiest way is to include the language as tag in your payload or in your SOAP header, later you can access it in receiver determination condition editor.

Regards.

former_member191528
Participant
0 Kudos

Hi

former_member186851
Active Contributor
0 Kudos

Hello Kiran,

You want language in Soap header?

you can add a custom soap header using Beans/xslt mapping.

iaki_vila
Active Contributor
0 Kudos

Hi Kiran,

You could try to use XHeaderName in your Sender SOAP channel to establish the logon variable, check this thread to set/get this value

Regards.

former_member191528
Participant
0 Kudos

Hi Raghuram,

We have a requirement where the application when it calls a PI service should be somehow be able to pass the logon language ( not in the payload) and we should be able to read the logon language in the receiver determination & connect to backend accordingly.

I am not able to figure out the passing the logon language part of it.

Thanks,

Kiran

former_member186851
Active Contributor
0 Kudos

Hello Kiran,

You can try as per the below links

Answers (1)

Answers (1)

former_member191528
Participant
0 Kudos

Hello ,

Thank you for your feedback. We decided to pass logon language in the payload.

Thanks,

Kiran