cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP Header Character Limitation - SOAP Receiver Adapter

nabendu_sen
Active Contributor
0 Kudos
471

Hi Experts,

We have a scenario where we are trying to send SOAP message over receiver SOAP adapter using Basic Authentication to MuleSoft service. Now we have 32 characters of UserID and 32 characters of Password. When I am using SOAP UI with "Authenticate pre-emptively", I can see below HTTP Authentication Header in the Request and receive successful Response:

Authorization: Basic NTA1YzAyMjk4ZTA4NGZlNGI1ODk1YjBjN2Y5YWQxMmM6YzJmNDk0NDQ1ZDhlNGQ3MkFBMjM3RTA1NTYxMUE5RDI=

But when we are sending through receiver SOAP adapter, HTTP Authentication Header is getting truncated and receiving "invalid_client: wrong client_id or client_secret" error. At MuleSoft server, we can see last few characters are truncated from Password.

I am not sure whether PI has any Character limitation for HTTP Authentication header. Please provide your suggestion.

PI Version: 7.11

Regards,

Nabendu.

View Entire Topic
former_member207667
Participant
0 Kudos

Hi Nabendu,

I also found this problem a while ago.

You could also use the AXIS adapter, there is no Authorization Header trimmed issue using this adapter.

Best regards.

Mikel