c# - WCF client forgets XML declaration -


i have written wcf client sharepoint queryservice.

in word, writes correctly-formed soap query. when executed, http request "forgets" xml declaration before soap envelope. queryservice not that.

how can force wcf client start request with:

<?xml version="1.0"> 

this duplicate (although other web service) wcf client not include xml declaration in http post message .

it seems need implement custom encoder. see link above more information.


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -