New Posts New Posts RSS Feed: Web Service Authentication
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Web Service Authentication

 Post Reply Post Reply
Author
Customer View Drop Down
Senior Member
Senior Member
Avatar
User Submitted Questions to Support

Joined: 30-May-2007
Location: United States
Posts: 260
Post Options Post Options   Quote Customer Quote  Post ReplyReply Direct Link To This Post Topic: Web Service Authentication
    Posted: 16-Jul-2007 at 2:19pm
I use a web service data source type which requires a basic authentication, how can I give information to Persistence Manager to use specific credentials to access web methods (user name, password and optionally domain name) ?

I tried to insert markers in ibconfig file but without success

(however no authentication is required to wsdl access)

Back to Top
IdeaBlade View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 30-May-2007
Location: United States
Posts: 353
Post Options Post Options   Quote IdeaBlade Quote  Post ReplyReply Direct Link To This Post Posted: 16-Jul-2007 at 2:19pm

Currently, authentication information can be passed on the WsQuery used to retrieve the entities, and can also be set directly on the SoapHttpClientProtocol object at a customizable interception point.

On the WsQuery - the Settings property will point to a BasicWsQuerySettings object which contains Credentials and SoapHeader properties.  The documentation on the SoapHeader property gives an example of how to use these objects.

You also have the option of implementing a custom IWsProxyInterceptor for more control over this.  It contains BeforeProxyCreate and AfterProxyCreate methods which you can use to control proxy creation.  Check out the documentation on this interface for more information.

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down