Re: WebService, Soap, and Firewall

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Sami Vaaraniemi (samivanospam_at_pleasejippii.fi)
Date: 10/27/04


Date: Wed, 27 Oct 2004 11:10:06 +0300

I'm not sure if this solves your problem, but I think it's worth trying. You
can tell the Web Service to not require a SOAPAction header, and instead
route the message to the correct web method based on the request element
within the Soap body. You do this by attaching
[SoapDocumentService(RoutingStyle=SoapServiceRoutingStyle.RequestElement)]
attribute to the web service (see
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwebsrv/html/howwebmeth.asp).

Regards,
Sami

"Q. John Chen" <qjchen@email.com> wrote in message
news:98456896.0410262144.167eea50@posting.google.com...
> All,
>
> I have a WebService created in .NET.
> I have VB6 Client consume the WebService (using Soap ToolKit 3.0)
>
> But I have couple user who got error accessing the WebServer with
> error message "Unable to handle request without a valid parameter ..."
> After hours of research, my conclusion is that the firewall treat
> "SOAPAction" as unknow header and blocked it.
>
> So, I am thinking do away with the SOAP and use HTTP POST. Here are
> some questions:
>
> 1. Can I still use the Web Reference and somewhere set a property
> using HTTP POST other than SOAP? I don't think so. The way I figured
> is to use HttpWebRequest/Response to get the response back in XML
> format and then parse out the result.
>
> 2. The WebMethods I created using reference data type so it will
> return multiple value with one single call. Can do the same with HTTP
> POST? And How?
>
> TIA.
>
> John



Relevant Pages

  • Re: Does WSDL.exes protocol parameter actually allow http post?
    ... > wsdl.exe to create a web service proxy to use the http post protocol, ... > as though I had posted from a html page (as opposed to via the SOAP ... According to WSDL.exe documentation and the WSDL 1.1 spec, ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Does WSDL.exes protocol parameter actually allow http post?
    ... wsdl.exe to create a web service proxy to use the http post protocol, ... as though I had posted from a html page (as opposed to via the SOAP ...
    (microsoft.public.dotnet.framework.webservices)
  • RE: Web service test page uses internal port
    ... HTTP GET or HTTP POST). ... Customize the Generated Web Service Test Page ... Microsoft MSDN Online Support Lead ... Web service test page uses internal port ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Enable HTTP GET
    ... Now I tested it on my development environment, and I get SOAP and HTTP POST. ... When I access the web service from outside, ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • problems with http post
    ... I am trying to invoke a web service from an ASP.net page using the WebRequest ... object to an HTTP post. ... objResponseSource = Nothing ...
    (microsoft.public.dotnet.framework.webservices)