X
  • ADF
    February 8, 2011

HTTP Basic Auth Protected Services using Web Service Data Control

With Oracle JDeveloper 11g (11.1.1.4.0) one can now create Web Service Data Control for services which are protected with HTTP Basic Authentication.
So when you provide such a service to the Data Control Wizard, a dialog pops up prompting you to entry the authentication details:

WSDCHTTPAuthDialog.jpg


After you give the details, you can proceed with the creation of Data Control.
Once the Data Control is created, you can use the WSDC Tester to quickly test the service.In this case, since the service is protected, we need to first edit the connection to provide username details:

EditWSDCConn.jpg



Enter the authentication details against username and password.

EditWSDCConnDialog.jpg


Once done, select DataControl.dcx and using the context menu, select 'Run'.

StartTesterDialog.jpg



This will bring up the Tester.On the Tester, select the Service Node and using context menu pick 'Operations'. This will bring up the methods which you can test:

WSDCTesterDialogWithOps.jpg


Now you can pick a method, provide the input parameters and hit execute to see the results.

WSDCTesterDialogWithOpsExecute.jpg



Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.