WebServiceClient - unable to read wsdl file from location

I am trying to access a behind the firewall webservice using the following wsdl URL:

http://bwq.moen.com:8020/sap/bc/srt/wsd … client=010

When I try to open the Operation Name dialog, I get an error which isn’t very descriptive:

‘Unable to read wsdl file from location’. I would like to know why is it that it is not able to read the URL if I am able to successfully test this WSDL URL using SOAPUI.

Can someone please help?

Hi there,

Well, there should be at least the “Details >>” button on the “Unable to read WSDL file” error dialog (see attached screenshot err.png).
err.png
There you could hopefully see more descriptive message. This is from Clover version 3.3.M1, maybe you have older one? (By the way, the error message on the picture is caused by entering misspelled WSDL URL, therefore the server replied with something which is not an XML (WSDL), therefore this error message.)

There should be another way how to get to the error message – redirection of standard and error output of the Clover Designer into a file. You can do this (on Windows) with command like this one:

CloverETLDesigner.exe > clover.log 2>&1

executed in directory where you have the Clover Designer installed. Once the Designer is started, try to edit the Operation name of your WebServiceClient as usual. This action should add new line into the clover.log file like this:

Retrieving document at 'http://wsf.cdyne.com/WeatherWS/Weather.asmx?WSDLa'.

and possibly also an error message, e.g.:

[Fatal Error] Weather.asmx?WSDLa:59:19: The element type "br" must be terminated by the matching end-tag "</br>".

Since you write your WS is behind firewall, maybe you need to access the WSDL using a proxy server. This would normally be done by entering WSDL URL in special format into the WebServiceClient, e.g.:

http:(proxy://10.10.10.10:3128)//bwq.moen.com:8020/sap/bc/srt/wsdl/bndg_4FD8D8B8D2015CE9E10000000A0D1C01/wsdl11/allinone/ws_policy/document?sap-client=010

where 10.10.10.10 and 3128 are IP address and port, respectively, of the proxy server. But unfortunately this does not work in current release, it will be fixed in version 3.3.M3. But this isn’t probably your case, because this bug doesn’t result in the “Unable to read WSDL file” error dialog; it just silently fails.

Regards,
Tom

Thanks Tom,
My Clover designer version is 3.2.1. I tried your suggestion of redirecting the logs to clover.log file, which worked, but I don’t see any errors in the file related to the wsdl at all. I am attaching the file here. Any other suggestions?
Thanks,
Sana

Would you mind to test your webservice with our latest milestone release 3-3-M2? Some improvements were done there. Another bunch of fixes are sitting in our 3-3-M3, which is going to be released in few weeks.

Thanks, Martin

Hmm, there are no error printouts in the log in version 3.2.1 indeed (neither the “Details >>” button).

Maybe the HTTP Connector component could be useful for finding out what’s happening. You can try downloading the WSDL using the HTTP Connector; just put your URL in the “URL” property of the component and also set its “Output file URL” to a file where the WSDL should be downloaded. This component should either succeed or print an error message (hopefully useful) into console of the Clover Designer.

Regards,
Tom