"leandroal" wrote : Do you say something like this:
|
| Map<String, Object> requestContext =
((BindingProvider)serviceSoap).getRequestContext();
| requestContext.put(BindingProvider.USERNAME_PROPERTY, "xxx");
| requestContext.put(BindingProvider.PASSWORD_PROPERTY, "yyy");
|
| If yes, I did and it doesn't work.
|
| When I run wsconsumer against the wsdl, it generated the UsernameToken java class and
I can instantiate it:
|
| UsernameToken usernameToken = new UsernameToken();
| usernameToken.setUsername("xxx");
| usernameToken.setPassword("yyyy");
|
| But how to add this object into the SOAP Header?
|
| Thanks,
| Leandro.
|
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111084#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...