while trying to pull / push a cert from vTM using SOAP , we are facing errors.
$ curl -X GET -k -H 'Content-Type: application/xml' -H 'Authorization: Basic YWRtaW46U3VwM3JjQHQ=' -i 'https://x.x.x.x:9090/soap'
HTTP/1.1 411 Length Required
Date: Wed, 29 Aug 2018 09:33:18 GMT
X-xss-protection: 1; mode=block
<html><head><title>Error 411 Length Required
</title></head><body bgcolor="#ffffff"><h2>Error 411 Length Required
</h2><p><i>Powered by <a href="http://errors.zeus.com/">Zeus Technology</a></i></p></body></html>
$ curl -X GET -k -H 'Content-Type: application/xml' -H 'Authorization: Basic YWRtaW46U3VwM3JjQHQ=' -H 'content-length: 1000' -i 'https://x.x.x.x:9090/soap'
$ curl -X GET -k -H 'Content-Type: application/xml' -H 'Authorization: Basic YWRtaW46U3VwM3JjQHQ=' -H 'content-length: 10' -i 'https://x.x.x.x:9090/soap'
NO RESPONSE WAITING FOR A LONG
Hello there, did you manage to resolve this? We looked at this and wondered if you had tried the examples in the SOAP and REST user guides.
In the SOAP/Control API user guide, we use examples with perl and SOAP::Lite, but we don't use curl/BASH in the user guide for SOAP.
You might have more success using the REST API user guide, which will be easier to use with curl and GET from a script.
We tried the solutions available on the forum but nothing help as these URLs contains in the wsdl file does not return expected response. We are expecting XML response from that url and so wsdl will be complete and further soap call would be possible either from Perl script or python script.
Can you take a look at the examples listed in the SOAP API user guide on page 9
There are some simple examples here using Perl, which should be much easier to test.
If you are using a different version of the user guide, send me the URL and I will take a look. All the user guides are available from here: