none
PSI: SOAP-Aufruf liefert weder Resultat noch Fehlermeldung RRS feed

  • Frage

  • Hallo,

    ich habe das Problem, dass der folgende SOAP-Aufruf (der unter Project Server 2007 wunderbar funktioniert) unter Project Server 2010 nicht mehr funktioniert:

    <?xml version="1.0" encoding="utf-8"?>
    <soap12:Envelope xmlns:soap12="http://www.w3.org/2003/05/soap-envelope" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soap12:Body>
    <ReadProjectList xmlns="http://schemas.microsoft.com/office/project/server/webservices/Project/"/>
    </soap12:Body>
    </soap12:Envelope>

    Den obigen XML-Text sende ich per HTTP-POST (nach NTLM Authentifizierung) wie gewohnt an http://myserver/PWA/_vti_bin/psi/Project.asmx

    Leider liefert mir MS-Project Server 2010 kein Ergebnis zurück, noch nicht einmal eine Fehlermeldung (soll heißen: 0 Bytes werden zurück gegeben.)

    Kann mir bitte jemand weiterhelfen? Wo liegt das Problem? Oder zumindest: In welchem Log-File kann ich mehr Details finden die etwas über das Problem aussagen könnten?

    Danke und Gruß,
    Dr. Dominik Kuropka
    Donnerstag, 21. Januar 2010 17:47

Antworten

  • Problemlösung gefunden!!!

    Es fehlte eine Zeile im IronPython-Code. Der vollständige Aufruf muss in diesem Fall wie folgt aussehen:

    import clr
    clr.AddReference('Project')
    import Project

    s = Project()
    s.UseDefaultCredentials = True
    print s.ReadProjectList()
    Freitag, 5. Februar 2010 14:32

Alle Antworten

  • Hallo 

    es wäre ein Versuch Wert die ReadProjectStatus Methode auszuprobieren.

    "ReadProjectStatus should be used to get a list of projects. ReadProjectList is intended for use with administrative utilities and requires a high level of permissions." - http://msdn.microsoft.com/en-us/library/websvcproject.project.readprojectlist(office.14).aspx

    Gruß
    Andrei
    Montag, 25. Januar 2010 20:02
  • Nein, das löst das Problem leider nicht. Auch ReadProjectStatus schlägt genauso fehl. Ich vermute langsam, dass es etwas mit der neuen Funktionalität zur Einschränkung von NTLM ab Windows 7 / 2008 zu tun hat.

    Siehe "Dank neuer Gruppenrichtlinieneinstellungen in Windows 7 und Windows Server 2008 R2 kann die Verwendung des NTLM-Protokolls auf Clients, Servern und Domänencontrollern eingeschränkt werden. Diese Richtlinien können auf Computern unter Windows 7 und Windows Server 2008 R2 konfiguriert werden, wodurch die Verwendung von NTLM auf Computern beeinträchtigt werden kann, die unter früheren Windows-Versionen ausgeführt werden."

    Wie kann ich den MS Project Server zwingen das alte NTLM Protokoll ohne Einschränkung zu verwenden?
    Dienstag, 26. Januar 2010 15:52
  • die Einschränkungen befinden sich unter folgendem Richtlinien-Pfad: Computerkonfiguration - Windows-Einstellungen - Sicherheitseinstellungen - Lokale Richtlinien - Sicherheitsoptionen. Standardmäßig sind diese Einschränkungen aber deaktiviert.

    Was sagt das Log dazu (\Program Files\Common Files\Microsoft shared\Web server extensions\14\logs)?

    Findet die Abfrage lokal oder remote statt?

    wie sieht der WebServices Eintrag in der \Program Files\Common Files\Microsoft shared\Web server extensions\14\ISAPI\web.config Datei aus?
    Mittwoch, 27. Januar 2010 11:56
  • 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?
    Freitag, 5. Februar 2010 13:13
  • Problemlösung gefunden!!!

    Es fehlte eine Zeile im IronPython-Code. Der vollständige Aufruf muss in diesem Fall wie folgt aussehen:

    import clr
    clr.AddReference('Project')
    import Project

    s = Project()
    s.UseDefaultCredentials = True
    print s.ReadProjectList()
    Freitag, 5. Februar 2010 14:32
  • nach helfen bitte :-)

    wsdl.exe /u:<Benutzerkonto> /p:<Passwort> http://showcase-vm/PWA/_vti_bin/psi/Project.asmx

    http://msdn.microsoft.com/en-us/library/7h3ystb6(VS.80).aspx

    Standardmäßig sollte das SOAP Protokoll aktiviert sein, aber sicherheitshalber diesen bitte auch unter <webServices> eintragen.

    <configuration>
      <system.web>     
            <webServices>
                <protocols>
                    <add name="HttpSoap" />
                    <remove name="HttpGet" />
                    <remove name="HttpPost" />
                    <remove name="HttpPostLocalhost" />
                    <add name="Documentation" />
                </protocols>
            </webServices>


    http://msdn.microsoft.com/en-us/library/b2c0ew36(VS.71).aspx
    Freitag, 5. Februar 2010 14:41