|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Monday, April 01, 2013 8:45 AM
Points: 47,
Visits: 253
|
|
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
|
|
|
|
|
SSCertifiable
       
Group: General Forum Members
Last Login: Yesterday @ 1:24 PM
Points: 6,826,
Visits: 11,950
|
|
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
Believe you can and you're halfway there. --Theodore Roosevelt
Everything Should Be Made as Simple as Possible, But Not Simpler --Albert Einstein
The significant problems we face cannot be solved at the same level of thinking we were at when we created them. --Albert Einstein
1 apple is not exactly 1/8 of 8 apples. Because there are no absolutely identical apples. --Giordy
|
|
|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Monday, April 01, 2013 8:45 AM
Points: 47,
Visits: 253
|
|
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
|
|
|
|
|
SSCertifiable
       
Group: General Forum Members
Last Login: Yesterday @ 1:24 PM
Points: 6,826,
Visits: 11,950
|
|
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
Believe you can and you're halfway there. --Theodore Roosevelt
Everything Should Be Made as Simple as Possible, But Not Simpler --Albert Einstein
The significant problems we face cannot be solved at the same level of thinking we were at when we created them. --Albert Einstein
1 apple is not exactly 1/8 of 8 apples. Because there are no absolutely identical apples. --Giordy
|
|
|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Monday, April 01, 2013 8:45 AM
Points: 47,
Visits: 253
|
|
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.
|
|
|
|