I am trying to use the attached WSDL in a web service proxy.
The web service proxy is throwing the following error after I click next on the add wsdl page.
There was an error while reading WSDL 'local:///Attachments.wsdl'.
Error: Unable to retrieve http://www.w3.org/2005/05/xmlmime.xsd.
Thanks and Regards,
This topic has been locked.
3 replies Latest Post - 2013-02-04T07:58:37Z by SystemAdmin
Pinned topic Error: Unable to retrieve http://www.w3.org/2005/05/xmlmime.xsd.
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2013-02-04T07:58:37Z at 2013-02-04T07:58:37Z by SystemAdmin
kenhygh 120000PD1B764 PostsACCEPTED ANSWER
Re: Error: Unable to retrieve http://www.w3.org/2005/05/xmlmime.xsd.2013-02-01T11:11:25Z in response to SystemAdminDoes your DataPower machine have access to the Internet? If not, you'll probably need to go to another machine and download that xsd, move it to the datapower box, and edit the WSDL to point to the local copy.
HermannSW 2700006U542734 PostsACCEPTED ANSWER
Re: Error: Unable to retrieve http://www.w3.org/2005/05/xmlmime.xsd.2013-02-01T11:28:11Z in response to SystemAdminI was able to create a WSP from your WSDL on one of my boxes without problems.
This tells the WSDL processor to retrieve the Schema from the internet, and the link http://www.w3.org/2005/05/xmlmime.xsd is fine:
... schemaLocation= "http://www.w3.org/2005/05/xmlmime.xsd"/> ...
It seems that a firewall is blocking your DataPower box access to the referenced Schema file.
You may want to rethink to rely on files remotely from the internet.
Whenever the WSP needs to compile the WSDL (after changes or box restart) it does need that access.
And will fail if it cannot access then.
Best practice is to download files, store locaclly on the box and have schemaLocation point to "local:///...".