# ServiceMix 4 CXF-WS-SECURITY-OSGi Example

Welcome to the CXF-WS-SECURITY-OSGi example for ServiceMix 4

Perform a POST into the HTTP binding. This requires JavaScript.

Target:
.

<?xml version="1.0" encoding="UTF-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"> <wsse:UsernameToken > <wsse:Username>smx</wsse:Username> <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">smx</wsse:Password> </wsse:UsernameToken> </wsse:Security> </soap:Header> <soap:Body> <ns2:sayHi xmlns:ns2="http://cxf.examples.servicemix.apache.org/"> <arg0>John Doe</arg0> </ns2:sayHi> </soap:Body> </soap:Envelope> |