Hi All, Is google-form, the user fills in the fields on it and presses the button, which is formed by the json object, and call my web service in SA 12.0.1 which that the json-object should be transferred. This JS-method code that calls the service at Sybase SA 12.0.1
The URL parameter is passed a reference to the web-service http://xxx.xxx.xxx.xxx:yyyy/TestBase/wsTest1 formObject is google-form. This is the code from the database:
The parameter should come cXML json-object, but why it does not come. That is, the web-service call and subsequent call dba.WebTest1 happening, but why it cXML null value (NULL) comes. |
In the Help you can read that the Parameters to a service can be Host Variables. Specifies a command, such as a stored procedure call, to invoke when the service is accessed. In a typical web service application, you use statement to call a function or procedure. You can pass host variables as parameters to access client-supplied HTTP variables. You should use the HTTP_BODY function to get the POST Data. HTH Many thanks for the tip, HTTP_BODY() returns the value of transmitted json-object. But still not clear why the cXML comes NULL ?
(03 Mar '17, 13:29)
Stalker
|