Adding Preemptive Basic Auth to Web Service Client [message #998317] |
Wed, 09 January 2013 19:50 |
Joe Nigro Messages: 1 Registered: January 2013 |
Junior Member |
|
|
I have a web service that I want to consume that requires a username and password. It does not prompt you for the u/p. In SOAPUI 4.5 it is very easy to go to the Auth tab for the web service , choose auth type: premeptive, add the username and password and run the service. I have generated a web service client for this service using Eclipse WTP but I cannot figure out what code to add and where in order to provide this same u/p that works in Soapui. I am fairly new so be specific please (does the code go in the servicebindingstub, serviceporttype, serviceporttypeproxy, and what method ? _init, etc., include imports pls. The wtp client works but returns a error code stating that the username and password are missing. If there is a way to externalize this in the descriptor that would be great also.
|
|
|
Powered by
FUDForum. Page generated in 0.03369 seconds