Connecting to Oracle via Web Services

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jeff

    Connecting to Oracle via Web Services

    Has anyone had any success connecting to an Oracle database from a web
    service? We have some Oracle code that works fine when ran directy (i.e.
    referencing the DLL directly instead of a web service). However, when we
    call the same method from a web service the "Open" fails.

    Anyone have any ideas?

    --- Thanks, Jeff


  • AlexB

    #2
    Connecting to Oracle via Web Services

    I use oracle all the time in my ASP.NET applications. I
    use the OracleClient, which you can download from
    Microsoft's OleDB site. I've never used it with a
    webservice but I can't imagine why it wouldn't work.

    Good luck.
    [color=blue]
    >-----Original Message-----
    >Has anyone had any success connecting to an Oracle[/color]
    database from a web[color=blue]
    >service? We have some Oracle code that works fine when[/color]
    ran directy (i.e.[color=blue]
    >referencing the DLL directly instead of a web service).[/color]
    However, when we[color=blue]
    >call the same method from a web service the "Open" fails.
    >
    >Anyone have any ideas?
    >
    > --- Thanks, Jeff
    >
    >
    >.
    >[/color]

    Comment

    • Jeff

      #3
      Re: Connecting to Oracle via Web Services

      > I use oracle all the time in my ASP.NET applications. I[color=blue]
      > use the OracleClient, which you can download from
      > Microsoft's OleDB site. I've never used it with a
      > webservice but I can't imagine why it wouldn't work.[/color]

      We are using the Oracle Client as well. I was able to solve the problem
      based on a suggestion from another post (in the CSharp newsgroup). I added
      an impersonation account and configured the "<identity> " tag to read the
      encrypted logon credentials from the registry. This resolved the issue.
      I'm still not sure why Oracle required this step and MS SQL Server did not
      but I'm happy to have it working.

      --- Thanks, Jeff


      Comment

      Working...