This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
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


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "WSSubject returning null - Urgent!" Watch "WSSubject returning null - Urgent!" New topic
Author

WSSubject returning null - Urgent!

Mohamed Riaz
Greenhorn

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?

Thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WSSubject returning null - Urgent!