Die Abfrage findet lokal statt (jedoch nicht über localhost sonder unter verwendung des gültigen Server Namens). Als user nehme ich 'Administrator' so dass ich eigentlich alle Rechte haben sollte. Ich bin jetzt von Python sogar auf IronPython umgestiegen um garantiert alle notwendigen Microsoft Bibliotheken zu benutzen. Dafür habe ich folgendes ausgeführt: wsdl.exe http://showcase-vm/PWA/_vti_bin/psi/Project.asmx csc.exe /target:library .\Project.cs dieses Erzeugen 'Project.dll' die ich jetzt im IronPython-code benutzen kann: import clr clr.AddReference('Project') import Project s = Project() print s.ReadProjectList() Wenn ich dieses skript ausführe erhalte ich aber lediglich die folgende Fehlermeldung: SystemError: Fehler bei der Anforderung mit HTTP-Status 401: Unauthorized Das ist genau dasselbe Problem, was ich vorher ohne vernwendung von Microsoft-Bibliotheken für WSDL-Zugriff hatte. In diesem Log '\Program Files\Common Files\Microsoft shared\Web server extensions\14\logs' kann ich nichts aufälliges finden, zudem weiß ich auch nicht wirklich wonach ich suchen soll. Im Web-Log finde ich folgenden Eintrag: 2010-02-05 13:06:58 fe80::a163:e67b:efbd:d40%11 POST /_vti_bin/psi/Project.asmx - 80 - fe80::a163:e67b:efbd:d40%11 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+2.0.50727.4927) 401 0 0 6 Die Datei '\Program Files\Common Files\Microsoft shared\Web server extensions\14\ISAPI\web.config' sieht wir folgt aus: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <configuration> <system.web> <webServices> <protocols> <remove name="HttpGet" /> <remove name="HttpPost" /> <remove name="HttpPostLocalhost" /> <add name="Documentation" /> </protocols> </webServices> <customErrors mode="On"/> </system.web> <location path="authentication.asmx"> <system.web> <authorization> <allow users="*"/> </authorization> </system.web> </location> <location path="SharedAccess.asmx"> <system.web> <authorization> <allow users="*"/> </authorization> </system.web> </location> <location path="wsdisco.aspx"> <system.web> <authorization> <allow users="*"/> </authorization> </system.web> </location> <location path="wswsdl.aspx"> <system.web> <authorization> <allow users="*"/> </authorization> </system.web> </location> <system.serviceModel> <services> <service behaviorConfiguration="CellStorageServiceBehavior" name="Microsoft.SharePoint.SoapServer.CellStorages"> <endpoint address="CellStorageService" binding="basicHttpBinding" bindingConfiguration="StreamBinding" contract="Microsoft.SharePoint.SoapServer.ICellStorages" /> <endpoint address="CellStorageServiceBasic" binding="basicHttpBinding" bindingConfiguration="StreamBindingBasic" contract="Microsoft.SharePoint.SoapServer.ICellStorages" /> <endpoint address="CellStorageServiceDigest" binding="basicHttpBinding" bindingConfiguration="StreamBindingDigest" contract="Microsoft.SharePoint.SoapServer.ICellStorages" /> <endpoint address="CellStorageServiceNtlm" binding="basicHttpBinding" bindingConfiguration="StreamBindingNtlm" contract="Microsoft.SharePoint.SoapServer.ICellStorages" /> </service> <service behaviorConfiguration="CellStorageServiceHttpsBehavior" name="Microsoft.SharePoint.SoapServer.CellStoragesHttps"> <endpoint address="CellStorageService" binding="basicHttpBinding" bindingConfiguration="StreamBindingHttps" contract="Microsoft.SharePoint.SoapServer.ICellStorages" /> <endpoint address="CellStorageServiceBasic" binding="basicHttpBinding" bindingConfiguration="StreamBindingHttpsBasic" contract="Microsoft.SharePoint.SoapServer.ICellStorages" /> <endpoint address="CellStorageServiceDigest" binding="basicHttpBinding" bindingConfiguration="StreamBindingHttpsDigest" contract="Microsoft.SharePoint.SoapServer.ICellStorages" /> <endpoint address="CellStorageServiceNtlm" binding="basicHttpBinding" bindingConfiguration="StreamBindingHttpsNtlm" contract="Microsoft.SharePoint.SoapServer.ICellStorages" /> </service> <service behaviorConfiguration="BDCAdminServiceBehavior" name="Microsoft.SharePoint.BusinessData.SharedService.BusinessDataService"> <endpoint address="BDCAdmin" binding="basicHttpBinding" bindingConfiguration="BDCAdminStreamBinding" contract="Microsoft.SharePoint.BusinessData.SharedService.IBdcServiceApplication" /> <endpoint address="mex" binding="basicHttpBinding" bindingConfiguration="mexNtlmHttpBinding" name="mex" contract="IMetadataExchange" /> </service> <service behaviorConfiguration="ResolverPickerBehavior" name="Microsoft.SharePoint.BusinessData.Infrastructure.ResolverPickerService"> <endpoint address="ResolverPicker" binding="basicHttpBinding" bindingConfiguration="ResolverPickerBinding" contract="Microsoft.SharePoint.BusinessData.Infrastructure.IResolverPickerService" /> <endpoint address="ResolverPickerBasic" binding="basicHttpBinding" bindingConfiguration="ResolverPickerBindingBasic" contract="Microsoft.SharePoint.BusinessData.Infrastructure.IResolverPickerService" /> <endpoint address="ResolverPickerDigest" binding="basicHttpBinding" bindingConfiguration="ResolverPickerBindingDigest" contract="Microsoft.SharePoint.BusinessData.Infrastructure.IResolverPickerService" /> <endpoint address="ResolverPickerNtlm" binding="basicHttpBinding" bindingConfiguration="ResolverPickerBindingNtlm" contract="Microsoft.SharePoint.BusinessData.Infrastructure.IResolverPickerService" /> </service> <service name="Microsoft.SharePoint.Client.ClientRequestService" behaviorConfiguration="Microsoft.SharePoint.Client.ClientRequestService.ServiceBehavior" > <endpoint address="" behaviorConfiguration="Microsoft.SharePoint.Client.ClientRequestService.EndpointBehavior" binding="customBinding" bindingNamespace="http://schemas.microsoft.com/sharepoint/soap/" bindingConfiguration="Microsoft.SharePoint.Client.ClientRequestService.BindingConfiguration" contract="Microsoft.SharePoint.Client.IClientRequestService" > </endpoint> <endpoint address="anonymous" behaviorConfiguration="Microsoft.SharePoint.Client.ClientRequestService.EndpointBehavior" binding="customBinding" bindingNamespace="http://schemas.microsoft.com/sharepoint/soap/" bindingConfiguration="Microsoft.SharePoint.Client.ClientRequestService.AnonymousBindingConfiguration" contract="Microsoft.SharePoint.Client.IClientRequestService" > </endpoint> </service> <service name="Microsoft.SharePoint.Client.HttpsClientRequestService" behaviorConfiguration="Microsoft.SharePoint.Client.HttpsClientRequestService.ServiceBehavior" > <endpoint address="" behaviorConfiguration="Microsoft.SharePoint.Client.ClientRequestService.EndpointBehavior" binding="customBinding" bindingNamespace="http://schemas.microsoft.com/sharepoint/soap/" bindingConfiguration="Microsoft.SharePoint.Client.ClientRequestService.HttpsBindingConfiguration" contract="Microsoft.SharePoint.Client.IClientRequestService" > </endpoint> <endpoint address="anonymous" behaviorConfiguration="Microsoft.SharePoint.Client.ClientRequestService.EndpointBehavior" binding="customBinding" bindingNamespace="http://schemas.microsoft.com/sharepoint/soap/" bindingConfiguration="Microsoft.SharePoint.Client.ClientRequestService.AnonymousHttpsBindingConfiguration" contract="Microsoft.SharePoint.Client.IClientRequestService" > </endpoint> </service> <service behaviorConfiguration="ClaimProviderWebServiceBehavior" name="Microsoft.SharePoint.SoapServer.SPClaimProviderWebService"> <endpoint address="" binding="basicHttpBinding" bindingConfiguration="TextStreamBindingNoSecurity" bindingNamespace="http://schemas.microsoft.com/sharepoint/claims/" behaviorConfiguration="HttpBinding.LargeDataEndpointBehavior" contract="Microsoft.SharePoint.SoapServer.IClaimProviderWebService" /> </service> <service behaviorConfiguration="HttpsClaimProviderWebServiceBehavior" name="Microsoft.SharePoint.SoapServer.SPClaimProviderWebServiceHttps"> <endpoint address="" binding="basicHttpBinding" bindingConfiguration="TextStreamBindingHttpsNoSecurity" bindingNamespace="http://schemas.microsoft.com/sharepoint/claims/" behaviorConfiguration="HttpBinding.LargeDataEndpointBehavior" contract="Microsoft.SharePoint.SoapServer.IClaimProviderWebService" /> </service> </services> <bindings> <basicHttpBinding> <binding name="StreamBinding" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="true" maxBufferSize="4194304" maxReceivedMessageSize="4194304" messageEncoding="Mtom" transferMode="StreamedResponse"> <security mode="TransportCredentialOnly"> <transport clientCredentialType="Windows"/> </security> </binding> <binding name="StreamBindingBasic" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="true" maxBufferSize="4194304" maxReceivedMessageSize="4194304" messageEncoding="Mtom" transferMode="StreamedResponse"> <security mode="TransportCredentialOnly"> <transport clientCredentialType="Basic"/> </security> </binding> <binding name="StreamBindingDigest" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="true" maxBufferSize="4194304" maxReceivedMessageSize="4194304" messageEncoding="Mtom" transferMode="StreamedResponse"> <security mode="TransportCredentialOnly"> <transport clientCredentialType="Digest"/> </security> </binding> <binding name="StreamBindingNtlm" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="true" maxBufferSize="4194304" maxReceivedMessageSize="4194304" messageEncoding="Mtom" transferMode="StreamedResponse"> <security mode="TransportCredentialOnly"> <transport clientCredentialType="Ntlm"/> </security> </binding> <binding name="TextStreamBindingNoSecurity" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="true" maxBufferSize="4194304" maxReceivedMessageSize="4194304" messageEncoding="Text" transferMode="StreamedResponse"> </binding> <binding name="StreamBindingHttps" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="true" maxBufferSize="4194304" maxReceivedMessageSize="4194304" messageEncoding="Mtom" transferMode="StreamedResponse"> <security mode="Transport"> <transport clientCredentialType="Windows"/> </security> </binding> <binding name="StreamBindingHttpsBasic" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="true" maxBufferSize="4194304" maxReceivedMessageSize="4194304" messageEncoding="Mtom" transferMode="StreamedResponse"> <security mode="Transport"> <transport clientCredentialType="Basic"/> </security> </binding> <binding name="StreamBindingHttpsDigest" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="true" maxBufferSize="4194304" maxReceivedMessageSize="4194304" messageEncoding="Mtom" transferMode="StreamedResponse"> <security mode="Transport"> <transport clientCredentialType="Digest"/> </security> </binding> <binding name="StreamBindingHttpsNtlm" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="true" maxBufferSize="4194304" maxReceivedMessageSize="4194304" messageEncoding="Mtom" transferMode="StreamedResponse"> <security mode="Transport"> <transport clientCredentialType="Ntlm"/> </security> </binding> <binding name="TextStreamBindingHttpsNoSecurity" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="true" maxBufferSize="4194304" maxReceivedMessageSize="4194304" messageEncoding="Text" transferMode="StreamedResponse"> <security mode="Transport"> <transport clientCredentialType="None"/> </security> </binding> <binding name="BDCStreamBinding" closeTimeout="1.00:00:00" openTimeout="00:01:00" receiveTimeout="1.00:00:00" sendTimeout="1.00:00:00" allowCookies="true" maxBufferSize="1073741824" maxReceivedMessageSize="1073741824" messageEncoding="Mtom" transferMode="StreamedResponse"> <security mode="TransportCredentialOnly"> <transport clientCredentialType="Ntlm" proxyCredentialType="Ntlm" /> </security> </binding> <binding name="BDCAdminStreamBinding" closeTimeout="1:00:00" openTimeout="00:01:00" receiveTimeout="1:00:00" sendTimeout="1:00:00" allowCookies="true" maxBufferSize="1073741824" maxReceivedMessageSize="1073741824" messageEncoding="Mtom" transferMode="StreamedResponse"> <readerQuotas maxStringContentLength="2097152" maxArrayLength="2097152" maxBytesPerRead="2097152" /> <security mode="TransportCredentialOnly"> <transport clientCredentialType="Ntlm" proxyCredentialType="Ntlm" /> </security> </binding> <binding name="ResolverPickerBinding" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="1:00:00" sendTimeout="1:00:00" allowCookies="true" maxBufferSize="1073741824" maxReceivedMessageSize="1073741824" messageEncoding="Mtom" transferMode="StreamedResponse"> <security mode="TransportCredentialOnly"> <transport clientCredentialType="Windows" proxyCredentialType="Windows" /> </security> </binding> <binding name="ResolverPickerBindingBasic" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="1:00:00" sendTimeout="1:00:00" allowCookies="true" maxBufferSize="1073741824" maxReceivedMessageSize="1073741824" messageEncoding="Mtom" transferMode="StreamedResponse"> <security mode="TransportCredentialOnly"> <transport clientCredentialType="Basic" proxyCredentialType="Basic" /> </security> </binding> <binding name="ResolverPickerBindingDigest" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="1:00:00" sendTimeout="1:00:00" allowCookies="true" maxBufferSize="1073741824" maxReceivedMessageSize="1073741824" messageEncoding="Mtom" transferMode="StreamedResponse"> <security mode="TransportCredentialOnly"> <transport clientCredentialType="Digest" proxyCredentialType="Digest" /> </security> </binding> <binding name="ResolverPickerBindingNtlm" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="1:00:00" sendTimeout="1:00:00" allowCookies="true" maxBufferSize="1073741824" maxReceivedMessageSize="1073741824" messageEncoding="Mtom" transferMode="StreamedResponse"> <security mode="TransportCredentialOnly"> <transport clientCredentialType="Ntlm" proxyCredentialType="Ntlm" /> </security> </binding> <binding name="mexHttpBinding"> <security mode="TransportCredentialOnly"> <transport clientCredentialType="Windows" proxyCredentialType="Windows"/> </security> </binding> <binding name="mexNtlmHttpBinding"> <security mode="TransportCredentialOnly"> <transport clientCredentialType="Ntlm" proxyCredentialType="Ntlm"/> </security> </binding> </basicHttpBinding> <customBinding> <binding name="Microsoft.SharePoint.Client.ClientRequestService.BindingConfiguration"> <webMessageEncoding webContentTypeMapperType="Microsoft.SharePoint.Client.RawMessageContentTypeMapper, Microsoft.SharePoint.Client.ServerRuntime, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" /> <httpTransport manualAddressing="true" authenticationScheme="Negotiate" maxReceivedMessageSize="4194304" /> </binding> <binding name="Microsoft.SharePoint.Client.ClientRequestService.AnonymousBindingConfiguration"> <webMessageEncoding webContentTypeMapperType="Microsoft.SharePoint.Client.RawMessageContentTypeMapper, Microsoft.SharePoint.Client.ServerRuntime, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" /> <httpTransport manualAddressing="true" authenticationScheme="Anonymous" maxReceivedMessageSize="4194304" /> </binding> <binding name="Microsoft.SharePoint.Client.ClientRequestService.HttpsBindingConfiguration"> <webMessageEncoding webContentTypeMapperType="Microsoft.SharePoint.Client.RawMessageContentTypeMapper, Microsoft.SharePoint.Client.ServerRuntime, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" /> <httpsTransport manualAddressing="true" authenticationScheme="Negotiate" maxReceivedMessageSize="4194304" /> </binding> <binding name="Microsoft.SharePoint.Client.ClientRequestService.AnonymousHttpsBindingConfiguration"> <webMessageEncoding webContentTypeMapperType="Microsoft.SharePoint.Client.RawMessageContentTypeMapper, Microsoft.SharePoint.Client.ServerRuntime, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" /> <httpsTransport manualAddressing="true" authenticationScheme="Anonymous" maxReceivedMessageSize="4194304" /> </binding> </customBinding> </bindings> <!--For debugging purposes set the includeExceptionDetailInFaults attribute to true--> <behaviors> <serviceBehaviors> <behavior name="CellStorageServiceBehavior"> <serviceMetadata httpGetEnabled="true" /> <!-- <serviceDebug includeExceptionDetailInFaults="true" /> --> </behavior> <behavior name="CellStorageServiceHttpsBehavior"> <serviceMetadata httpsGetEnabled="true" /> <!-- <serviceDebug includeExceptionDetailInFaults="true" /> --> </behavior> <behavior name="BDCAdminServiceBehavior"> <serviceMetadata httpGetEnabled="true" /> <serviceDebug includeExceptionDetailInFaults="false" /> </behavior> <behavior name="ResolverPickerBehavior"> <serviceMetadata httpGetEnabled="true" /> <serviceDebug includeExceptionDetailInFaults="false" /> </behavior> <behavior name="Microsoft.SharePoint.Client.ClientRequestService.ServiceBehavior" > <serviceDebug includeExceptionDetailInFaults="false" /> <serviceMetadata httpGetEnabled="true" /> </behavior> <behavior name="Microsoft.SharePoint.Client.HttpsClientRequestService.ServiceBehavior" > <serviceDebug includeExceptionDetailInFaults="false" /> <serviceMetadata httpsGetEnabled="true" /> </behavior> <behavior name="ClaimProviderWebServiceBehavior" > <serviceMetadata httpGetEnabled="true" /> <serviceDebug includeExceptionDetailInFaults="false" /> </behavior> <behavior name="HttpsClaimProviderWebServiceBehavior" > <serviceMetadata httpsGetEnabled="true" /> <serviceDebug includeExceptionDetailInFaults="false" /> </behavior> </serviceBehaviors> <endpointBehaviors> <behavior name="Microsoft.SharePoint.Client.ClientRequestService.EndpointBehavior" > <webHttp/> </behavior> <behavior name="HttpBinding.LargeDataEndpointBehavior"> <dataContractSerializer maxItemsInObjectGraph="2147483647" /> </behavior> </endpointBehaviors> </behaviors> </system.serviceModel> </configuration> Irgend eine Idee? Authentifizieren sich mit wsdl.exe gemachte WebServiceProxies automatisch oder muss ich da noch irgendwie nach helfen?