Software AG Products 10.7 | CentraSite for Developers | Importing Objects Using API | Invoking Importer from Java Program | Importing Web Service | Importing Web Service from URL
 
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);