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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content