T
Termin_Terminator
Hello,
inside Project 2007 VBA I am using MSOSOAPLib30.SoapClient30 and the
WSDL files from the PSI Web Services to access PSI. The used
credentials for accessing PSI are the same of Project Prof. 2007, e.g.
when I run Project Prof. 2007 as "Administrator" those credentials are
used for accessing PSI Web Services.
Now I want to use other credentials inside VBA than "Administrator",
and I have massive trouble to command the SOAP object to use other
credentials than "Administrator".
Example code:
Set obj = New MSOSOAPLib30.SoapClient30
obj.ClientProperty("ServerHTTPRequest") = False
obj.MSSoapInit "http://sampleserver/pwa/_vti_bin/PSI/Project.asmx?
WSDL"
obj.ConnectorProperty("EndPointURL") = "http://sampleserver/pwa/
_vti_bin/PSI/Project.asmx"
obj.ConnectorProperty("AuthUser") = "MyDomain\ServiceUser"
obj.ConnectorProperty("AuthPassword") = "topsecret"
obj.ConnectorProperty("WinHTTPAuthScheme") = 18
After all the methods of the PSI Web Services are *always* called as
"Administrator" and never as "MyDomain\ServiceUser". Any help how to
use other credentials for accessing PSI Web Services inside Project
2007 VBA? Thanks in advance.
Good bye.
Termin_Terminator
inside Project 2007 VBA I am using MSOSOAPLib30.SoapClient30 and the
WSDL files from the PSI Web Services to access PSI. The used
credentials for accessing PSI are the same of Project Prof. 2007, e.g.
when I run Project Prof. 2007 as "Administrator" those credentials are
used for accessing PSI Web Services.
Now I want to use other credentials inside VBA than "Administrator",
and I have massive trouble to command the SOAP object to use other
credentials than "Administrator".
Example code:
Set obj = New MSOSOAPLib30.SoapClient30
obj.ClientProperty("ServerHTTPRequest") = False
obj.MSSoapInit "http://sampleserver/pwa/_vti_bin/PSI/Project.asmx?
WSDL"
obj.ConnectorProperty("EndPointURL") = "http://sampleserver/pwa/
_vti_bin/PSI/Project.asmx"
obj.ConnectorProperty("AuthUser") = "MyDomain\ServiceUser"
obj.ConnectorProperty("AuthPassword") = "topsecret"
obj.ConnectorProperty("WinHTTPAuthScheme") = 18
After all the methods of the PSI Web Services are *always* called as
"Administrator" and never as "MyDomain\ServiceUser". Any help how to
use other credentials for accessing PSI Web Services inside Project
2007 VBA? Thanks in advance.
Good bye.
Termin_Terminator