Hi, I'm facing a problem in converting a Byte Array to Base64 Binary. The managerNonce supposed to be converted to Base64Binary format as it is defined as byte[], but it converts to XOP format. The server expects this in Base64Binary format.
Can you please help me on how to convert this to Base64 format? I'm using Apache CXF 2.3.3 version. --uuid:b151f053-b6cc-402f-a008-b1e2ca56dad1 Content-Type: text/xml; charset=UTF-8; type="text/xml"; Content-Transfer-Encoding: binary Content-ID: <[email protected]> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><startRegistration xmlns="http://www.nokiasiemens.com/ne3s/1.0"><managerIdentity><uniqueId>william_myne3s_test</uniqueId><type>ne3s_ws_client</type><vendor>NSN</vendor><release>1.0</release></managerIdentity><agentUniqueId>Esymac</agentUniqueId><notificationConsumerURL>http://localhost:7070/ne3sws/services</notificationConsumerURL><reRegisterInterval>10</reRegisterInterval>*<managerNonce><xop:Include xmlns:xop="http://www.w3.org/2004/08/xop/include" href="cid:[email protected]"/></managerNonce>*<soc>[email protected]</soc></startRegistration></soap:Body></soap:Envelope> --uuid:b151f053-b6cc-402f-a008-b1e2ca56dad1 Content-Type: application/octet-stream Content-Transfer-Encoding: binary Content-ID: <[email protected]> 1313260562190 Regards, William -- View this message in context: http://cxf.547215.n5.nabble.com/Convert-Byte-Array-to-Base64Binary-tp4696903p4696903.html Sent from the cxf-user mailing list archive at Nabble.com.
