Bug 1111048

Summary: [GSS] (6.2.x) Empty response returned when SOAP Fault is thrown from an endpoint having WS-Security Policy Signature profile
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Tadayoshi Sato <tasato>
Component: Web ServicesAssignee: Carlo de Wolf <cdewolf>
Status: CLOSED WONTFIX QA Contact: Rostislav Svoboda <rsvoboda>
Severity: high Docs Contact: Russell Dickenson <rdickens>
Priority: high    
Version: 6.2.3CC: cdewolf, smumford
Target Milestone: ---   
Target Release: EAP 6.2.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1111046
: 1111518 (view as bug list) Environment:
Last Closed: 2014-06-19 08:05:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1110631    
Bug Blocks: 1067534, 1111518    
Attachments:
Description Flags
Reproducer none

Description Tadayoshi Sato 2014-06-19 06:45:33 UTC
Created attachment 910270 [details]
Reproducer

+++ This bug was initially created as a clone of Bug #1111046 +++

+++ This bug was initially created as a clone of Bug #1110631 +++

Description of problem:
Platform BZ for https://issues.jboss.org/browse/JBWS-3802

Please port CXF-5810, which is the root cause of the issue, to JBoss WS.

When a web service has a WS-Security Signature policy in its WSDL and throws a SOAP Fault, it returns an empty HTTP response that has zero-length of content to client instead of the SOAP Fault.

This happens only with Signature policy and doesn't happen with any other WS-Security policies like UsernameToken, or without WS-Security.


How reproducible:
100%

Steps to Reproduce:
1. From the base maven project run:
   > mvn clean install jboss-as:deploy
2. Then run:
   > mvn clean test -Pjbossas-remote

Actual results:
- The reproducer client gets empty response from the endpoint.

Expected results:
- The reproducer client should get a SOAP Fault from the endpoint.

Comment 2 JBoss JIRA Server 2014-07-21 15:52:44 UTC
Alessio Soldano <asoldano> updated the status of jira JBWS-3802 to Resolved

Comment 3 JBoss JIRA Server 2015-04-25 20:26:36 UTC
Alessio Soldano <asoldano> updated the status of jira JBWS-3802 to Closed