Powershell and SOAP web services with header

Welcome Forums General PowerShell Q&A Powershell and SOAP web services with header

This topic contains 0 replies, has 1 voice, and was last updated by  Forums Archives 7 years ago.

  • Author
  • #5964

    Points: 0
    Rank: Member

    by alextt at 2012-11-22 02:22:40


    This is my first post and here is my problem. I'm trying to download file from SOAP web service usign Powershell scripts but I'm not sure if that is possible. Would that work with System.Net.WebClient or Invoke-WebRequest? Any help is appriciated. Below is the example of header I need to pass to service.

    < ?xml version=\"1.0\" encoding=\"utf-8\"?>


    by MattG at 2012-11-22 05:57:22

    If what you're trying to do is interact with a REST-based web service, I think what you may be looking for is Invoke-RestMethod.

The topic ‘Powershell and SOAP web services with header’ is closed to new replies.