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

  • 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

  • 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

  • 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

  • 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

  • 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.

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply