Consultor Eletrônico



Kbase P115991: Undefined entity when receiving response from WebService
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/16/2008
Status: Unverified

FACT(s) (Environment):

OpenEdge 10.x

SYMPTOM(s):

Error (11773) when calling a Web Service

Using Web Service from 4GL

Error receiving Web Service Response: (11773)

Error receiving Web Service Response: tokenizer exception: undefined entity at line <line-number> and column <column-number> (11773)

Raw XML of the response message contains stray '&' characters not encoded as '&amp;'

CAUSE:

The Web Service is sending an invalid response. Stray '&' characters in XML are invalid if not included in a CDATA section. The stray '&' characters are causing the parser of the XML response message to fail and produce error 11773.

FIX:

Modify the Web Service to replace stray '&' characters with '&amp;'.