[ https://issues.apache.org/jira/browse/CXF-7495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marco Tenti updated CXF-7495: ----------------------------- Description: 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 was: 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 > Set EXPAND_XOP_INCLUDE_FOR_SIGNATURE 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)