Friday, April 6, 2012

Change Password (cont.)

We’ve already compiled our application, we need now to expose the Change Password method via web services.
Right Click on your main class and select “Create Web Service”
p4
Select the default
p5
Click Next
p6
Click Next twice and make sure that the changePassword is selectable and select Finish.
p7
Let’s now deploy the web service to the Weblogic server.
Right Click on the project and click deploy –>Application Server
p8
Click + to add a connection to the Weblogic server
p9
p10
p11
p12
p13
Log into Weblogic em and make sure that your web service was deployed successfully (you can also look at the JDEV log)
p14
Login to the OBIEE portal and create a new action “Invoke Web Service”
p16
And plug in the WSDL
p17
and click open
p18
This opens up a new dialog box, enter the following values for the prompts:
· Username
· Old Password
· New Password
-Confirm Password
For the Username prompt value, select under the drop down “Session Variable”, type in USER and mark it as hidden.
p19
Select the “Options” tab and personalize the messages
p20
Click on the “Action Results” tab and enter the parameters
p22
Save the action.
p23
You can test it by running the action
p24
p25
p26

a+
Fiston