Ulf Dittmer wrote:I repeat: Basic Authentication is not used with WS-Security. Let's wait for Amandeep to clarify what he meant by that.
Amandeep Singh wrote:Basically I was looking, when using basic authentication how does the soap header looked like.
Basically I was looking, when using basic authentication how does the soap header looked like.
Your request header will contain an element as follow "Authorization: Basic bHdzc3J2MXQ6bHdzQGszeTE="
WS-Security info and the Basic Auth info are independent of one another. When using Basic Auth, the username/password is on the HTTP headers, not in the SOAP (which is in the HTTP body). Therefore, the SOAP is the same, whether you use Basic Auth or not.
Amandeep Singh wrote:I've been using wsse security. And username and password, could be specified as part of soap header.
Now since now i will be using basic authentication, how the SOAP header is going to look like? I'm using JAX-WS from JBoss.