<?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 Re: Using Microsoft Powershell to perform queries against informix via SOAP\AXL in Management</title>
    <link>https://community.cisco.com/t5/management/using-microsoft-powershell-to-perform-queries-against-informix/m-p/3587728#M2498</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure if this is what you're looking for but have you tried looking at the WSDL that is included in the AXL Toolkit that can be downloaded from the "Application &amp;gt; Plugins" menu in CUCM?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There should be a executeSQLQuery soap request method where you can execute sql queries against the DB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;soapenv:Envelope xmlns:soapenv="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.xmlsoap.org/soap/envelope/" rel="nofollow" target="_blank"&gt;http://schemas.xmlsoap.org/soap/envelope/&lt;/A&gt;&lt;SPAN&gt;" xmlns:ns="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.cisco.com/AXL/API/8.5" rel="nofollow" target="_blank"&gt;http://www.cisco.com/AXL/API/8.5&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;lt;soapenv:Header/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;lt;soapenv:Body&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ns:executeSQLQuery sequence="?"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sql&amp;gt;?&amp;lt;/sql&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/ns:executeSQLQuery&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/soapenv:Body&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/soapenv:Envelope&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Anthony&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jun 2014 06:05:47 GMT</pubDate>
    <dc:creator>antyeung</dc:creator>
    <dc:date>2014-06-05T06:05:47Z</dc:date>
    <item>
      <title>Using Microsoft Powershell to perform queries against informix via SOAP\AXL</title>
      <link>https://community.cisco.com/t5/management/using-microsoft-powershell-to-perform-queries-against-informix/m-p/3587727#M2497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been working to try and run some simple reports against the informix database today on our call manager.&amp;nbsp; I've found alot of information and believe I'm close to my goal, but can't quite connect all the dots yet.&amp;nbsp; I had never heard of AXL and never worked with SOAP before today, so I apologize if this request for help is a little disjointed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm a fairly skilled administrator and scripter, but come from a more Microsoft centric world.&amp;nbsp; And am trying to tie the cisco documentation which is more unix\java related into a Microsoft-centric environment.&amp;nbsp; I'm a relative novice at CCUM, and a complete novice at SOAP and AXL but I think I've found all the pieces I need, and now I just need to push them together into a solution.&amp;nbsp; .&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My goal is to be able to automatically query CUCM and generate some reports on a weekly or monthly basis.&amp;nbsp; Most of my management tools are written in Powershell so I'm trying to stick with that if at all possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the help of this site, and the UCGuerilla site, I was able to construct an AXL request using CURL to return a simple DB query. That command looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;SPAN&gt;curl -k -u admin -H "Content-type: text/xml;" -H "SOAPAction: CUCM:DB ver=8.5" -d @request.xml &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://10.228.54.10:8443/axl/" rel="nofollow" target="_blank"&gt;https://10.228.54.10:8443/axl/&lt;/A&gt;&lt;SPAN&gt; &amp;gt; output.xml&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;With a properly formatted "request.xml" file this command will return any DB query sent to it.&amp;nbsp; I'll need to do some work on the queries I want, but I know I can access the DB this way without any issue.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I'm trying to achieve the same goal but using Powershell native commands to achieve them so I don't have to use Curl unless necessary.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Power-shell provides a command-let object for doing SOAP queries.&amp;nbsp; And I can create a SOAP web service proxy with the following&amp;nbsp; command:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;SPAN&gt;$ControlCenterProxy=New-WebServiceProxy -Uri "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://10.228.54.10:8443/controlcenterservice/services/ControlCenterServicesPort?wsdl" rel="nofollow" target="_blank"&gt;https://10.228.54.10:8443/controlcenterservice/services/ControlCenterServicesPort?wsdl&lt;/A&gt;&lt;SPAN&gt;" -Credential $myCredentials&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;This returns an object called $controlcenterproxy&amp;nbsp; and the methods exposed in the WSDL file can then be invoked by that object. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I have found a list of supported WSDL files\objects at the following site:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/devguide/8_5_1/XML_DevGuide/serviceability.html" rel="nofollow" target="_blank"&gt;http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/devguide/8_5_1/XML_DevGuide/serviceability.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="0" cellspacing="0" style="background: white; border: outset gray 1.0pt; padding: 2.25pt 2.25pt 2.25pt 2.25pt;" width="80%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colspan="2" style="border: none; padding: 2.25pt 2.25pt 2.25pt 2.25pt;"&gt;&lt;P class="ptctablecap" style="margin-top: 10.5pt; margin-bottom: 6.75pt; margin-left: .5in; text-indent: -.5in;"&gt;&lt;STRONG style="color: black; font-size: 9.0pt; font-family: 'Arial','sans-serif';"&gt;Table 4-3 URLs for SOAP Requests Service Definitions&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: inset gray 1.0pt; padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="bottom"&gt;&lt;P&gt;&lt;STRONG style="color: #336666; font-size: 10.5pt; font-family: 'Arial','sans-serif';"&gt;SOAP Request Type&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: inset gray 1.0pt; padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="bottom"&gt;&lt;P&gt;&lt;STRONG style="color: #336666; font-size: 10.5pt; font-family: 'Arial','sans-serif';"&gt;URL for SOAP Requests Service Definition&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: inset gray 1.0pt; padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"&gt;&lt;P class="pb1body1" style="margin-top: .75pt; margin-bottom: 4.5pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;RisPort&lt;BR /&gt; RisPort70&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: inset gray 1.0pt; padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"&gt;&lt;P class="pb1body1" style="margin-top: .75pt; margin-bottom: 4.5pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;&lt;A class="jive-link-external-small" href="https://" rel="nofollow" target="_blank"&gt;https://&lt;/A&gt;&lt;EM&gt;servername&lt;/EM&gt;:8443/realtimeservice/services/RisPort?wsdl&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://" rel="nofollow" target="_blank"&gt;https://&lt;/A&gt;&lt;EM&gt;servername:&lt;/EM&gt;8443/realtimeservice/services/RisPort70?wsdl&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: inset gray 1.0pt; padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"&gt;&lt;P class="pb1body1" style="margin-top: .75pt; margin-bottom: 4.5pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;PerfmonPort&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: inset gray 1.0pt; padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"&gt;&lt;P class="pb1body1" style="margin-top: .75pt; margin-bottom: 4.5pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;&lt;A class="jive-link-external-small" href="https://" rel="nofollow" target="_blank"&gt;https://&lt;/A&gt;&lt;EM&gt;servername&lt;/EM&gt;:8443/perfmonservice/services/PerfmonPort?wsd&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: inset gray 1.0pt; padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"&gt;&lt;P class="pb1body1" style="margin-top: .75pt; margin-bottom: 4.5pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;ControlCenterServices&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: inset gray 1.0pt; padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"&gt;&lt;P class="pb1body1" style="margin-top: .75pt; margin-bottom: 4.5pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;&lt;A class="jive-link-external-small" href="https://" rel="nofollow" target="_blank"&gt;https://&lt;/A&gt;&lt;EM&gt;servername&lt;/EM&gt;:8443/controlcenterservice/services/ControlCenterServicesPort?wsdl&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: inset gray 1.0pt; padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"&gt;&lt;P class="pb1body1" style="margin-top: .75pt; margin-bottom: 4.5pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;LogCollectionService&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: inset gray 1.0pt; padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"&gt;&lt;P class="pb1body1" style="margin-top: .75pt; margin-bottom: 4.5pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;&lt;A class="jive-link-external-small" href="https://" rel="nofollow" target="_blank"&gt;https://&lt;/A&gt;&lt;EM&gt;servername&lt;/EM&gt;:8443/logcollectionservice/services/LogCollectionPort?wsdl&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: inset gray 1.0pt; padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"&gt;&lt;P class="pb1body1" style="margin-top: .75pt; margin-bottom: 4.5pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;CDRonDemand&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: inset gray 1.0pt; padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"&gt;&lt;P class="pb1body1" style="margin-top: .75pt; margin-bottom: 4.5pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;&lt;A class="jive-link-external-small" href="https://" rel="nofollow" target="_blank"&gt;https://&lt;/A&gt;&lt;EM&gt;servername&lt;/EM&gt;:8443/CDRonDemandService/services/CDRonDemand?wsdl&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: inset gray 1.0pt; padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"&gt;&lt;P class="pb1body1" style="margin-top: .75pt; margin-bottom: 4.5pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;DimeGetFile&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: inset gray 1.0pt; padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"&gt;&lt;P class="pb1body1" style="margin-top: .75pt; margin-bottom: 4.5pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;https:/&lt;EM&gt;/servername&lt;/EM&gt;:8443/logcollectionservice/services/DimeGetFileService?wsdl&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: inset gray 1.0pt; padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"&gt;&lt;P class="pb1body1" style="margin-top: .75pt; margin-bottom: 4.5pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;SOAPMonitorService&lt;SUP&gt;&lt;A href="http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/devguide/8_5_1/XML_DevGuide/serviceability.html#wp1053781"&gt;&lt;SPAN style="color: #3366cc;"&gt;1&lt;/SPAN&gt;&lt;/A&gt;&lt;/SUP&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: inset gray 1.0pt; padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"&gt;&lt;P class="pb1body1" style="margin-top: .75pt; margin-bottom: 4.5pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;&lt;A class="jive-link-external-small" href="https://" rel="nofollow" target="_blank"&gt;https://&lt;/A&gt;&lt;EM&gt;servername&lt;/EM&gt;:8443/realtimeservice/services/SOAPMonitorService?wsdl&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I can expose the methods of one of these proxy objects as follows below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;PS C:\Users\Admin_politisb&amp;gt;&lt;STRONG&gt;&lt;EM&gt; $ControlCenterProxy | gm -mem met*&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; TypeName: Microsoft.PowerShell.Commands.NewWebserviceProxy.AutogeneratedTypes.WebServiceProxy15ControlCenterServices&lt;/P&gt;&lt;P&gt;Port_wsdl.ControlCenterServices&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MemberType Definition&lt;/P&gt;&lt;P&gt;----&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ---------- ----------&lt;/P&gt;&lt;P&gt;Abort&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Method&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; void Abort()&lt;/P&gt;&lt;P&gt;BeginGetProductInformationList Method&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.IAsyncResult BeginGetProductInformationList(string ServiceInformati...&lt;/P&gt;&lt;P&gt;BeginsoapDoControlServices&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Method&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.IAsyncResult BeginsoapDoControlServices(Microsoft.PowerShell.Comman...&lt;/P&gt;&lt;P&gt;BeginsoapDoServiceDeployment&amp;nbsp;&amp;nbsp; Method&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.IAsyncResult BeginsoapDoServiceDeployment(Microsoft.PowerShell.Comm...&lt;/P&gt;&lt;P&gt;BeginsoapGetServiceStatus&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Method&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.IAsyncResult BeginsoapGetServiceStatus(string[] GetServiceStatusLis...&lt;/P&gt;&lt;P&gt;BeginsoapGetStaticServiceList&amp;nbsp; Method&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.IAsyncResult BeginsoapGetStaticServiceList(string ServiceInformatio...&lt;/P&gt;&lt;P&gt;CancelAsync&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Method&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; void CancelAsync(System.Object userState)&lt;/P&gt;&lt;P&gt;CreateObjRef&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Method&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.Runtime.Remoting.ObjRef CreateObjRef(type requestedType)&lt;/P&gt;&lt;P&gt;Discover&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Method&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; void Discover()&lt;/P&gt;&lt;P&gt;Dispose&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Method&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; void Dispose(), void IDisposable.Dispose()&lt;/P&gt;&lt;P&gt;EndGetProductInformationList&amp;nbsp;&amp;nbsp; Method&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Microsoft.PowerShell.Commands.NewWebserviceProxy.AutogeneratedTypes.WebSer...&lt;/P&gt;&lt;P&gt;EndsoapDoControlServices&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Method&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Microsoft.PowerShell.Commands.NewWebserviceProxy.AutogeneratedTypes.WebSer...&lt;/P&gt;&lt;P&gt;EndsoapDoServiceDeployment&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Method&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Microsoft.PowerShell.Commands.NewWebserviceProxy.AutogeneratedTypes.WebSer...&lt;/P&gt;&lt;P&gt;EndsoapGetServiceStatus&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Method&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Microsoft.PowerShell.Commands.NewWebserviceProxy.AutogeneratedTypes.WebSer...&lt;/P&gt;&lt;P&gt;EndsoapGetStaticServiceList&amp;nbsp;&amp;nbsp;&amp;nbsp; Method&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Microsoft.PowerShell.Commands.NewWebserviceProxy.AutogeneratedTypes.WebSer...&lt;/P&gt;&lt;P&gt;Equals&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Method&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bool Equals(System.Object obj)&lt;/P&gt;&lt;P&gt;GetHashCode&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Method&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int GetHashCode()&lt;/P&gt;&lt;P&gt;GetLifetimeService&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Method&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.Object GetLifetimeService()&lt;/P&gt;&lt;P&gt;GetProductInformationList&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Method&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Microsoft.PowerShell.Commands.NewWebserviceProxy.AutogeneratedTypes.WebSer...&lt;/P&gt;&lt;P&gt;GetProductInformationListAsync Method&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; void GetProductInformationListAsync(string ServiceInformationResponse), vo...&lt;/P&gt;&lt;P&gt;GetType&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Method&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; type GetType()&lt;/P&gt;&lt;P&gt;InitializeLifetimeService&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Method&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.Object InitializeLifetimeService()&lt;/P&gt;&lt;P&gt;soapDoControlServices&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Method&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Microsoft.PowerShell.Commands.NewWebserviceProxy.AutogeneratedTypes.WebSer...&lt;/P&gt;&lt;P&gt;soapDoControlServicesAsync&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Method&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; void soapDoControlServicesAsync(Microsoft.PowerShell.Commands.NewWebservic...&lt;/P&gt;&lt;P&gt;soapDoServiceDeployment&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Method&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Microsoft.PowerShell.Commands.NewWebserviceProxy.AutogeneratedTypes.WebSer...&lt;/P&gt;&lt;P&gt;soapDoServiceDeploymentAsync&amp;nbsp;&amp;nbsp; Method&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; void soapDoServiceDeploymentAsync(Microsoft.PowerShell.Commands.NewWebserv...&lt;/P&gt;&lt;P&gt;soapGetServiceStatus&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Method&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Microsoft.PowerShell.Commands.NewWebserviceProxy.AutogeneratedTypes.WebSer...&lt;/P&gt;&lt;P&gt;soapGetServiceStatusAsync&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Method&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; void soapGetServiceStatusAsync(string[] GetServiceStatusList), void soapGe...&lt;/P&gt;&lt;P&gt;soapGetStaticServiceList&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Method&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Microsoft.PowerShell.Commands.NewWebserviceProxy.AutogeneratedTypes.WebSer...&lt;/P&gt;&lt;P&gt;soapGetStaticServiceListAsync&amp;nbsp; Method&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; void soapGetStaticServiceListAsync(string ServiceInformationResponse), voi...&lt;/P&gt;&lt;P&gt;ToString&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Method&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; string ToString()&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;What I'm struggling with now though is which one of the objects in the table listed above will expose native SQL against informix?&amp;nbsp; And how do I take a SQL query formatted in my Request.XML file used in Curl and then reformat it to pass it through to these objects?&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I know all the information should be in the WSDL files somewhere, but without combing through alot of data for days, is there a way I can find this more easily?&amp;nbsp; Can someone bump me in the right direction?&amp;nbsp; This is where my SOAP/AXL knowledge is starting to breakdown.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Thank You in advance for your help - Brian &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2014 01:10:07 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/using-microsoft-powershell-to-perform-queries-against-informix/m-p/3587727#M2497</guid>
      <dc:creator>bpolitis1</dc:creator>
      <dc:date>2014-05-30T01:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: Using Microsoft Powershell to perform queries against informix via SOAP\AXL</title>
      <link>https://community.cisco.com/t5/management/using-microsoft-powershell-to-perform-queries-against-informix/m-p/3587728#M2498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure if this is what you're looking for but have you tried looking at the WSDL that is included in the AXL Toolkit that can be downloaded from the "Application &amp;gt; Plugins" menu in CUCM?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There should be a executeSQLQuery soap request method where you can execute sql queries against the DB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;soapenv:Envelope xmlns:soapenv="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.xmlsoap.org/soap/envelope/" rel="nofollow" target="_blank"&gt;http://schemas.xmlsoap.org/soap/envelope/&lt;/A&gt;&lt;SPAN&gt;" xmlns:ns="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.cisco.com/AXL/API/8.5" rel="nofollow" target="_blank"&gt;http://www.cisco.com/AXL/API/8.5&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;lt;soapenv:Header/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;lt;soapenv:Body&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ns:executeSQLQuery sequence="?"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sql&amp;gt;?&amp;lt;/sql&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/ns:executeSQLQuery&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/soapenv:Body&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/soapenv:Envelope&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Anthony&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2014 06:05:47 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/using-microsoft-powershell-to-perform-queries-against-informix/m-p/3587728#M2498</guid>
      <dc:creator>antyeung</dc:creator>
      <dc:date>2014-06-05T06:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Using Microsoft Powershell to perform queries against informix via SOAP\AXL</title>
      <link>https://community.cisco.com/t5/management/using-microsoft-powershell-to-perform-queries-against-informix/m-p/3587729#M2499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately the list of SOAP services you show above is missing the one which provides the functionality you are looking for (executing SQL against the UCM database)!&amp;nbsp; The Administrative XML Layer (AXL) is the interface you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note, this service - and corresponding - WSDL+XSD is multiple orders of magnitude larger than the very small 'serviceability SOAP' interfaces above (like Control Center Service), and if you are only looking to do SQL queries, trying to use a full WSDL consumer/stub-compiler tool-chain (in something as off the beaten track as Powerscript) is probably serious overkill.&amp;nbsp; As shown above, the actual XML that needs to be POSTed to AXL to effect an executeSqlQuery request is simple, and unchanged from request to request except for the actual SQL string - it is likely a lot easier to deal with the request as a simple XML object (or even simpler, as strings to concatenate/manipulate).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A few more notes:&lt;/P&gt;&lt;P&gt;- Re your proxy object for Control Center Service: the core list of operations is basically what is here: &lt;A href="http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/devguide/9_1_1/xmldev-911/serviceability.html#wp1056844" title="http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/devguide/9_1_1/xmldev-911/serviceability.html#wp1056844"&gt;Cisco Unified Communications Manager XML Developers Guide, Release 9.1(1) - Serviceability XML API [Cisco Unified Commun…&lt;/A&gt;.&amp;nbsp; one example being the main request 'soapDoControlServices'.&amp;nbsp;&amp;nbsp; I assume the method of the same name in your proxy is what you would want to use&lt;/P&gt;&lt;P&gt;- There seem to be a set of XXXAsync methods created as adjuncts of the basic (synchronous) requests, e.g. 'soapDoControlServicesAsync'.&amp;nbsp; I believe this provides an alternate method of making the same request, but wrapping it in an automatically generated asynchronous framework.&amp;nbsp; I assume the BeginXXX and EndXXX methods are intended to be used as events back into the application code to signal the start/end of using one of these XXXAsync calls.&lt;/P&gt;&lt;P&gt;- As noted by gcheria above, the WSDL for AXL is not available for direct download from the AXL service (e.g. 'AXLurl?WSDL'), but is provided in a .zip file (with some other tools) as part of the 'AXL SQL Toolkit'.&amp;nbsp; This may throw a curve if you are pursuing the WSDL consumer path, as the WSDL is not available 'live'.&lt;/P&gt;&lt;P&gt;- The proxy object appears to create some default/accessory/miscellaneous methods which are probably generic for any generated SOAP stub, e.g. 'Abort', 'CancelAsync', 'GetLifetimeService'.&amp;nbsp; Not sure what these do (some are probably related to the asynchronous call pattern), but you can probably ignore anything not on the basic list of requests for the service.&lt;/P&gt;&lt;P&gt;- Just quickly searching the web, there seems to be good support for XML manipulation and making HTTP requests in powershell, e.g. &lt;A href="http://www.iislogs.com/steveschofield/execute-a-soap-request-from-powershell" title="http://www.iislogs.com/steveschofield/execute-a-soap-request-from-powershell"&gt;Execute a SOAP request from Powershell - IISLogs.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2014 15:44:48 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/using-microsoft-powershell-to-perform-queries-against-informix/m-p/3587729#M2499</guid>
      <dc:creator>dstaudt</dc:creator>
      <dc:date>2014-06-05T15:44:48Z</dc:date>
    </item>
  </channel>
</rss>

