Home > Archive > SQL Anywhere database > August 2005 > ASA 9.0.2 and web services









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author ASA 9.0.2 and web services
JR

2005-08-22, 11:23 am

Hi,

I know that ASA9 allows for consumption of web services, and I have used
those successfully in simple cases.
I now need to call a HTTPS:POST service and then stream some information
over the connection (not using variables) before the response gets returned.
Is there anything I can do inside the stored procedure that will let me do
that?
Thanks in advance.

JR


Shuchit

2005-08-22, 1:23 pm

"JR" <jr@jr.com> wrote in news:4309e49c$1@foru
ms-2-dub:

> I know that ASA9 allows for consumption of web services, and I have
> used
> those successfully in simple cases.
> I now need to call a HTTPS:POST service and then stream some
> information
> over the connection (not using variables) before the response gets
> returned. Is there anything I can do inside the stored procedure that
> will let me do that?
> Thanks in advance.



Maybe I am mis-understanding your question, but..

You could call a different stored procedure(s) to do the Http POST and return
the resultset to your procedure so that it can process it and then output
whatever it needs to.


Shuchit
Mark Culp

2005-08-22, 1:23 pm

ASA 9.0.2 can consume external web services

Take a look in the manual
ASA SQL Reference
SQL Statements
CREATE PROCEDURE statement
and look under syntax 3. Just specify HTTPS://rest-of-url
for your url.

But to use HTTPS in 9.0.2, you need to purchase the security add-on.
--
Mark Culp
SQLAnywhere Research and Development
-------------------------------------------------------------------------
** Whitepapers, TechDocs, bug fixes are all available through the **
** iAnywhere Developer Community at http://www.ianywhere.com/developer **
-------------------------------------------------------------------------

JR wrote:
>
> Hi,
>
> I know that ASA9 allows for consumption of web services, and I have used
> those successfully in simple cases.
> I now need to call a HTTPS:POST service and then stream some information
> over the connection (not using variables) before the response gets returned.
> Is there anything I can do inside the stored procedure that will let me do
> that?
> Thanks in advance.
>
> JR

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com