Windows Vista Forums

Calling Web Services Using SOAP

  1. #1


    Eef Guest

    Calling Web Services Using SOAP

    I have a lot of XML testfiles that can be sent to a webservice by using a
    VBScript. This script wraps the XML in an SOAP envelope and sends it to the
    webservice.

    I want to do migrate my VBScripts to PowerShell but can't get it to work.
    I've searched the Internet for examples, but without success. I don't want
    (need?) to generate Proxies (the most examples I found) but just want to send
    my XML by using SOAP messages.

    Any help, suggestions or examples are very welcome!

      My System SpecsSystem Spec

  2. #2


    Bob Landau Guest

    RE: Calling Web Services Using SOAP

    Use this as your search target "SOAP Powershell"

    One of the first two hits I came up contained two different methods

    1) Requires Visaul Studio but very easy

    http://keithhill.spaces.live.com/blo...3A97!512.entry

    2) BYOP (build your own proxy) more difficult but much of the work is done
    for you for at least for simple web service proxies

    http://www.nivot.org/2007/08/07/NewI...owerShell.aspx

    I've not tried either however both of these people are very accomplished
    Powershell programmers.

    Having said that if you do have Visual Studio with all the features it has
    to consume, code, debug and use web services I would take that approach.

    bob


    "Eef" wrote:

    > I have a lot of XML testfiles that can be sent to a webservice by using a
    > VBScript. This script wraps the XML in an SOAP envelope and sends it to the
    > webservice.
    >
    > I want to do migrate my VBScripts to PowerShell but can't get it to work.
    > I've searched the Internet for examples, but without success. I don't want
    > (need?) to generate Proxies (the most examples I found) but just want to send
    > my XML by using SOAP messages.
    >
    > Any help, suggestions or examples are very welcome!

      My System SpecsSystem Spec

  3. #3


    PaulChavez Guest

    RE: Calling Web Services Using SOAP

    If you're setting up the SOAP messages yourself, you could just use
    System.Net.Webclient to send them to the service.

    Paul


    "Eef" wrote:

    > I have a lot of XML testfiles that can be sent to a webservice by using a
    > VBScript. This script wraps the XML in an SOAP envelope and sends it to the
    > webservice.
    >
    > I want to do migrate my VBScripts to PowerShell but can't get it to work.
    > I've searched the Internet for examples, but without success. I don't want
    > (need?) to generate Proxies (the most examples I found) but just want to send
    > my XML by using SOAP messages.
    >
    > Any help, suggestions or examples are very welcome!

      My System SpecsSystem Spec

Calling Web Services Using SOAP

Similar Threads
Thread Forum
Soap 4.0 Toolkit
Am running Vista Home Premium and just noticed that Soap 4.0 Toolkit is listed under installed programs. Is this a necessary Application? I search...
Software
SOAP workaround
I have an new thrid-party application that requires the installation of the SOAP toolkit. Since I'm running Vista Emterprise, that's a little...
Vista General
calling Sharepoint services using powershell
PowerShell
Custom SOAP headers
I'm trying to modify my soap headers before making a call to a web service. I am using an IClientMessageInspector class and adding a single header...
Indigo
SOAP webclient
Greetings all, I am new to the world of SOAP but have a little understanding of psh and, to a lesser extent, dotnet. I'm a little lost as to...
PowerShell
SOAP security negotiation
Hi misters, I'm a newbie to WCF and I am trying to run an application web that calls to a service WCF and I am having a bit of trouble. The client...
Indigo
Can a pre-existing SOAP tail wag the WCF dog?
I'm trying to map Zimbra's existing SOAP API to WCF. It's not working out too well. Here's an edited sample of the SOAP requests that I would...
Indigo