title: How to find WSDL interface for a SOAP API? -PowerShell
body: <p>This question is, hopefully, fairly simple.</p>
  
  <p>I have a Web service that I'm querying, <code>https://myip:8443/AXL</code>, in this case the application in question is a CUCM server. I know it provides a SOAP API for querying and I'm trying to use <code>new-webserviceproxy</code> to connect to it. </p>
  
  <p>Unfortunately WSDL and SOAP are a little opaque to me. I'm relatively confident that the problem is that I'm trying to connect to the wrong uri but at this point I don't know enough to understand what I'm doing wrong.</p>
  
  <p>Here's my command:</p>
  
  <p><code>New-WebServiceProxy -Uri https://myip:8443/axl?WSDL -Credential ($AXLCred)</code></p>
  
  <p>it returns the following error:</p>
  
  <p><code>New-WebServiceProxy : The request failed with HTTP status 401: Unauthorized.</code></p>
  
  <p>just in case you're concerned my credentials are the problem the following command works fine:</p>
  
  <p><code>Invoke-WebRequest -Uri https://myip:8443/axl/ -Credential ($AXLCred)</code></p>