Hello,
I have problem with access to GUS REGON service- it is a polish government database of companies and their registration data.
When I try to access it with SOAP module I receive constant error:
Unknown namespace q1
And I think problem is under WSDL because of
targetNamespace=“http://tempuri.org/”
That’s why according to Make’s official support page I tried walkaround with HTTP module.
When doing it exactly as instruction:
Body type: raw
Content type: application/xml
I receive status code 415 with error:
cannot process the message because the content type “application/xml” was not the expected type 'multipart/related;
So I tried different combination of content types. All of them with the same results- except one:
application/soap+xml
And received status 500.
But that’s still not success.
They are using SOAP protocol- documentation available here- Portal API GUS
Sandbox for testing:
WSDL:
https://wyszukiwarkaregontest.stat.gov.pl/wsBIR/wsdl/UslugaBIRzewnPubl-ver11-test.wsdl
Sevice URL:
https://wyszukiwarkaregontest.stat.gov.pl/wsBIR/UslugaBIRzewnPubl.svc
User key (KluczUzytkownika)
abcde12345abcde12345
How does it work. You need to send request with envelope Zaloguj and you will receive token valid for 60 minutes, 20 characters long.
XML which I used:
<Envelope xmlns="http://www.w3.org/2003/05/soap-envelope">
<Body>
<Zaloguj xmlns="http://CIS/BIR/PUBL/2014/07">
<pKluczUzytkownika>abcde12345abcde12345</pKluczUzytkownika>
</Zaloguj>
</Body>
</Envelope>
And:
<?xml version="1.0"?>
<Envelope xmlns="http://www.w3.org/2003/05/soap-envelope">
<Body>
<Zaloguj xmlns="http://CIS/BIR/PUBL/2014/07">
<pKluczUzytkownika>[string?]</pKluczUzytkownika>
</Zaloguj>
</Body>
</Envelope>
Do you have any ideas what can I try? Or it will be impossible to connect GUS REGON with Make.com?
I don’t have any experience with SOAP. I know that is existed but was using it only for last 6 hours to try different options and XMLs.
Have a great day!