Web Service
From: Jonathan Eggert via DotNetMonster.com (forum_at_DotNetMonster.com)
Date: 03/17/05
- Next message: Jonathan Eggert via DotNetMonster.com: "Re: Overloading WebMethods"
- Previous message: Brock Allen: "Re: How to mantain the state between 2 call of the same WebService?"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 17 Mar 2005 17:45:43 GMT
Two questions:
(1) Has anyone worked extensively with ServiceDescriptionImporter? I want
to generate proxies on the fly in my client application which consumes the
web service.
There is a property ServiceDescriptionImporter.PrptocolName which according
to MSDN documentation:
http://msdn.microsoft.com/library/default.asp?url=/library/en-
us/cpref/html/frlrfsystemwebservicesdescriptionservicedescriptionimporterclassprotocolnametopic.asp
is used for specifying which protocol to import. Most of the time it will
be SOAP (also the default I believe if nothing is specified) but I want to
build a proxy for HTTP Post. I have tried using values other than SOAP
(POST and HttpPost) but it just returns error messages:
Protocol with name 'HttpPost' is not recognized. Parameter name:
protocolName
Does anyone know how to accomplish what I am doing?
(2) I know that I can just name the input fields on a normal HTML form to
match my web service method parameters and change the form action to point
to the service. However, in this case, the values being sent are complex
types (binary) so I couldn't find a way to make this work without an
intermediary step (such as calling a proxy which does the conversion to
base-64 before POSTing).
I admit that my knowledge is limited in web services, so I appreciate the
guidance.
-- Message posted via http://www.dotnetmonster.com
- Next message: Jonathan Eggert via DotNetMonster.com: "Re: Overloading WebMethods"
- Previous message: Brock Allen: "Re: How to mantain the state between 2 call of the same WebService?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|