JBossWS - Access WSDL secured with security-constraints in web.xml

Solution Unverified - Updated -

Issue

  • I need to have properties for "javax.xml.rpc.security.auth.username" and "javax.xml.rpc.security.auth.password" in the call to factory.createService(wsdlLocation, serviceName, mappingUrl)

The webservice is secured by using security-constraints in web.xml.

  • I need to access a WSDL stored in  remote server that is secured by BASIC authentication.

Environment

  • JBoss Application Platform (EAP) 4.3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.