0 Replies Latest reply on Oct 9, 2013 2:07 PM by rajeesh

    Jboss as 7 web service throws exceptions when invoking secure web service from IE

    rajeesh

      Hi,

       

      The application that i am working on uses SSO using SPNEGO.

      The issue i am facing is, while login to the application from IE using localhost, the web services throws exception as given below.

      WARNING [org.apache.cxf.phase.PhaseInterceptorChain] (http--0.0.0.0-8080-5) Interceptor for {xxxxxxx}xxxx has thrown exception, unwinding now: org.apache.cxf.binding.soap.SoapFault: Error reading XMLStreamReader.

      The Web.xml configuration is

      <security-constraint> <web-resource-collection> <web-resource-name>Restricted</web-resource-name> <url-pattern>/xxxxx</url-pattern> <http-method>GET</http-method> <http-method>POST</http-method> </web-resource-collection> <auth-constraint> <role-name>*</role-name> </auth-constraint> </security-constraint>  <login-config> <auth-method>SPNEGO</auth-method> <realm-name>SPNEGO</realm-name> </login-config>  <security-role> <role-name>*</role-name> </security-role>

      This issue occurs on the machine where it is hosted. Incase if i access the application using the hostname from any other machine, then it works fine.

      Please let me know am i missing something? Any help will be highly appreciated

      Note: There is no issue with firefox and chrome. This happens only with IE.