Route is not shown

Hi all,

When I get an xml via http like this way:

var kmlLayer = new OpenLayers.Layer.Vector(“KML”, {
strategies: [new OpenLayers.Strategy.Fixed()],
protocol: new OpenLayers.Protocol.HTTP({
url: “http://localhost:8084/TestWebApp/XMLResponseServlet”,
format: new OpenLayers.Format.KML({
extractStyles: true,
extractAttributes: true,
maxDepth: 2
})
})
})

OpenLayers is not able to show the result. The result is valid because when I copy the result from the http call in a local file its shown( the result is a route). What am I doing wrong?

Best regards,

Markus