[jboss-user] [JBossWS] - Basic authentication in a JBossWS web service client

magnus.ahlander do-not-reply at jboss.com
Wed Mar 14 17:59:04 EDT 2007


I'm using JBossWS 1.2 (JAX-WS 2.0) to access a web service, which requires http basic authentication. In the JBoss JAX-WS user guide I didn't find any example of how to provide username/password in a JBossWS web service client.

In the JBossWS forum I found the following custom solution:

http://www.jboss.com/index.html?module=bb&op=viewtopic&t=94504

It basically adds a new annotation CallProperties, the content of which is then added to the endpoint metadata when processed by the JSR181ClientMetaDataBuilder and JSR181MetaDataBuilder classes.

Which is the proposed way of adding http basic authentication in a JBossWS client?

Regards,
Magnus


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4028177#4028177

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4028177



More information about the jboss-user mailing list