Webservices - POST and GET do not work

Discussion in 'ASP .Net Web Services' started by Mark Wiewel, Apr 30, 2004.

  1. Mark Wiewel

    Mark Wiewel Guest

    Hi there,

    I wrote a simple Webservice, which works fine on my local(!) machine. I can
    send data to this service via SOAP, GET and POST.

    When transfering this service to another webserver, only SOAP seems to be
    available. POST and GET do not show up in the WDSL file.

    What's that? Any ideas?

    Thanks a lot in advance,
    Mark
    Mark Wiewel, Apr 30, 2004
    #1
    1. Advertising

  2. Mark Wiewel

    Mark Wiewel Guest

    "Mark Wiewel" <> schrieb im Newsbeitrag
    news:c6t10b$fvof9$-berlin.de...
    > I wrote a simple Webservice, which works fine on my local(!) machine. I

    can
    > send data to this service via SOAP, GET and POST.
    >
    > When transfering this service to another webserver, only SOAP seems to be
    > available. POST and GET do not show up in the WDSL file.
    >
    > What's that? Any ideas?


    I found the answer by myself:

    You need to add the following lines to your web.config:

    <webServices>

    <protocols>
    <add name="HttpGet"/>
    <add name="HttpPost"/>
    </protocols>

    </webServices>

    Otherwise GET and POST just work on the local machine only!

    Cheers,
    Mark
    Mark Wiewel, Apr 30, 2004
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    0
    Views:
    407
  2. Carlo Razzeto

    Webservices with raw post data

    Carlo Razzeto, Nov 30, 2005, in forum: ASP .Net Web Services
    Replies:
    1
    Views:
    487
  3. Chris

    question about webservices and "post"ing data

    Chris, Dec 5, 2005, in forum: ASP .Net Web Services
    Replies:
    1
    Views:
    106
  4. WebServices and straight XML POST

    , Feb 15, 2006, in forum: ASP .Net Web Services
    Replies:
    2
    Views:
    139
  5. Replies:
    2
    Views:
    152
    jkf35
    Apr 25, 2006
Loading...

Share This Page