I am trying to clean up my code a bit and im trying to make a class of sort to be called with other functions. Here is the code:Function Invoke-SoapRequest {
param(
[parameter(Mandatory)]$Body,
[parameter(Mandatory)]$MethodName
...
So I am recieving a weird error with no real information to why it is failing when i try to addPhone. Have any of ya seen an error similar to this? Here is the script below and i attached the logs. It seems when I run an addPhone request it is return...
I have been working a pretty simple PowerShell script to retrieve phone data on a given device. I thought this was going to be simple but I have been hitting allot of errors when I try to run this script. if ($null -eq $cred ){ Get-Credential}Functio...
Hey Stephan, So im going off the schema reference 12.5 from cisco. From what I read on the versioning there shouldnt be any changes from 10.5 to 12.5. Unless, I am incorrect on this. I did as you advise and im still recieving the same error and to an...
So now I am recieving a different error message entirely. I am getting an Undeclated namespace prefix "soapenv". I was able to to use [System.Net.ServicePointManager]::ServerCertificateValidationCallback = {$true} ;and that seemed to fix the untrus...
So after doing more testing I found it is a problem is within the devnet environment. I made some changes to my original script to look like this:$headers = New-Object "System.Collections.Generic.Dictionary[[String],[String]]"$headers.Add("SOAPAction...
Hey Stephan, Thanks for your input with your suggestion I am getting a a different http 500 error "The server encountered an internal error that prevented it from fulfilling this request." I am using Soap UI to build the request and it is working as ...