|
| Inicio → WINDEV 2024 → Wx21 WebSevices no longer generate if containing Optional Parameters |
| Wx21 WebSevices no longer generate if containing Optional Parameters |
| Iniciado por guest, 13,jun. 2016 07:00 - No hay respuesta |
| |
| | | |
|
| |
| Publicado el 13,junio 2016 - 07:00 |
I cannot get either WD21 or WB21 to successfully generate a WebService if it contains any Procedures that have Optional Parameters.
For example this test Procedure cannot be now turned into a Wx21 WebService:
PROCEDURE AddTwoNumbers(FirstNumber, SecondNumber = 3) nAnswer is int nAnswer = FirstNumber + SecondNumber RESULT nAnswer
The Wx21 WebService generation process stops just prior to making the WSDL with the following error message: "The 'SecondNumber' parameter of the 'AddTwoNumbers' procedure is optional. Make it mandatory in order to generate the WSDL."
Earlier versions of Wx generate the WebService for this Procedure correctly. Wx21 can be forced to generate the WebService correctly, but only if the Optional Parameter of 3 for SecondNumber is removed.
How do I get Procedures with Optional Parameters to generate as Wx21 WebServices? |
| |
| |
| | | |
|
| | | | |
| | |
|