6 Replies Latest reply on Mar 18, 2013 1:59 AM by edimukc

    getSOAPHeader() value is null :  Migrating webservices from JBOSS 5.1.0 GA to JBOSS 7.1.1 final

    edimukc

      Hi All,

       

      I am migrating application from JBOSS 5.1.0 GA to JBOSS 7.1.1 final, which involves webservices.

       

      I am not getting the session value stored in "actSession" element tag, which is part of SOAPHeader.

       

      actSOAPHandler.java :
      --------------------------------

       

      import javax.xml.ws.handler.soap.SOAPHandler;
      import javax.xml.ws.handler.soap.SOAPMessageContext;

       

      public class actSOAPHandler implements SOAPHandler<SOAPMessageContext> {

       

      @Override
          public boolean handleMessage(SOAPMessageContext context) {  }

      NodeList actSessionList = context.getMessage().getSOAPHeader().getElementsByTagName("BinarySecurityToken");

      }

       

       

      but in JBOSS 5.1.0 GA I am getting the 'actSession' element tag value.

       

       

      Thanks for the reply in advance.