0

My software use a 'Service Reference', auto generated to deal with a 3party SOAP webservice. The service has a method that return a response with a single string property

This string has some data with ';' separators, include a XML text with business data.

In some responses i note a incomplete response text it always end on a some like this.

um prejuízo ao hospital.&#xd

The &#xd seams br the problem.

Well a try to execute the same method on WCF Test and SoapUI and for my surprise, the response is complete and correct.

Search on the web a found some material about this characters, is a illegal, but not to solve my problem.

Arindam Nayak
  • 7,346
  • 4
  • 32
  • 48
Fabio Avila
  • 41
  • 10

1 Answers1

1

Configure the encoding inside the binding with the "textMessageEncoding" element.

Alexander Leyva Caro
  • 1,183
  • 1
  • 12
  • 21