Consultor Eletrônico



Kbase P121469: Invoking Web Service from .Net client fails with SoapException stating there is an invalid character
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   1/5/2007
Status: Unverified

FACT(s) (Environment):

OpenEdge 10.1B

SYMPTOM(s):

Invoking Web Service from .Net client

[Fatal Error] :1:327: Character reference "&#x3" is an invalid XML character.

System.Web.Services.Protocols.SoapException

Error in SOAP Envelope: parsing error: org.xml.sax.SAXParseException: Character reference "&#x3" is an invalid XML character.

CAUSE:

Application code was trying to use CHR(3) (.Net \x0003) as a delimiter in a character string that was being passed to the Web Service. This is not a valid character in an XML document.

FIX:

Modify the application code so that some character other than CHR(3) (.Net \x0003) is used