XWiki 6.2RC1. I have some velocity code using getURLContent() to access an external API that appears to not be working after a server move, despite working in the past.
Something like this used to work: ***************************** #set($url = "https://www.example.com/api/example.mhtml?param=123") #set($response = $xwiki.getURLContent($url)) #if ($response) #set($tags = $services.xml.parse($response).getElementsByTagName('TAG')) $tags.length #end ***************************** Now, $response appears to be empty (nothing appears when written to the page). Going directly to the API URL returns properly formatted XML, so I know the API itself is working. And changing $url to http://google.com also returns data. Any ideas? aaron _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users