[jboss-user] [JBoss Web Services] - Re: wsconsume, how to access HTTP Basic secured WSDL

harald.kirschner do-not-reply at jboss.com
Fri Jun 7 02:14:49 EDT 2013


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&containerType=14&container=2044]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130607/456cf262/attachment.html 


More information about the jboss-user mailing list