Consultor Eletrônico



Kbase P132712: Error 10926 when accessing a Web Service
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   2/11/2009
Status: Verified

SYMPTOM(s):

Error 10926 when accessing a Web Service

Error in SOAP request execution: (10926)

Error in SOAP request execution: java.math.BigDecimal.<init>(I)V (10926)

ABL program accessed as Web Service

ABL program returns temp-table containing decimal fields

FACT(s) (Environment):

OpenEdge 10.1C
All Supported Operating Systems

CAUSE:

The Java Servlet Engine being used is running under Java 1.4. The ABL program exposed as a Web Service by using ProxyGen is compiled using Java 1.5. Java 1.5 has a constructor for the java.math.BigDecimal class which accepts an integer value as a parameter. Java 1.4 has no such constructor and consequently when such a call is made under Java 1.4 the exception noted above is generated.

FIX:

Upgrade the Java Servlet Engine being used so that it uses Java 1.5 rather than Java 1.4.