Hi
I have a web service that is used to make calls to a com object that in turn makes calls to one of 3 databases. When called from asp I use the "request.ServerVariables("APPL_PHYSICAL_PATH")" to determine which database to connect to.
Obviously this will not work when the call is made from the web service.
The SOAP message HTTP headers contain a '<referer>' element that would enable the same decision to be made, but I do not know how to retrieve this from within the com object once initialised.
'GetObjectContext' merely sets an context object with a count of 0.
Anyone have any ideas as to how this might be achieved?
Thanks
vicom
I have a web service that is used to make calls to a com object that in turn makes calls to one of 3 databases. When called from asp I use the "request.ServerVariables("APPL_PHYSICAL_PATH")" to determine which database to connect to.
Obviously this will not work when the call is made from the web service.
The SOAP message HTTP headers contain a '<referer>' element that would enable the same decision to be made, but I do not know how to retrieve this from within the com object once initialised.
'GetObjectContext' merely sets an context object with a count of 0.
Anyone have any ideas as to how this might be achieved?
Thanks
vicom