I try to create a web accelerator for IE8. My original XML file was:
<?xml version="1.0" encoding="utf-8" ?>
<os:openServiceDescription xmlns:os="http://www.microsoft.com/schemas/openservicedescription/1.0">
<os:homepageUrl>http://localhost:3090</os:homepageUrl>
<os:display>
<os:name>My web accelerator</os:name>
<os:icon>http://localhost:3090/favicon.ico</os:icon>
</os:display>
<os:activity category="Find">
<os:activityAction context="selection">
<os:execute method="get" action="http://localhost:3090/Store/SearchResults.aspx?Pattern={selection}" />
</os:activityAction>
</os:activity>
</os:openServiceDescription>
It works ok, but when I tried to add "preview" feature, IE8 has reported the error message: "There was a problem with the Accelerator's information." The modified XML file is:
<?xml version="1.0" encoding="utf-8" ?>
<os:openServiceDescription xmlns:os="http://www.microsoft.com/schemas/openservicedescription/1.0">
<os:homepageUrl>http://localhost:3090</os:homepageUrl>
<os:display>
<os:name>My web accelerator</os:name>
<os:icon>http://localhost:3090/favicon.ico</os:icon>
</os:display>
<os:activity category="Find">
<os:activityAction context="selection">
<os:execute method="get" action="http://localhost:3090/Store/SearchResults.aspx?Pattern={selection}" />
<os:preview action = "http://localhost:3090/OpenService/Accelerator.aspx" method = "get">
<os:parameter name="q" value="{selection}" type="text" />
</os:preview>
</os:activityAction>
</os:activity>
</os:openServiceDescription>
What's wrong with added XML fragment?