No HTTP Post/Get show in Web Services WSDL.

Ask a Question related to ASP.NET Web Services, Design and Development.

  1. #1

    Default No HTTP Post/Get show in Web Services WSDL.

    Hello all -

    Bear with me during this explanation as I have run myself ragged trying to
    figure this one out. When I compile my web service that I'm distributing to
    be accessed, the WSDL sometimes has the HTTP Post/Get Methods and sometimes
    it does not, only showing the SOAP methods. Has anybody seen this strange
    behavior before as I'm unsure what other options to refer to since I've never
    seen this during my .NET Development that I've done.

    Thanks,
    MN
    MN Guest

  2. Similar Questions and Discussions

    1. Enabling HTTP Post to invoke web services
      I am calling a .Net web service from a traditional ASP page. I am using the ServerXMLHttp object. For example: sWebSvcUrl = "http://.....asmx"...
    2. Web services help (understanding the WSDL)
      The second parameter does not have to be the WSDL if it is registered in the CF admin. I would check the docs around the cfscript CreateObject.
    3. Parsing WSDL and System.Web.Services.Description
      I'm trying to write an application that will parse a WSDL file and extract the method names and parameters at runtime, and am having some problems...
    4. doing an http post
      For the benefit of others, I want to show how to do an HTTP POST request using fsockopen(). I banged my head against a wall for two days trying to...
    5. http://microsoft.com/wsdl/types/
      There is a problem to configure firewall for webservices: I'm using char type as one of my webservice method param. Automatically generated wsdl...
  3. #2

    Default RE: No HTTP Post/Get show in Web Services WSDL.

    Hi MN,

    The automatic documentation generation is typically controlled by entries
    in the web config. The following settings effect what parts of the
    documents are generated.

    <system.web>
    ...
    <webServices>
    <protocols>
    <remove name="HttpPost" />
    <remove name="HttpGet" />
    <remove name=“Documentation” />
    </protocols>
    </webServices>

    The presence of a "remove" directive under protocols will cause a section
    of a document to be omitted.

    I hope this helps

    Dan Rogers
    Microsoft Corporation
    --------------------
    >Thread-Topic: No HTTP Post/Get show in Web Services WSDL.
    >thread-index: AcTQw3SGvyd7jZo1RLOG5bBxiRhRHA==
    >X-WBNR-Posting-Host: 209.116.117.190
    >From: "=?Utf-8?B?TU4=?=" <MN@discussions.microsoft.com>
    >Subject: No HTTP Post/Get show in Web Services WSDL.
    >Date: Mon, 22 Nov 2004 10:45:36 -0800
    >Lines: 11
    >Message-ID: <8A9C3F09-9F20-4D23-BA7F-0659B896ADA7@microsoft.com>
    >MIME-Version: 1.0
    >Content-Type: text/plain;
    > charset="Utf-8"
    >Content-Transfer-Encoding: 7bit
    >X-Newsreader: Microsoft CDO for Windows 2000
    >Content-Class: urn:content-classes:message
    >Importance: normal
    >Priority: normal
    >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
    >Newsgroups: microsoft.public.dotnet.framework.aspnet.webservic es
    >NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
    >Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFT NGXA03.phx.gbl
    >Xref: cpmsftngxa10.phx.gbl
    microsoft.public.dotnet.framework.aspnet.webservic es:26752
    >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservic es
    >
    >Hello all -
    >
    >Bear with me during this explanation as I have run myself ragged trying to
    >figure this one out. When I compile my web service that I'm distributing
    to
    >be accessed, the WSDL sometimes has the HTTP Post/Get Methods and
    sometimes
    >it does not, only showing the SOAP methods. Has anybody seen this strange
    >behavior before as I'm unsure what other options to refer to since I've
    never
    >seen this during my .NET Development that I've done.
    >
    >Thanks,
    >MN
    >
    Dan Rogers Guest

  4. #3

    Default RE: No HTTP Post/Get show in Web Services WSDL.

    Hi Dan -

    Thanks for responding. If I understand your explanation correctly, do I
    just need to add the Get/Post add directives in my web.config before
    compiling and deploying from my local to the target webserver. Do I need to
    adjust anything in the machine.config on my local or webserver at all?

    Thanks,
    MN

    "Dan Rogers" wrote:
    > Hi MN,
    >
    > The automatic documentation generation is typically controlled by entries
    > in the web config. The following settings effect what parts of the
    > documents are generated.
    >
    > <system.web>
    > ...
    > <webServices>
    > <protocols>
    > <remove name="HttpPost" />
    > <remove name="HttpGet" />
    > <remove name=“Documentation” />
    > </protocols>
    > </webServices>
    >
    > The presence of a "remove" directive under protocols will cause a section
    > of a document to be omitted.
    >
    > I hope this helps
    >
    > Dan Rogers
    > Microsoft Corporation
    > --------------------
    > >Thread-Topic: No HTTP Post/Get show in Web Services WSDL.
    > >thread-index: AcTQw3SGvyd7jZo1RLOG5bBxiRhRHA==
    > >X-WBNR-Posting-Host: 209.116.117.190
    > >From: "=?Utf-8?B?TU4=?=" <MN@discussions.microsoft.com>
    > >Subject: No HTTP Post/Get show in Web Services WSDL.
    > >Date: Mon, 22 Nov 2004 10:45:36 -0800
    > >Lines: 11
    > >Message-ID: <8A9C3F09-9F20-4D23-BA7F-0659B896ADA7@microsoft.com>
    > >MIME-Version: 1.0
    > >Content-Type: text/plain;
    > > charset="Utf-8"
    > >Content-Transfer-Encoding: 7bit
    > >X-Newsreader: Microsoft CDO for Windows 2000
    > >Content-Class: urn:content-classes:message
    > >Importance: normal
    > >Priority: normal
    > >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
    > >Newsgroups: microsoft.public.dotnet.framework.aspnet.webservic es
    > >NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
    > >Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFT NGXA03.phx.gbl
    > >Xref: cpmsftngxa10.phx.gbl
    > microsoft.public.dotnet.framework.aspnet.webservic es:26752
    > >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservic es
    > >
    > >Hello all -
    > >
    > >Bear with me during this explanation as I have run myself ragged trying to
    > >figure this one out. When I compile my web service that I'm distributing
    > to
    > >be accessed, the WSDL sometimes has the HTTP Post/Get Methods and
    > sometimes
    > >it does not, only showing the SOAP methods. Has anybody seen this strange
    > >behavior before as I'm unsure what other options to refer to since I've
    > never
    > >seen this during my .NET Development that I've done.
    > >
    > >Thanks,
    > >MN
    > >
    >
    >
    MN Guest

  5. #4

    Default RE: No HTTP Post/Get show in Web Services WSDL.

    Hi MN,

    Typically you don't need to "turn them on" - as this is the default. I
    suspect that there may be something different in the config files on your
    dev and production servers. For instance, one can turn these on or off in
    the web.config "nest", or in machine.config. By "nest" i mean that if a
    vroot has sub-roots, your web.config behavior can be impacted by any config
    from your root back to the top-level root - and then by machine.config.

    I hope this helps

    Dan Rogers
    Microsoft Corporation
    --------------------
    >Thread-Topic: No HTTP Post/Get show in Web Services WSDL.
    >thread-index: AcTQzo2NMD7UHia8SOicGmWrZbv1XA==
    >X-WBNR-Posting-Host: 209.116.117.190
    >From: "=?Utf-8?B?TU4=?=" <MN@discussions.microsoft.com>
    >References: <8A9C3F09-9F20-4D23-BA7F-0659B896ADA7@microsoft.com>
    <me7iyfM0EHA.2544@cpmsftngxa10.phx.gbl>
    >Subject: RE: No HTTP Post/Get show in Web Services WSDL.
    >Date: Mon, 22 Nov 2004 12:05:03 -0800
    >Lines: 77
    >Message-ID: <F241389C-48B2-423E-A43E-DA86FECB6DB6@microsoft.com>
    >MIME-Version: 1.0
    >Content-Type: text/plain;
    > charset="Utf-8"
    >Content-Transfer-Encoding: 8bit
    >X-Newsreader: Microsoft CDO for Windows 2000
    >Content-Class: urn:content-classes:message
    >Importance: normal
    >Priority: normal
    >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
    >Newsgroups: microsoft.public.dotnet.framework.aspnet.webservic es
    >NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
    >Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFT NGXA03.phx.gbl
    >Xref: cpmsftngxa10.phx.gbl
    microsoft.public.dotnet.framework.aspnet.webservic es:26756
    >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservic es
    >
    >Hi Dan -
    >
    >Thanks for responding. If I understand your explanation correctly, do I
    >just need to add the Get/Post add directives in my web.config before
    >compiling and deploying from my local to the target webserver. Do I need
    to
    >adjust anything in the machine.config on my local or webserver at all?
    >
    >Thanks,
    >MN
    >
    >"Dan Rogers" wrote:
    >
    >> Hi MN,
    >>
    >> The automatic documentation generation is typically controlled by
    entries
    >> in the web config. The following settings effect what parts of the
    >> documents are generated.
    >>
    >> <system.web>
    >> ...
    >> <webServices>
    >> <protocols>
    >> <remove name="HttpPost" />
    >> <remove name="HttpGet" />
    >> <remove name=“Documentation” />
    >> </protocols>
    >> </webServices>
    >>
    >> The presence of a "remove" directive under protocols will cause a
    section
    >> of a document to be omitted.
    >>
    >> I hope this helps
    >>
    >> Dan Rogers
    >> Microsoft Corporation
    >> --------------------
    >> >Thread-Topic: No HTTP Post/Get show in Web Services WSDL.
    >> >thread-index: AcTQw3SGvyd7jZo1RLOG5bBxiRhRHA==
    >> >X-WBNR-Posting-Host: 209.116.117.190
    >> >From: "=?Utf-8?B?TU4=?=" <MN@discussions.microsoft.com>
    >> >Subject: No HTTP Post/Get show in Web Services WSDL.
    >> >Date: Mon, 22 Nov 2004 10:45:36 -0800
    >> >Lines: 11
    >> >Message-ID: <8A9C3F09-9F20-4D23-BA7F-0659B896ADA7@microsoft.com>
    >> >MIME-Version: 1.0
    >> >Content-Type: text/plain;
    >> > charset="Utf-8"
    >> >Content-Transfer-Encoding: 7bit
    >> >X-Newsreader: Microsoft CDO for Windows 2000
    >> >Content-Class: urn:content-classes:message
    >> >Importance: normal
    >> >Priority: normal
    >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
    >> >Newsgroups: microsoft.public.dotnet.framework.aspnet.webservic es
    >> >NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
    >> >Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFT NGXA03.phx.gbl
    >> >Xref: cpmsftngxa10.phx.gbl
    >> microsoft.public.dotnet.framework.aspnet.webservic es:26752
    >> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservic es
    >> >
    >> >Hello all -
    >> >
    >> >Bear with me during this explanation as I have run myself ragged trying
    to
    >> >figure this one out. When I compile my web service that I'm
    distributing
    >> to
    >> >be accessed, the WSDL sometimes has the HTTP Post/Get Methods and
    >> sometimes
    >> >it does not, only showing the SOAP methods. Has anybody seen this
    strange
    >> >behavior before as I'm unsure what other options to refer to since I've
    >> never
    >> >seen this during my .NET Development that I've done.
    >> >
    >> >Thanks,
    >> >MN
    >> >
    >>
    >>
    >
    Dan Rogers Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139