XML Web Services

Discussion in 'MCAD' started by Guest, Nov 24, 2004.

  1. Guest

    Guest Guest

    To all,

    I have a question on web services. Suppose there's a web
    services named MyWebServices (in localhost/MyWebApp/) and
    it contains a method called WebMethod01. This web method
    will take in a parameter called input01.

    How do you call the web method in a http-post way?


    I don't know what's the correct way to use it in HTTP.....

    Guest, Nov 24, 2004
    1. Advertisements

  2. Guest

    UAError Guest

    http-post buries information in the HTTP Header not in the
    URL. If you are manipulating only the URL, you are actually
    using http-get.

    For your example to work you need to change the following in
    the machine.config files

    <!-- <add name="HttpGet"/> -->

    <add name="HttpGet"/>

    its disabled for security reasons.

    UAError, Nov 24, 2004
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.