Quantcast
Channel: Discussion Forum > Connect Data Services
Viewing all articles
Browse latest Browse all 2504

Error "Remote exception encountered: Username token required. Cannot find in the security header"

$
0
0

Topic by Julius Sesar

Hello everyone,

 

We are working on a RightNow integration with another tool and we are connecting the ticket info betwen them. We send data to RightNow using the Web Services API, consuming them with Java.

It works like that:

- We send data to RightNow (status change, new comments, etc). We can send around 100 request per minute for different tickets, each one with the same user (integration user).

- If one of the request fails, the system try it again 15 minutes later.

 

The thing is, we are having this error sometimes:

- Remote exception encountered: Username token required. Cannot find in the security header

It fails once but, when the system tries again 15 minutes later, it works ok.

The soap response say that:

<wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" mustUnderstand="1">
<wsse:UsernameToken>
<wsse:Username>IntegrationUser</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">[obfuscated]</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>

 

As you can see, the password value is obfuscated, but it has no sense because we always call the same program with the same parameters, and sometimes it works but other times it doesnt...

One thing that I think it could be is because of the same user for all the request. Perhaps RightNow doesnt allow the same user to login while it is loged working in another request, could that be?

 

Well, thank you who can help me, and sorry for my english.

Merry Christmas and grettings.


Viewing all articles
Browse latest Browse all 2504

Trending Articles