Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

question about New-WebServiceProxy over https in powershell 3.x

$
0
0

Good Day!

Can someone please help me find an answer on 'How to get the response from the Remedy ARS webservice over https in powershell 3.x' ?

One of the ways I've tried is to have the webservice object created with the below step and I see the below errror.

New-WebServiceProxy : The HTML document does not contain Web service discovery information.

At line:2 char:9

+ $myitsm=New-WebServiceProxy -Uri $uri -Namespace ITSM

............

............

 

What is happenning is that the Remedy ARS system is feeding/responding with a Logon Page and the new-webservice cmdlet doesn't find any WSDL in there. So fails to proceed.

Here is how I tried which works for http(Dev) but not for https(Prod).

 $ARSuri=https://coreweb.itsm.env.srv.yourcompany.com.au/arsys/WSDL/protected/coreapp.itsm.env.srv.yourcompany.com.au/HPD_IncidentInterface_WS'

 $myitsm=New-WebServiceProxy -Uri$ARSuri-NamespaceITSM

 

What's the best way ? 

Let me know if I need to provide any further info.

Thanks in advance.


Viewing all articles
Browse latest Browse all 6937

Trending Articles