Ask a Question related to ASP.NET Web Services, Design and Development.
-
MN #1
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
-
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"... -
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. -
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... -
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... -
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... -
Dan Rogers #2
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
--------------------microsoft.public.dotnet.framework.aspnet.webservic es:26752>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.gblto>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 distributingsometimes>be accessed, the WSDL sometimes has the HTTP Post/Get Methods andnever>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>seen this during my .NET Development that I've done.
>
>Thanks,
>MN
>Dan Rogers Guest
-
MN #3
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
> --------------------> microsoft.public.dotnet.framework.aspnet.webservic es:26752> >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> to> >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> sometimes> >be accessed, the WSDL sometimes has the HTTP Post/Get Methods and> never> >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>> >seen this during my .NET Development that I've done.
> >
> >Thanks,
> >MN
> >
>MN Guest
-
Dan Rogers #4
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
--------------------<me7iyfM0EHA.2544@cpmsftngxa10.phx.gbl>>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>microsoft.public.dotnet.framework.aspnet.webservic es:26756>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.gblto>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 needentries>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 bysection>> 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 ato>> of a document to be omitted.
>>
>> I hope this helps
>>
>> Dan Rogers
>> Microsoft Corporation
>> -------------------->> microsoft.public.dotnet.framework.aspnet.webservic es:26752>> >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>> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservic es
>> >
>> >Hello all -
>> >
>> >Bear with me during this explanation as I have run myself ragged tryingdistributing>> >figure this one out. When I compile my web service that I'mstrange>> to>> sometimes>> >be accessed, the WSDL sometimes has the HTTP Post/Get Methods and>> >it does not, only showing the SOAP methods. Has anybody seen this>>> never>> >behavior before as I'm unsure what other options to refer to since I've>>>> >seen this during my .NET Development that I've done.
>> >
>> >Thanks,
>> >MN
>> >
>>Dan Rogers Guest



Reply With Quote

