harald.kirschner [
https://community.jboss.org/people/harald.kirschner] created the
discussion
"Re: wsconsume, how to access HTTP Basic secured WSDL"
To view the discussion, visit:
https://community.jboss.org/message/821864#821864
--------------------------------------------------------------
Hi Jochen,
I solved the problem:
UtilitiesDeviceERPSmartMeterCreateConfirmation_In_Service_Impl stub = new
UtilitiesDeviceERPSmartMeterCreateConfirmation_In_Service_Impl();
UtilitiesDeviceERPSmartMeterCreateConfirmation_In_PortType request =
stub.getUtilitiesDeviceERPSmartMeterCreateConfirmation_BNDG();
BindingProvider bp = (BindingProvider) request;
bp.getRequestContext().put(BindingProvider.USERNAME_PROPERTY, USER);
bp.getRequestContext().put(BindingProvider.PASSWORD_PROPERTY, PASSWORD);
Maybe it helps for you, too.
Regards,
Harald
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/821864#821864]
Start a new discussion in JBoss Web Services at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]