Error while doing SOAP API
New-WebServiceProxy -Uri "https://localhost:8443/wsdl/Cerberus.wsdl" -Class CerberusFtp -Namespace CerberusFtp
New-WebServiceProxy : The underlying connection was closed: An unexpected error occurred on a send.
At line:1 char:1
+ New-WebServiceProxy -Uri "https://localhost:8443/wsdl/Cerberus.wsdl" ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Getting the above error when i try to query wsdl file. Do we have another alternative way to do this? I need to retrieve config details.
+ CategoryInfo : ObjectNotFound: (https://localho...l/Cerberus.wsdl:Uri) [New-WebServiceProxy], WebException
+ FullyQualifiedErrorId : WebException,Microsoft.PowerShell.Commands.NewWebServiceProxy
-
Hello Khirthana!
Sorry that you're running into issues using our SOAP API. Here is a helpful article that should lead you in the right direction, and provide additional details surrounding our use of SOAP API.
You can access the WSDL directly on the Cerberus machine at:
C:\Program Files\Cerberus LLC\Cerberus FTP Server\webadmin\admin\wsdl\Cerberus.wsdlBesides that method, another way would be to get it using https://localhost:8443/wsdl/Cerberus.wsdl not (10001).
Let me know if you have any further troubles!
0 -
Hi Connor,
By creating web service for SOAP API, i was able to get lots of information like certificates and license info. Now, how can I use this for getting the same information? And, i am using port 8443 only.
0 -
Hello Khirthana,
You may be able to get the information you are looking for over SOAP API by using ServerInformation or ServerSummaryStatus. There are another few options under 'ServerInformation' that may assist in getting what you are looking for. Here is a quick link to the reference: Cerberus SOAP API Reference
0 -
Hi Connor,
Thank you for your quick response. The problem I am facing is that i am not able to run the below command to create a SOAP webservice:
New-WebServiceProxy -Uri "https://localhost:8443/wsdl/Cerberus.wsdl"0 -
Hello Khirthana,
Would you be able to open up a support ticket with this information? This may require us to ask for logs, and other details that would be less suitable for sharing over this forum. I will gladly post the resolution here after we have figured it out. You can send us an email at support@cerberusftp.com
0
Please sign in to leave a comment.
Comments
5 comments