Hi, I would use SoapUI to create a request to get any information by CMDBuild 2.2.1 version.
I tried to create following envelope request:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:soap1="http://soap.services.cmdbuild.org">
<soap:Header>
<wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soap:mustUnderstand="1">
<wsse:UsernameToken xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="UsernameToken-3">
<wsse:Username>myUser</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">Y2UwZDU4Zjc1NzYzMDI3YWEyNzRkODQ5NTA1MGU0OThkNw==</wsse:Password>
<wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">9lxfm1l61xnCRNVi5lA==</wsse:Nonce>
<wsu:Created>2013-10-14T10:08:21.826Z</wsu:Created>
</wsse:UsernameToken>
</wsse:Security>
</soap:Header>
<soap:Body>
<soap1:getLookupById>
<soap1:id>1</soap1:id>
</soap1:getLookupById>
</soap:Body>
</soap:Envelope>
but I get following error:
<soap:Text xml:lang="en">An error was discovered processing the <wsse:Security> header (An error happened processing a Username Token "A replay attack has been detected")</soap:Text>
My password digest is calculated so:
Password_Digest = Base64 ( SHA-1 ( nonce + created + password ) )
Nonce and Created are causally values.
Is that right?