Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WSSubject returning null - Urgent!

 
Mohamed Riaz
Greenhorn
Posts: 2
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have this code which needs to be migrated from a different Webservice codebase to mine. I did it and when i hit my webservice now, I have a callbackhandler (which i migrated from the other WS) which has the following code, which always returns WSSubject.getCallerSubject() as null. I am totally new to the callbackhandler concept.


The second line in the try block is the culprit. It throws nullpointerexception since Subject is null. Please help me out.

[VK: Added code tags]
 
Marcos Maia
Ranch Hand
Posts: 977
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, having same problem. Did you manage to fix this?

Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic