Getting the dreaded 407 proxy authentication error when using webserviceproxy in Powershell Studio 2012. The way around this for powershell.exe and powershell_ise.exe is modify the powershell.exe.config and and or powershell_ise.exe.config to include
How can this be done for Powershell Studio?
New-WebServiceProxy
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
New-WebServiceProxy
Sorry, text did now show up. You need to add
defaultProxy useDefaultCredentials="true"
in the config files.
defaultProxy useDefaultCredentials="true"
in the config files.
New-WebServiceProxy
PowerShell Studio doesn't have a config file. If you are running scripts within PowerShell Studio then you will need to modify the script driver config files:
C:Program Files (x86)Common FilesSAPIEN Debugger 2012
Though, we typically we don't recommend altering the config files.
David
C:Program Files (x86)Common FilesSAPIEN Debugger 2012
Though, we typically we don't recommend altering the config files.
David
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
New-WebServiceProxy
Thanks David. I really would like to find a better way, but the webserviceproxy object offers no mechanism to configure a proxy so this is the only way I have figured out how to access a webservice on the other side of the proxy.