[jboss-user] [JBossWS] - how to define jboss-web.xml service-ref wsdl-override https

work_registries@web.de do-not-reply at jboss.com
Tue Jul 28 05:09:26 EDT 2009

I inject a webservice into .war via web.xml service-ref element plus a service-ref element in WEB-INF/jboss-web.xml with an wsdl-override url.

  | <service-ref>
  |   <service-ref-name>service/myws</service-ref-name>
  |   <wsdl-override>https://myws.example.com/services/myws/wsdl/myws.wsdl</wsdl-override>
  | </service-ref>

the wsdl-override url is https protocol.
Reading the referenced wsdl file works if the server certificate is added to the global javax.net.ssl.truststore, or if http protocol is used.

Is there a way inject/define a JaasSecurityDomain bean using a special keystore to be used for accessing the wsdl url (and NOT using global javax.net.ssl.truststore)?
(similar to define a JaasSecurityDomain for DomainSocketFactory, or HTTPS tomcat connector)

Futhermore, can the same JaasSecurityDomain be used when the webservice is consumed (probably by WSSE settings)?

I guess the first has nothing to do with WSSE as parsing/resolving jboss-web.xml service-ref happens before any WSSE settings are applied.

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

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

More information about the jboss-user mailing list