[ 
https://issues.apache.org/jira/browse/CXF-8051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Henning Normann updated CXF-8051:
---------------------------------
    Description: 
The request to a streamed secure conversation web service gets corrupted if the 
service (.NET WCF) is configured as stateless (with a stateful token carrying 
the state in soap cookies). If the service as configured as stateful (no soap 
cookies), the request is valid.

Updated 2nd time: When the request is streamed, CXF doesn't stream the payload 
of the content of the token cookie, and the reference from the cookie is 
"unresolved". When the request is not-streamed, the cookie payload is included 
as base64 inside the cookie element, and everything works fine. The attached 
formatted requests EcBad.txt (failing from CXF) and EcGood.txt (valid request 
from a .NET WCF client) show the issue.

  was:
The request to a streamed secure conversation web service gets corrupted if the 
service (.NET WCF) is configured as stateless (with a stateful token carrying 
the state in soap cookies). If the service as configured as stateful (no soap 
cookies), the request is valid.

Updated error observation: Debugging the service (ref attached payload 
EcBad.txt) shows that the problem is that the reference in the xop element in 
the security token cookie doesn’t match the content id for the binary payload:

<xop:Include xmlns:xop="http://www.w3.org/2004/08/xop/include"; 
href=[cid:http://tempuri.org/1/636951518227439376]

Content-ID: 
[64c6803c-4493-425a-9288-3e79d845fc7...@www.altinn.no|mailto:64c6803c-4493-425a-9288-3e79d845fc7...@www.altinn.no]

 It’s expected that the content id should match the value after cid int the xop 
href. (At least that works for consumers written with other technologies than 
CXF.)


> Request gets corrupted when calling a stateful streamed secure conversation
> ---------------------------------------------------------------------------
>
>                 Key: CXF-8051
>                 URL: https://issues.apache.org/jira/browse/CXF-8051
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>    Affects Versions: 3.3.2
>         Environment: The request is running in a console application hosted 
> in Netbeans on Windows Server 2012 R2. The service is a .NET WCF service on 
> Windows Server 2012 R2.
>            Reporter: Henning Normann
>            Priority: Major
>         Attachments: EcGood.txt
>
>
> The request to a streamed secure conversation web service gets corrupted if 
> the service (.NET WCF) is configured as stateless (with a stateful token 
> carrying the state in soap cookies). If the service as configured as stateful 
> (no soap cookies), the request is valid.
> Updated 2nd time: When the request is streamed, CXF doesn't stream the 
> payload of the content of the token cookie, and the reference from the cookie 
> is "unresolved". When the request is not-streamed, the cookie payload is 
> included as base64 inside the cookie element, and everything works fine. The 
> attached formatted requests EcBad.txt (failing from CXF) and EcGood.txt 
> (valid request from a .NET WCF client) show the issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to