dbTalk Databases Forums  

UNIX External Function - with gSOAP

sybase.public.sqlanywhere.general sybase.public.sqlanywhere.general


Discuss UNIX External Function - with gSOAP in the sybase.public.sqlanywhere.general forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
David DeRam
 
Posts: n/a

Default UNIX External Function - with gSOAP - 10-05-2009 , 10:51 AM






I've got a shared library in Ubuntu 7.1.0 that uses gSOAP to make a soap
call to a remote server. I am able to call this shared object directly from
a C program and the soap call is a success. Everything looks good.

I'd like to call that shared object from a Sybase 9.0.2.2452 database as an
external function. I've established connectivity with the shared object from
the database server. The calling parameters and return code look good as
long as there are no gSOAP calls. Any time I add the gSOAP functionality I
either get.

"Could not load dynamic library" SQLCODE = -620
or
"Communication error" SQLCODE = -85
(the communication error causes the sybase server to stop)

The presence of any gSOAP calls will cause the problem...even if the gSOAP
call is not in the function that is being called by Sybase.

Since I can get the call working correctly from outside the context of the
database server I was hoping that somebody will have some ideas how to get
it working as an external function. Are there path considerations when
calling from the server or possibly a need to compile the shared object
differently?

Thank you for any help or suggestions.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.