WCF: parameters handled in custom channel not present in generated WSDL.

Posted by vfilby on Stack Overflow See other posts from Stack Overflow or by vfilby
Published on 2010-04-06T18:35:54Z Indexed on 2010/04/06 19:13 UTC
Read the original article Hit count: 318

Filed under:
|
|

I have some special parameters to all my wcf service methods that are handled inside a custom channel and are not exposed in the service method parameter list. This works fine for json/xml endpoints, but the I don't know how to use a SOAP endpoint with this setup because the generated WSDL doesn't include fields that are not in the service call parameter list.

Is there a way I can centralize the handling of the special parameters that apply to all service methods (authentication, locale and other contextual information) and provide a SOAP endpoint that Just Works (tm)?

Hand editing wsdl files is not an option.

© Stack Overflow or respective owner

Related posts about wcf

Related posts about custom-channel