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

python - Why doesn't list have safe "get" method like dictionary? -

razor - Is this a bug in WebMatrix PageData? -

sql server - Stored procedure -