Consultor Eletrônico



Kbase P114953: Error 11786 when calling a Web Service operation from an OpenEdge client.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   19/12/2006
Status: Unverified

FACT(s) (Environment):

OpenEdge 10.1A
Web Services

SYMPTOM(s):

Error 11786 when calling a Web Service operation from an OpenEdge client.

Unable to convert 4GL data type INTEGER to XML type INT (11786)

Unable to convert 4GL data type LONGCHAR to XML type anyType (11786)

Unable to convert to convert 4GL data type character to XML type string. (11786)

CAUSE:

The data type of the parameter or the data within the parameter which is being sent is not correct for the corresponding Web Service.

FIX:

Run the WSDL Analyzer (bprowsdldoc) against the Web Service to get the proper parameter data type to use for the OpenEdge client.
For example you cannot send an XML document to a Web Service which is expecting an XML string, you would need to use entity references ("&lt;" and "&gt;") for all "<" and ">" characters.