Importing Web Service from URL
If a WSDL has to be accessed from a protected URL, you can specify its credentials by using a separate constructor of WebServiceRegistrator.
Example:
WebServiceRegistrator wsr = new WebServiceRegistrator(wsdlURL,
jaxr, null, wsdlAccessUser, wsdlAccessPassword);