PowerShell example to consume webservices.

Hi,

I am looking for some example to consume a secure web service. I need to Authenticate SOAP web service and pass the token to other methods. Any help will be greatly appreciated.

Thanks

Jack

 

 

 

Look at Invoke-WebRequest or Invoke-RestMethod. The documentation of the web service should explain if it wants the token in the header or url, but review the examples in the above as well as forums for the commands.

Thanks Rob.