PowerShell example to consume webservices.

Welcome Forums General PowerShell Q&A PowerShell example to consume webservices.

Viewing 2 reply threads
  • Author
    Posts
    • #239798
      Participant
      Topics: 1
      Replies: 1
      Points: 13
      Rank: Member

      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

       

       

       

    • #239807
      Participant
      Topics: 13
      Replies: 1753
      Points: 3,136
      Helping Hand
      Rank: Community Hero

      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.

    • #239819
      Participant
      Topics: 1
      Replies: 1
      Points: 13
      Rank: Member

      Thanks Rob.

Viewing 2 reply threads
  • You must be logged in to reply to this topic.