cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marco Tenti (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CXF-7495) Set EXPAND_XOP_INCLUDE for WSS4JOutInterceptor to 'false' in older version
Date Mon, 04 Sep 2017 13:37:00 GMT

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

Marco Tenti updated CXF-7495:
-----------------------------
    External issue URL: https://stackoverflow.com/questions/46038257/set-expand-xop-include-for-wss4joutinterceptor-to-false-in-older-version-of-ap

> Set EXPAND_XOP_INCLUDE for WSS4JOutInterceptor to 'false' in older version
> --------------------------------------------------------------------------
>
>                 Key: CXF-7495
>                 URL: https://issues.apache.org/jira/browse/CXF-7495
>             Project: CXF
>          Issue Type: Task
>          Components: JAXB Databinding, Soap Binding
>    Affects Versions: 2.2.12, 3.0.4
>         Environment: Windows 10, java 1.8.0_131, Eclipse IE
>            Reporter: Marco Tenti
>            Priority: Minor
>              Labels: easyfix, newbie, starter
>
> I have a soap service . it support the mtom but not the xop include annotation , so it
refused my request:
> <?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
>   <SOAP-ENV:Header xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"/>
>   <soap:Body>
>     <ns2:receiveSip xmlns:ns2="http://sip.receive.core.iris.eng.it" xmlns:xmime="http://www.w3.org/2005/05/xmlmime">
>       <ns2:sipReceive>
>         <tipoSip>?</tipoSip>
>         <tipoProtezione>?</tipoProtezione>
>         <improntaAlgoritmo>SHA-256</improntaAlgoritmo>
>         <improntaCodifica>HEX</improntaCodifica>
>         <impronta>9e830c2ac56eca00023b17e3c17ed1014e055f960c3ee4778a84aa02c6dafcb9</impronta>
>       </ns2:sipReceive>
>       <arg1>
>         <dh>
>           <xop:Include xmlns:xop="http://www.w3.org/2004/08/xop/include" href="cid:92dc39d3-e3d5-4aa2-a9cb-7582483934a4-1@cxf.apache.org"/>
>         </dh>
>       </arg1>
>     </ns2:receiveSip>
>   </soap:Body>
> </soap:Envelope>
> how can i set my request to this:
> <?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
>   <SOAP-ENV:Header xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"/>
>   <soap:Body>
>     <ns2:receiveSip xmlns:ns2="http://sip.receive.core.iris.eng.it" xmlns:xmime="http://www.w3.org/2005/05/xmlmime">
>       <ns2:sipReceive>
>         <tipoSip>?</tipoSip>
>         <tipoProtezione>?</tipoProtezione>
>         <improntaAlgoritmo>SHA-256</improntaAlgoritmo>
>         <improntaCodifica>HEX</improntaCodifica>
>         <impronta>9e830c2ac56eca00023b17e3c17ed1014e055f960c3ee4778a84aa02c6dafcb9</impronta>
>       </ns2:sipReceive>
>       <arg1>
>         <dh>
>         cid:92dc39d3-e3d5-4aa2-a9cb-7582483934a4
>         </dh>
>       </arg1>
>     </ns2:receiveSip>
>   </soap:Body>
> </soap:Envelope>
> how can obtain this result? in more recent version there is a paramter for this https://ws.apache.org/wss4j/apidocs/org/apache/wss4j/common/ConfigurationConstants.html#EXPAND_XOP_INCLUDE



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message