J
Jay B
Ok, it turns out that "outlook:" moniker is actually
causing our problem.
When you first load a page into Outlook XP, the
document.URL value is the same as in the Outlook address
bar, for example: "outlook:My Test App".
This is the code from webservice.htc that sees the problem:
function ensureWsdlUrl(szService)
{
if (szService.indexOf("://") > 0)
return szService;
var baseUrl = element.document.URL;
var qi = baseUrl.lastIndexOf("?");
var url2 = qi > 0 ? baseUrl.substr(0, qi) : baseUrl;
return url2.substr(0, baseUrl.lastIndexOf("/"))
+ "/" + szService + (szService.indexOf(".")
This looks to be a bug with Outlook XP, rather than the
webservice.htc.
I'm curious as to what the recommended workaround to this
problem is.
I could always output the actual URL of each page in a
javascript variable, and then modify webservice.htc to
check that variable, but I really don't want to have to do
that.
Any ideas?
Jay B
causing our problem.
When you first load a page into Outlook XP, the
document.URL value is the same as in the Outlook address
bar, for example: "outlook:My Test App".
This is the code from webservice.htc that sees the problem:
function ensureWsdlUrl(szService)
{
if (szService.indexOf("://") > 0)
return szService;
var baseUrl = element.document.URL;
var qi = baseUrl.lastIndexOf("?");
var url2 = qi > 0 ? baseUrl.substr(0, qi) : baseUrl;
return url2.substr(0, baseUrl.lastIndexOf("/"))
+ "/" + szService + (szService.indexOf(".")
}=0 ? "" : ".asmx?wsdl");
This looks to be a bug with Outlook XP, rather than the
webservice.htc.
I'm curious as to what the recommended workaround to this
problem is.
I could always output the actual URL of each page in a
javascript variable, and then modify webservice.htc to
check that variable, but I really don't want to have to do
that.
Any ideas?
Jay B