Consultor Eletrônico



Kbase P48942: Trying to call the web service fails with error 10937
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/22/2003
Status: Unverified

FACT(s) (Environment):

OpenEdge 10.0A

SYMPTOM(s):

Trying to call the web service fails with error 10937

The :<Param_name> parameter was not of type decimal (10937)

Web Service called from the Apache PHP script

Parameter specified in the error message defined as 'decimal' data type in the
WSDL contract file

PHP client's SOAP envelope contained parameter of the 'float' data type

CAUSE:

PHP SOAP implementation constructed the envelop that wrongly used 'float'
instead of the required 'decimal' data type for used parameter.

FIX:

Change the PHP code so that each parameter corresponds with its data type
as specified in the WSDL contract file.