Publishing a WSDL service that requires username/password (HTTP BasicAuth) to retrieve the WSDL

john.crupi
john.crupi's picture
User offline. Last seen 1 day 22 hours ago. Offline
Joined: 09/19/2008
Points: 139

Some WSDLs sit behind the firewall and require username/password to retrieve it. Presto does not yet support entering a username/password when publishing a service.

Therefore, the easiest way to accomplish this is to manually login, get the WSDL and download it locally. Then you can make a subdirectory in the Tomcat webapps directory, say webapps/ACME and copy the wsdl there.

Say you named it acme.wsdl. To publish it in Presto, you would use http://localhost:8080/ACME/acme.wsdl

Presto doesn't attempt to call the service at publication time, so even if the soap:address is unreachable, you'll be ok.

4
Your rating: None Average: 4 (2 votes)
makesh
User offline. Last seen 3 years 13 weeks ago. Offline
Joined: 10/02/2008
Points: 0

Hi

Is there a plan to bring this functionality within Presto ? Most of the existing services within enterprise tend to have some kind of authentication requirement.

Thanks
Makesh

ekivemark
ekivemark's picture
User offline. Last seen 1 year 9 weeks ago. Offline
Joined: 10/14/2008
Points: 22

We have WSDL's in Systinet. We can therefore access these.

The challenge I have is that the web service calls themselves appear to use basic authentication.

Is it possible to write a macro that can wrap the basic authentication userid and password around a WSDL call.

I am very new to writing mashups!

 

 Mark Scrimshire

t: @ekivemark

b: ekive.blogspot.com

Karthic Thope
Karthic Thope's picture
User offline. Last seen 8 weeks 2 days ago. Offline
Joined: 09/22/2008
Points: 61

Yes, definitely. The next release will have support for accessing secure WSDLs. Initial plans are to support HTTP basic auth and NTLM.