Autor Beitrag
FrEEzE2046
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 109

Windows 98, 2000, XP Pro, Vista Ultimate 32 & 64 Bit, Windows 7 Beta 64 Bit
C/C++, C# (VS 2008 TeamSystem) - Delphi (Delphi 5) - Java (Eclipse)
BeitragVerfasst: Mo 07.06.10 12:41 
Hallo,

ich bekomme keine Verbindung zu meinen grundlegenden DomainServices UserRegistrationService und AuthenticationService.

Ich habe in web.config folgende Einstellungen getroffen:
ausblenden volle Höhe XML-Daten
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
<configuration>
     <system.serviceModel>
          <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true">
               <baseAddressPrefixFilters>
                    <add prefix="http://de-wks-cs-010:8080/MyPage/"/>
               </baseAddressPrefixFilters>
          </serviceHostingEnvironment>

          <services>
               <service name="AuthenticationService" 
                        behaviorConfiguration="RIAServiceBehavior">
                    <endpoint address="" 
                              binding="wsHttpBinding"
                              contract="MyPage.Web.AuthenticationService"/>
                    <endpoint address="/soap"
                              binding="basicHttpBinding"
                              contract="MyPage.Web.AuthenticationService"/>
                    <endpoint address="/binary"
                              binding="customBinding"
                              bindingConfiguration="BinaryHttpBinding"
                              contract="MyPage.Web.AuthenticationService"/>
                    <endpoint address="mex"
            binding="mexHttpBinding"
            contract="IMetadataExchange" />
               </service>

               <service name="UserRegistrationService" 
                        behaviorConfiguration="RIAServiceBehavior">
                    <endpoint address=""
                              binding="wsHttpBinding"
                              contract="MyPage.Web.UserRegistrationService"/>
                    <endpoint address="/soap"
                              binding="basicHttpBinding"
                              contract="MyPage.Web.UserRegistrationService"/>
                    <endpoint address="/binary"
                              binding="customBinding"
                              bindingConfiguration="BinaryHttpBinding"
                              contract="MyPage.Web.UserRegistrationService"/>
                    <endpoint address="mex"
            binding="mexHttpBinding"
            contract="IMetadataExchange" />
               </service>
          </services>

          <behaviors>
               <serviceBehaviors>
                    <behavior>
                         <serviceMetadata httpGetEnabled="true" />
                         <serviceDebug includeExceptionDetailInFaults="false"/>
                    </behavior>
               </serviceBehaviors>
          </behaviors>
          <bindings>
               <customBinding>
                    <binding>
                         <binaryMessageEncoding />
                         <httpTransport />
                    </binding>
               </customBinding>
          </bindings>
     </system.serviceModel>  
</configuration>



Der WcfTestClient sagt:
ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
Error: Cannot obtain Metadata from http://localhost:8080/MyPage If this is a Windows (R) Communication Foundation service to which you have access, please check that you have enabled metadata publishing at the specified address.  
For help enabling metadata publishing, please refer to the MSDN documentation at http://go.microsoft.com/fwlink/?LinkId=65455.WS-Metadata Exchange Error    
URI: http://localhost:8080/MyPage  
Metadaten enthalten einen Verweis, der nicht aufgel”st werden kann: "http://localhost:8080/MyPage".    
Es war kein an http://localhost:8080/MyPage  abh”render Endpunkt vorhanden, der die Nachricht annehmen konnte. 
Dies wird h„ufig durch eine fehlerhafte Adresse oder SOAP-Aktion verursacht. 
Weitere Details finden Sie unter "InnerException", sofern vorhanden.    
Der Remoteserver hat einen Fehler zurckgegeben: (404) Nicht gefunden.HTTP GET Error    
URI: http://localhost:8080/MyPage   Fehler beim Downloaden von 'http://localhost:8080/MyPage'.    
Fehler bei der Anforderung mit HTTP-Status 404: Object Not Found.
FrEEzE2046 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 109

Windows 98, 2000, XP Pro, Vista Ultimate 32 & 64 Bit, Windows 7 Beta 64 Bit
C/C++, C# (VS 2008 TeamSystem) - Delphi (Delphi 5) - Java (Eclipse)
BeitragVerfasst: Di 08.06.10 07:48 
Hatte noch niemand dieses Problem? Ich habe immer noch keine Lösung gefunden. Das ganze läuft unter Windows XP x86 u. dem IIS 6.0.