Powershell Invoke-WebRequest to Post SOAP Messages

Version 1
    This document was generated from CDN thread

    Created by: Randy Jackson on 19-11-2013 03:28:32 PM
    I'm attempting to write some powershell scripts that will execute/POST sever SOAP actions I've created to my CUCM 8.6 server. However I am not familiar what headers I need to include to ensure the command executes successfully. I can use SOAP UI and make the calls just fine, but it is obviously using a content-type or SOAPAction in it's POST request and I do not know how to duplicate that in the Powersehell command.

    If anyone is familiar with this method, please post anything you have done to get this working. THanks.

    Subject: RE: Powershell Invoke-WebRequest to Post SOAP Messages
    Replied by: Sascha Monteiro on 01-12-2013 08:48:54 PM
    check the cookbook