jQuery in Action, 3rd edition
The moose likes Web Services and the fly likes WSSubject returning null - Urgent! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "WSSubject returning null - Urgent!" Watch "WSSubject returning null - Urgent!" New topic

WSSubject returning null - Urgent!

Mohamed Riaz

Joined: Dec 26, 2011
Posts: 2
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

Joined: Jan 06, 2001
Posts: 977
Hi, having same problem. Did you manage to fix this?

I agree. Here's the link: http://aspose.com/file-tools
subject: WSSubject returning null - Urgent!
It's not a secret anymore!