Using (insert language) I am able to authenticate, but subsequent calls using other service managers are failing. Why?
Each Oracle Content DB Web Service (Manager), has a unique end-point address. Most programming languages when generating stubs for these Web Services will treat each stub as a separate entity with its own encapsulated session state. However, the stubs must share a common session state (i.e. use the same cookie[s]) for web service calls to Oracle Content DB. The client Java Content DB Development Kit and C# .NET Development Kit automatically handles session management/tracking out-of-the-box through its proxy classes. Raw generated bindings (be it Java, C#, etc) do not. C# sample code is provided below demonstrating explicit setting and sharing of a CookieContainer item (the C# devkit proxy classes take care of this automatically): // C# Example Code: // end-point constants string MGR_FILE = “FileManager”; string MGR_REMOTELOGIN = “RemoteLoginManager”; // connection details string baseWSURL = “http://host:7777/content/ws/”; string username = “matt”; string password = “welcome1”; // cook
Related Questions
- Youve been developing a new technology to be able to provide broadband service that meets peoples growing dependence on broadband. Why did you choose that technology?
- Using (insert language) I am able to authenticate, but subsequent calls using other service managers are failing. Why?
- How will the state be able to afford the debt service to pay off the bonds, given the current budget crisis?