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. Advertisements

  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. Advertisements

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. craig dicker
    Replies:
    9
    Views:
    936
    Juan T. Llibre
    Jul 7, 2005
  2. Replies:
    0
    Views:
    472
  3. arnuld
    Replies:
    6
    Views:
    829
    arnuld
    Sep 5, 2007
  4. Carlo Razzeto

    Webservices with raw post data

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

    question about webservices and "post"ing data

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

    , Feb 15, 2006, in forum: ASP .Net Web Services
    Replies:
    2
    Views:
    206
  7. Replies:
    2
    Views:
    217
    jkf35
    Apr 25, 2006
  8. Francis
    Replies:
    1
    Views:
    767
    Patrice
    Jun 30, 2004
Loading...