PAVITRA
PAVITRA

Reputation: 861

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?

Upvotes: 4

Views: 23830

Answers (2)

sasha_gud
sasha_gud

Reputation: 1735

I solved this issue by changing format of one of request parameters. Date was passed as a text and service was unable to parse provided date format.

Not sure why service expected date as a string though, but this was out of scope that time.

Upvotes: 0

PAVITRA
PAVITRA

Reputation: 861

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

Upvotes: 1

Related Questions