Need help from Angular Universal developer + server professional

Job ID: 32238415

Budget: €250 – €750 EUR

Hello,

I have 2 problems on a project I am currently working on.
First problem is: I cannot fetch a token from server for local storage
Second problem is: I have an issue with a SOAP query to an API. My request seems to be correct according to the cookbook of the KBO Open Data Web Service (the API) as well as their support team, but I still get the following error: [message:protected] => A security error was encountered when verifying the message.

Here's also a functional request sent to me by support team:
<soapenv:Envelope xmlns:dat="http://economie.fgov.be/kbopub/webservices/v1/datamodel"
xmlns:mes="http://economie.fgov.be/kbopub/webservices/v1/messages"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header>
<wsse:Security
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">
<wsse:UsernameToken wsu:Id="UsernameToken-8CBE2EE931C731DF01163776037007592">
<wsse:Username>XXXXXXXXXX</wsse:Username>
<wsse:Password
Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest"
>I+XXXXXXXX=</wsse:Password>
<wsse:Nonce
EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary"
>xUHkaKb7NzZDDBMzG0otCQ==</wsse:Nonce>
<wsu:Created>2021-11-24T13:26:10.074Z</wsu:Created>
</wsse:UsernameToken>
<wsu:Timestamp wsu:Id="TS-8CBE2EE931C731DF01163776037006591">
<wsu:Created>2021-11-24T13:26:10.064Z</wsu:Created>
<wsu:Expires>2021-11-24T13:31:10.064Z</wsu:Expires>
</wsu:Timestamp>
</wsse:Security>
<mes:RequestContext>
<mes:Id>Test-0001</mes:Id>
<!--1 or more repetitions:-->
<mes:Language>fr</mes:Language>
</mes:RequestContext>
</soapenv:Header>
<soapenv:Body>
<mes:ReadEnterpriseRequest>
<dat:EnterpriseNumber>0415002820</dat:EnterpriseNumber>
</mes:ReadEnterpriseRequest>
</soapenv:Body>
</soapenv:Envelope>
Related categories: JavaScript NoSQL Couch & Mongo HTML5 Node.js AngularJS