SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


call Java web service from SQL server 2005 store procedure and get response from web service in...


call Java web service from SQL server 2005 store procedure and get response from web service in store procedure

Author
Message
nithiyanandam-447806
nithiyanandam-447806
SSC Veteran
SSC Veteran (249 reputation)SSC Veteran (249 reputation)SSC Veteran (249 reputation)SSC Veteran (249 reputation)SSC Veteran (249 reputation)SSC Veteran (249 reputation)SSC Veteran (249 reputation)SSC Veteran (249 reputation)

Group: General Forum Members
Points: 249 Visits: 292
Dear All,

How to call Java web service from SQL server 2005 store procedure and get response from web service in store procedure.
Is it possible to Without "CLR" method ?


using the OA features, i got the "<h2>AXIS error</h2> <p>No service is available at this URL</p> "


Please help me....

Thanks in advance.

Nithiyanandam.S
Orlando Colamatteo
Orlando Colamatteo
SSC-Forever
SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)

Group: General Forum Members
Points: 40154 Visits: 14413
To access a Java web service you would have to use SQLCLR but why would you want to do that from inside your database engine? What are you trying to do with this web service that absolutely must be done inside the database?

__________________________________________________________________________________________________
There are no special teachers of virtue, because virtue is taught by the whole community. --Plato
nithiyanandam-447806
nithiyanandam-447806
SSC Veteran
SSC Veteran (249 reputation)SSC Veteran (249 reputation)SSC Veteran (249 reputation)SSC Veteran (249 reputation)SSC Veteran (249 reputation)SSC Veteran (249 reputation)SSC Veteran (249 reputation)SSC Veteran (249 reputation)

Group: General Forum Members
Points: 249 Visits: 292
one applicationA is directly calling my procedure for giving data to applicationB.

inside of the proc,
I need to call the Java webservice and get data from applicationC.
It returns some data in XML format, then I inserted the data to temp table and compare that data to my own application data.
then finally I need to send the data to applicationB through applicationA.

Already we got success for the above scenario for .net webservices.
so we are trying this method.

we got the following msg for using Java webservice.
"<h2>AXIS error</h2> <p>No service is available at this URL</p> "

Thanks,
Nithiyanandam.S
Orlando Colamatteo
Orlando Colamatteo
SSC-Forever
SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)

Group: General Forum Members
Points: 40154 Visits: 14413
A better option would be to call the web service from your application code and submit the resulting XML to the stored procedure for further use and inspection, i.e. do not call web services from within the database engine.

__________________________________________________________________________________________________
There are no special teachers of virtue, because virtue is taught by the whole community. --Plato
nithiyanandam-447806
nithiyanandam-447806
SSC Veteran
SSC Veteran (249 reputation)SSC Veteran (249 reputation)SSC Veteran (249 reputation)SSC Veteran (249 reputation)SSC Veteran (249 reputation)SSC Veteran (249 reputation)SSC Veteran (249 reputation)SSC Veteran (249 reputation)

Group: General Forum Members
Points: 249 Visits: 292
Thanks for your reply.
we have no option for go to appliction code.
The main application, they call only my stored proc not application code.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search