Somebody solved it? I'm trying send request from postman and soapui. Both of them are failed.
My postman curl:
curl --location 'https://uslugaterytws1test.stat.gov.pl/TerytWs1.svc' \
--header 'Content-Type: text/xml' \
--header 'Authorization: Basic VGVzdFB1YmxpY3pueToxMjM0YWJjZA==' \
--data '<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ter="http://terytws1.stat.gov.pl/">
<soapenv:Header/>
<soapenv:Body>
<ter:CzyZalogowany/>
</soapenv:Body>
</soapenv:Envelope>'
My response:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" xmlns:a="http://www.w3.org/2005/08/addressing">
<s:Header>
<a:Action s:mustUnderstand="1">http://www.w3.org/2005/08/addressing/soap/fault</a:Action>
</s:Header>
<s:Body>
<s:Fault>
<faultcode xmlns:a="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">a:InvalidSecurity</faultcode>
<faultstring xml:lang="en-US">An error occurred when verifying security for the message.</faultstring>
</s:Fault>
</s:Body>
</s:Envelope>