cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP API endpoints not working for PS vTM

New Contributor

SOAP API endpoints not working for PS vTM

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
Server: Zeus/18_1
Date: Wed, 29 Aug 2018 09:33:18 GMT
Connection: close
X-xss-protection: 1; mode=block
X-frame-options: SAMEORIGIN
Content-Type: text/html
X-Generate-Error: 411

<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'

^C
 $ 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

3 REPLIES
Community Manager

Re: SOAP API endpoints not working for PS vTM

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.

 

Highlighted
New Contributor

Re: SOAP API endpoints not working for PS vTM

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.

Community Manager

Re: SOAP API endpoints not working for PS vTM

Can you take a look at the examples listed in the SOAP API user guide on page 9

https://www.pulsesecure.net/download/techpubs/current/1342/Pulse-vADC-Solutions/Pulse-Virtual-Traffi...

 

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: 

https://www.pulsesecure.net/techpubs/Pulse-vADC-Solutions

 

 

P, ...