Results 1 to 1 of 1
  1. #1
    snooze-g is offline Member
    Join Date
    Jul 2007
    Posts
    8
    Rep Power
    0

    Default How to retrieve HttpSession from axis 2.0.

    HI all.

    I have a small problem with apache axis 2.0.
    I have a web service like this
    Java Code:
    
    public class Login {
        
        
        
        public String userLogin(String username,
               String password) {
    
         
    
            return new String("username="+username.......);
        
    
    }
    }
    I'm trying to get HttpSession from MessageContext but system return me NullPointerException.
    Please help me.
    Last edited by snooze-g; 10-02-2007 at 07:55 AM.

Similar Threads

  1. Store retrieve and delete
    By on7june in forum New To Java
    Replies: 1
    Last Post: 03-08-2008, 05:57 PM
  2. webservices axis..
    By kalpana in forum Advanced Java
    Replies: 0
    Last Post: 01-30-2008, 06:06 PM
  3. how to retrieve the width of the column
    By katie in forum New To Java
    Replies: 1
    Last Post: 08-06-2007, 10:56 PM
  4. How to retrieve data from servlet
    By valery in forum Java Servlet
    Replies: 1
    Last Post: 08-06-2007, 08:25 PM
  5. java.lang.RuntimeException+ Axis
    By Peter in forum Advanced Java
    Replies: 1
    Last Post: 07-05-2007, 01:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •