<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic how to call GetPassword on CCP using SOAP only in Secrets Management</title>
    <link>https://live.paloaltonetworks.com/t5/secrets-management/how-to-call-getpassword-on-ccp-using-soap-only/m-p/1365399#M1158</link>
    <description>&lt;P&gt;I am trying to access the GetPassword using SOAP from postman on my CCP server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my postman code in HTTP&lt;/P&gt;&lt;P&gt;============================&lt;/P&gt;&lt;CODE&gt;POST /AIMWebService/V1.1/AIM.asmx?op=GetPassword HTTP/1.1
Host: 192.168.3.204
Content-Type: text/xml
SOAPAction: http://192.168.3.204/AIMWebService/V1.1/AIM.asmx?op=GetPassword
User-Agent: PostmanRuntime/7.17.1
Accept: */*
Cache-Control: no-cache
Postman-Token: 254fac07-20a5-4812-9fc9-3d79ff90dab5,3595b208-c558-4842-9531-cb55c117d935
Host: 192.168.3.204
Accept-Encoding: gzip, deflate
Content-Length: 667
Connection: keep-alive
cache-control: no-cache
&amp;nbsp;
 &amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;
&amp;lt;soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"&amp;gt;
 &amp;lt;soap:Body&amp;gt;
  &amp;lt;GetPassword xmlns="http://192.168.3.204/AIMWebService/V1.1/AIM.asmx"&amp;gt;
   &amp;lt;passwordWSRequest&amp;gt;
    &amp;lt;AppID&amp;gt;AIMWebService&amp;lt;/AppID&amp;gt;
    &amp;lt;Safe&amp;gt;VaultInternal&amp;lt;/Safe&amp;gt;
    &amp;lt;Folder&amp;gt;Root&amp;lt;/Folder&amp;gt;
    &amp;lt;Object&amp;gt;activedirectory.ubusha.demo.pass&amp;lt;/Object&amp;gt;
    &amp;lt;UserName&amp;gt;bindaccount&amp;lt;/UserName&amp;gt;
    &amp;lt;ConnectionTimeout&amp;gt;120&amp;lt;/ConnectionTimeout&amp;gt;
   &amp;lt;/passwordWSRequest&amp;gt;
  &amp;lt;/GetPassword&amp;gt;
 &amp;lt;/soap:Body&amp;gt;
&amp;lt;/soap:Envelope&amp;gt;
 &lt;/CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the error I am getting in Postman when I run the above&lt;/P&gt;&lt;P&gt;====================================================&lt;/P&gt;&lt;CODE&gt;soap:ClientSystem.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: http://192.168.3.204/AIMWebService/V1.1/AIM.asmx?op=GetPassword. at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest() at System.Web.Services.Protocols.SoapServerProtocol.Initialize() at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean&amp;amp; abortProcessing)
&amp;nbsp;
 &lt;/CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is me using the CP on the same server as proof that my APPID and safes are setup correctly&lt;/P&gt;&lt;P&gt;==================================================================================&lt;/P&gt;&lt;CODE&gt;PS C:\Program Files (x86)\CyberArk\ApplicationPasswordSdk&amp;gt; .\CLIPasswordSDK.exe GetPassword /p AppDescs.AppID=AIMWebServ
&amp;nbsp;
ice /p Query="Safe=VaultInternal;Folder=Root;Object=activedirectory.ubusha.demo.pass" /o Password
&amp;nbsp;
Password123!
&amp;nbsp;
PS C:\Program Files (x86)\CyberArk\ApplicationPasswordSdk&amp;gt;&lt;/CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 10 Oct 2019 12:28:47 GMT</pubDate>
    <dc:creator>CyberArkAlumni</dc:creator>
    <dc:date>2019-10-10T12:28:47Z</dc:date>
    <item>
      <title>how to call GetPassword on CCP using SOAP only</title>
      <link>https://live.paloaltonetworks.com/t5/secrets-management/how-to-call-getpassword-on-ccp-using-soap-only/m-p/1365399#M1158</link>
      <description>&lt;P&gt;I am trying to access the GetPassword using SOAP from postman on my CCP server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my postman code in HTTP&lt;/P&gt;&lt;P&gt;============================&lt;/P&gt;&lt;CODE&gt;POST /AIMWebService/V1.1/AIM.asmx?op=GetPassword HTTP/1.1
Host: 192.168.3.204
Content-Type: text/xml
SOAPAction: http://192.168.3.204/AIMWebService/V1.1/AIM.asmx?op=GetPassword
User-Agent: PostmanRuntime/7.17.1
Accept: */*
Cache-Control: no-cache
Postman-Token: 254fac07-20a5-4812-9fc9-3d79ff90dab5,3595b208-c558-4842-9531-cb55c117d935
Host: 192.168.3.204
Accept-Encoding: gzip, deflate
Content-Length: 667
Connection: keep-alive
cache-control: no-cache
&amp;nbsp;
 &amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;
&amp;lt;soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"&amp;gt;
 &amp;lt;soap:Body&amp;gt;
  &amp;lt;GetPassword xmlns="http://192.168.3.204/AIMWebService/V1.1/AIM.asmx"&amp;gt;
   &amp;lt;passwordWSRequest&amp;gt;
    &amp;lt;AppID&amp;gt;AIMWebService&amp;lt;/AppID&amp;gt;
    &amp;lt;Safe&amp;gt;VaultInternal&amp;lt;/Safe&amp;gt;
    &amp;lt;Folder&amp;gt;Root&amp;lt;/Folder&amp;gt;
    &amp;lt;Object&amp;gt;activedirectory.ubusha.demo.pass&amp;lt;/Object&amp;gt;
    &amp;lt;UserName&amp;gt;bindaccount&amp;lt;/UserName&amp;gt;
    &amp;lt;ConnectionTimeout&amp;gt;120&amp;lt;/ConnectionTimeout&amp;gt;
   &amp;lt;/passwordWSRequest&amp;gt;
  &amp;lt;/GetPassword&amp;gt;
 &amp;lt;/soap:Body&amp;gt;
&amp;lt;/soap:Envelope&amp;gt;
 &lt;/CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the error I am getting in Postman when I run the above&lt;/P&gt;&lt;P&gt;====================================================&lt;/P&gt;&lt;CODE&gt;soap:ClientSystem.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: http://192.168.3.204/AIMWebService/V1.1/AIM.asmx?op=GetPassword. at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest() at System.Web.Services.Protocols.SoapServerProtocol.Initialize() at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean&amp;amp; abortProcessing)
&amp;nbsp;
 &lt;/CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is me using the CP on the same server as proof that my APPID and safes are setup correctly&lt;/P&gt;&lt;P&gt;==================================================================================&lt;/P&gt;&lt;CODE&gt;PS C:\Program Files (x86)\CyberArk\ApplicationPasswordSdk&amp;gt; .\CLIPasswordSDK.exe GetPassword /p AppDescs.AppID=AIMWebServ
&amp;nbsp;
ice /p Query="Safe=VaultInternal;Folder=Root;Object=activedirectory.ubusha.demo.pass" /o Password
&amp;nbsp;
Password123!
&amp;nbsp;
PS C:\Program Files (x86)\CyberArk\ApplicationPasswordSdk&amp;gt;&lt;/CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2019 12:28:47 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/secrets-management/how-to-call-getpassword-on-ccp-using-soap-only/m-p/1365399#M1158</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2019-10-10T12:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to call GetPassword on CCP using SOAP only</title>
      <link>https://live.paloaltonetworks.com/t5/secrets-management/how-to-call-getpassword-on-ccp-using-soap-only/m-p/1365400#M1159</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Field_Content_versions_oct20__0682J000007eBkHQAU.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/76156i51A7580385F7D0D3/image-size/large?v=v2&amp;amp;px=999" role="button" title="Field_Content_versions_oct20__0682J000007eBkHQAU.png" alt="Field_Content_versions_oct20__0682J000007eBkHQAU.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;CODE&gt;POST /AIMWebService/V1.1/AIM.asmx?WSDL HTTP/1.1
Host: 192.168.3.204
Content-Type: text/xml
User-Agent: PostmanRuntime/7.17.1
Accept: */*
Cache-Control: no-cache
Postman-Token: 5bebb958-bfdd-4996-9dd9-f37f626c4a5b,196b1b09-ff07-4c43-be81-4dee7a565456
Host: 192.168.3.204
Accept-Encoding: gzip, deflate
Content-Length: 497
Connection: keep-alive
cache-control: no-cache
&amp;nbsp;
&amp;lt;Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"&amp;gt;
    &amp;lt;Body&amp;gt;
        &amp;lt;GetPassword xmlns="https://tempuri.org/"&amp;gt;
            &amp;lt;!-- Optional --&amp;gt;
            &amp;lt;passwordWSRequest&amp;gt;
				&amp;lt;AppID&amp;gt;AIMWebService&amp;lt;/AppID&amp;gt;
				&amp;lt;Safe&amp;gt;VaultInternal&amp;lt;/Safe&amp;gt;
				&amp;lt;Folder&amp;gt;Root&amp;lt;/Folder&amp;gt;
				&amp;lt;Object&amp;gt;activedirectory.ubusha.demo.pass&amp;lt;/Object&amp;gt;
				&amp;lt;UserName&amp;gt;bindaccount&amp;lt;/UserName&amp;gt;
				&amp;lt;ConnectionTimeout&amp;gt;120&amp;lt;/ConnectionTimeout&amp;gt;
			&amp;lt;/passwordWSRequest&amp;gt;
        &amp;lt;/GetPassword&amp;gt;
    &amp;lt;/Body&amp;gt;
&amp;lt;/Envelope&amp;gt;&lt;/CODE&gt;&lt;P&gt;Cannot tell you how happy I am right now XD&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2019 12:34:24 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/secrets-management/how-to-call-getpassword-on-ccp-using-soap-only/m-p/1365400#M1159</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2019-10-11T12:34:24Z</dc:date>
    </item>
  </channel>
</rss>

