Re: WebService, Soap, and Firewall
From: Sami Vaaraniemi (samivanospam_at_pleasejippii.fi)
Date: 10/27/04
- Next message: MattM: "The underlying connection was closed"
- Previous message: Sami Vaaraniemi: "Re: Can a webservice determine that it is called asynchronously?"
- In reply to: Q. John Chen: "WebService, Soap, and Firewall"
- Messages sorted by: [ date ] [ thread ]
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
- Next message: MattM: "The underlying connection was closed"
- Previous message: Sami Vaaraniemi: "Re: Can a webservice determine that it is called asynchronously?"
- In reply to: Q. John Chen: "WebService, Soap, and Firewall"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|