on 07-21-2006 1:46 PM
Hi
I have a web service i am hardcoding the username and password to authenticate the web service by bellow code
wdContext.currentRequest_ZCPEX_GET_PAYLOAD_WSD_zcpexGetPayloadElement().modelObject()._setUser("uname");
wdContext.currentRequest_ZCPEX_GET_PAYLOAD_WSD_zcpexGetPayloadElement().modelObject()._setPassword("pass");
i don't want this isted of that i want to use http authentication for that i have changed the authentication property under logical port in security tab but that is not working.
so what could be the options to resolve that option
Thanks in advance
Hi
Try This,
wdContext.currentRequest_ZCPEX_GET_PAYLOAD_WSD_zcpexGetPayloadElement().setUser("user");
wdContext.currentRequest_ZCPEX_GET_PAYLOAD_WSD_zcpexGetPayloadElement().setPassword("Password");
//execute the webservice
Kind Regards
Mukesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.