Consultor Eletrônico



Kbase P158065: An output DATASET-HANDLE parameter always includes an inline schema of the ProDataSet when the AppSe
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   31/12/2009
Status: Unverified

SYMPTOM(s):

An output DATASET-HANDLE parameter always includes an inline schema of the ProDataSet

Calling an AppServer procedure with an output DATASET-HANDLE parameter through the Native ESB Adapter

Calling an AppServer procedure with an output DATASET-HANDLE parameter through the Web Services Adapter

Getting a different XML response from a dynamic ProDataSet compared to a static ProDataSet

With a dynamic ProDataSet (DATASET-HANDLE) output parameter both the inline schema definition of the ProDataSet and the data are sent

With a static ProDataSet output parameter only the data is sent

FACT(s) (Environment):

OpenEdge 10.1x
OpenEdge 10.2x
All Supported Operating Systems

CAUSE:

This is expected behavior. In the online-help for "DEFINE PARAMETER" it states the following in the Notes section:
"If the parameter is OUTPUT DATASET-HANDLE, the called routine sends back the definition behind the handle along with the contents of the output ProDataSet object."

FIX:

Manually remove the inline schema. For example this can be done by applying an XML Transformation step that removes the inline schema from the XML document.