Featured post
WCF Custom Header does not Appear in Service -
i wondering if came across issue , has answer or pointer. implemented iclientmessageinspector add header soap message on client. so, inside beforesendrequest call messageheader.createheader. seems work because see message in fiddler header in collection. on service side, have custom authenticationmanager. when service call enters implementation dont see header inserted. have feeling servicemodel stack skipping header during deserialization not sure. also, not sure on how fix if happening. maybe implement equivalent of iclientmessageinspector on service side?
any idea/pointers helpful.
in server-side wcf code, act upon soap header client (inserted iclientmessageinspector), have used implementation of idispatchmessageinspector. in afterreceiverequest() method, use request.headers.findheader() see if expected header present.
- Get link
- X
- Other Apps
Comments
Post a Comment