Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
3 replies Latest Post - ‏2013-02-04T07:58:37Z by SystemAdmin
SystemAdmin
SystemAdmin
6772 Posts
ACCEPTED ANSWER

Pinned topic Error: Unable to retrieve http://www.w3.org/2005/05/xmlmime.xsd.

‏2013-02-01T06:13:51Z |
Hi,

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.

Please help.

Thanks and Regards,
Charu Singhal
Updated on 2013-02-04T07:58:37Z at 2013-02-04T07:58:37Z by SystemAdmin
  • kenhygh
    kenhygh
    1461 Posts
    ACCEPTED ANSWER

    Re: Error: Unable to retrieve http://www.w3.org/2005/05/xmlmime.xsd.

    ‏2013-02-01T11:11:25Z  in response to SystemAdmin
    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.

    Ken
  • HermannSW
    HermannSW
    4487 Posts
    ACCEPTED ANSWER

    Re: Error: Unable to retrieve http://www.w3.org/2005/05/xmlmime.xsd.

    ‏2013-02-01T11:28:11Z  in response to SystemAdmin
    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
  • SystemAdmin
    SystemAdmin
    6772 Posts
    ACCEPTED ANSWER

    Re: Error: Unable to retrieve http://www.w3.org/2005/05/xmlmime.xsd.

    ‏2013-02-04T07:58:37Z  in response to SystemAdmin
    Thanks Hermann and Ken for your suggestions.Its working now.

    Thanks and Regards,
    Charu