You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by kuc1n9 <ku...@gmail.com> on 2015/06/30 08:26:37 UTC
CXF swaRef custom set Content-ID
Hi there,
Is there anyway to set a Content-ID when using swaRef ?
The swaRef has been set as below in wsdl:
<xs:element minOccurs="1" maxOccurs="1" name="UniformResourceIdentifier
type="ref:swaRef"/>
At the moment Content-ID is generated automatically
SOAP:
<UniformResourceIdentifier>4b55564a-61db-4997-b4c0-86d274ec8216@apache.org</
UniformResourceIdentifier>
which refer to
--uuid:89cef9f8-4384-4fc6-b9dd-ada5d8a0bd13
Content-Type: application/xml
Content-Transfer-Encoding: binary
Content-ID: 4b55564a-61db-4997-b4c0-86d274ec8216@apache.org
I'm expecting to setup manually like below:
SOAP: <UniformResourceIdentifier>foo.xml</UniformResourceIdentifier>
Content-ID: foo.xml <ma...@apache.org>
I'm using ClientProxy btw:
Client client = ClientProxy.getClient(proxy);
Kind Regards,
Ivanto