Consultor Eletrônico



Kbase P103847: RPC/Literal Web Service returning large string into LONGCHAR variable performs poorly
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   19/09/2005
Status: Unverified

FACT(s) (Environment):

OpenEdge 10.0B

SYMPTOM(s):

Calling Web Service from the 4GL

Web Service is using RPC/Literal encoding

Web Service returns large XML string as a LONGCHAR data type

Web Service consumes 100% of the CPU when returning the data in the LONGCHAR variable

The time it takes for the Web Service call to return is exponential to the size of the XML data being returned in the LONGCHAR variable

CAUSE:

Bug# 20050503-006

CAUSE:

When processing a complex data value, a tremendous number of string copy operations are done due to the need to append string values to an array that was too short.

FIX:

Upgrade to 10.0B03 or later