Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-10468

WSSecurityException conversion to SOAP 1.2 fault fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • EAP_EWP 5.3.0.ER1
    • EAP_EWP 5.1.2
    • Web Services
    • None
    • Hide
      Cause:
      JBossWS uses fault codes that are not compliant with SOAP 1.2.

      Consequence:
      JBossWS throws an error when a different component within JBossWS uses an invalid SOAP 1.2 fault code.

      Fix:
      Remove the use of invalid fault codes when using SOAP 1.2.

      Result:
      JBossWS will now report the actual application error instead of an "invalid fault code" error.
      Show
      Cause: JBossWS uses fault codes that are not compliant with SOAP 1.2. Consequence: JBossWS throws an error when a different component within JBossWS uses an invalid SOAP 1.2 fault code. Fix: Remove the use of invalid fault codes when using SOAP 1.2. Result: JBossWS will now report the actual application error instead of an "invalid fault code" error.
    • Documented as Resolved Issue
    • NEW

      2012-11-23 15:23:54,722  ERROR  SOAPFaultHelperJAXRPC Error creating SOAPFault message
      javax.xml.soap.SOAPException: {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}FailedAuthentication is not a standard SOAP 1.2 Code value
      	at org.jboss.ws.core.soap.SOAPFaultImpl.setFaultCode(SOAPFaultImpl.java:222)
      	at org.jboss.ws.core.soap.SOAPFaultImpl.setFaultCode(SOAPFaultImpl.java:182)
      	at org.jboss.ws.core.soap.SOAPBodyImpl.addFault(SOAPBodyImpl.java:120)
      	at org.jboss.ws.core.jaxrpc.SOAPFaultHelperJAXRPC.toSOAPMessage(SOAPFaultHelperJAXRPC.java:245)
      	at org.jboss.ws.core.jaxrpc.SOAPFaultHelperJAXRPC.exceptionToFaultMessage(SOAPFaultHelperJAXRPC.java:213)
      	at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.exceptionToFaultMessage(SOAPFaultHelperJAXWS.java:184)
      	at org.jboss.ws.core.jaxws.binding.SOAP12BindingJAXWS.createFaultMessageFromException(SOAP12BindingJAXWS.java:110)
      	at org.jboss.ws.core.CommonSOAPBinding.bindFaultMessage(CommonSOAPBinding.java:650)
      	at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:304)
      	at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:468)
      	...
      

              rh-ee-klape Kyle Lape
              rh-ee-klape Kyle Lape
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: