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,
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 120000PD1B2288 Posts
Re: Error: Unable to retrieve http://www.w3.org/2005/05/xmlmime.xsd.2013-02-01T11:11:25ZThis is the accepted answer. This is the accepted answer.Does 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 2700006U546737 Posts
Re: Error: Unable to retrieve http://www.w3.org/2005/05/xmlmime.xsd.2013-02-01T11:28:11ZThis is the accepted answer. This is the accepted answer.I 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:///...".
Hermann <myXsltBlog/> <myXsltTweets/>Updated on 2014-03-25T02:41:08Z at 2014-03-25T02:41:08Z by iron-man