Forum Discussion
deepesh_jain
15 years agoFrequent Contributor
Hi,
I don't think you need to pass the username and password like that. If there is data power or similar authentication involved at header level, there are two ways to accompalish the authentication.
1. When you select the SOAP Request, the left bottom pane displays the properties associated with the request. You can set the username, password and WSS-Password Type from there.
2. The same thing can be achieved if you double click your project and then navigate to WS Security Configuration. Click on + icon on the left top corner of this pane and create a new security config. Name it something like "config1" or something. On the same screen but now selecting the bottom pane, click + icon again and choose "UserName". Once again fill the user name and password details. You can now apply the "config1" by opening your soap request and click "AUT" tab at bottom. From the outgoing WSS drop down, select the config that you just created.
Hope this helps.
I don't think you need to pass the username and password like that. If there is data power or similar authentication involved at header level, there are two ways to accompalish the authentication.
1. When you select the SOAP Request, the left bottom pane displays the properties associated with the request. You can set the username, password and WSS-Password Type from there.
2. The same thing can be achieved if you double click your project and then navigate to WS Security Configuration. Click on + icon on the left top corner of this pane and create a new security config. Name it something like "config1" or something. On the same screen but now selecting the bottom pane, click + icon again and choose "UserName". Once again fill the user name and password details. You can now apply the "config1" by opening your soap request and click "AUT" tab at bottom. From the outgoing WSS drop down, select the config that you just created.
Hope this helps.