• 3 replies
  • Latest Post - ‏2013-02-04T07:58:37Z by SystemAdmin
6772 Posts

Pinned topic Error: Unable to retrieve

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

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

Please help.

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

    Re: Error: Unable to retrieve

    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
    7226 Posts

    Re: Error: Unable to retrieve

    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 is fine:

    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
    6772 Posts

    Re: Error: Unable to retrieve

    Thanks Hermann and Ken for your suggestions.Its working now.

    Thanks and Regards,