Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
452 views
in Technique[技术] by (71.8m points)

c# - Error in deserializing body of request message for operation

I'm writing a service Adapter to use web services hosted by an another vendor (Pega). Changing this service is not an option for me. When I'm calling a method I get the error :

"Error in deserializing body of request message for operation"

I tried increasing maxStringContentLength and all. Nothing worked.
When examining the response XML I see empty values for few long and int variables I believe this is the reason.

Is there is any fix for this?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

This got resolved after removing empty tags from the service end. No solution found from .Net client end.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...