in WSO2 publisher, I get error when I import wsdl with basic authentication. Is there any solution? wso2 wsdl validator cannot validate this wsdl file. but it is valid! I guess it has schema in its types that has basic authentication too. Is there any way to import this .wsdl file and soap API to WSO2? I got error when adding wsdl file that have basic Authentication
If the WSDL file is basic auth protected, API Publisher is not able to retrieve the WSDL file. You have following options.
As WSDL file is basic auth protected I recommend to go with option 1 as you only download the file to your local machine and you don't share the file with the others.