While adding wsdl in API Proxy, how can provide basic authentication for wsdl

Not applicable

I have SOAP services which has basic authentication, now when I am adding wsdl in API proxy, it is not able to fetch wsdl as I could not find any way to enter authentication credentials. Please let me the way to enable authentication for wsdl.

Thanks

1 2 750
2 REPLIES 2

sarthak
Participant V

I don't know if you can directly add authentication while fetching the WSDL from the wizard.

As an alternative is it possible to fetch the wsdl and store it as a local file and then upload via the wizard ? It might not be ideal but will get the job done.

The other option might be proxy the wsdl url using Apigee. And then use Basic Authentication policy or the Assign Message policy to add the authentication. So when you call the wsdl instead of calling the endpoint directly call the proxy URL. I havn't tried it myself but might be worth a try.

Sarthak

Not applicable

Have tried passing basic auth in URL itself? Related SO Link gives you an idea of how to do the same....

http://stackoverflow.com/questions/2716990/http-basic-authentication-credentials-passed-in-url-and-e...