Get services on port 5725 to publish metadata
The SecurityTokenService service on the FIM machine publishes metadata by default. If you go to http://localhost:5726/ on the FIM machine, you will see a page that explains you that you can use svcutil to create a client configuration file to use the service. The services on port 5725, however, don't publish metadata by default: if you access http://localhost:5725/ on the FIM machine, you get this message: This is a Windows© Communication Foundation service. Metadata publishing for this service is currently disabled. I would like to use svcutil to generate the configuration file for the other services as well (e.g. the Enumeration service), so that my client application would be correctly configured. However, if I follow the steps suggested in the page (create a service behavior configuration, add it to the service, add a mex endpoint to the service configuration) then the FIM service does not start anymore, with the following error message: System.ServiceModel: System.ArgumentException: Duplicate contract XmlQualifiedNames are not supported. Another ContractDescription with the Name: IMetadataExchange and Namespace: http://schemas.microsoft.com/2006/04/mex has already been exported. Is it possible to enable the services on port 5725 to publish metadata, so that svcutil and other VS tools can be used to generate the client configuration? Thanks, Paolo Paolo Tedesco - http://cern.ch/idm
January 18th, 2010 3:28pm

hm maybe svcutil http://fimserver:5725/ResourceManagementService/MEX The FIM Password Reset Blog http://blogs.technet.com/aho/
Free Windows Admin Tool Kit Click here and download it now
January 18th, 2010 4:59pm

Hi Anthony, the address you suggested doesn't seem to work, I get an error 400. Moreover, http://localhost:5725/ did not seem to be an incorrect address, as I explicitly get the message saying that metadata publishing is disabled, and instructions on how to enable it... Something else I should check? Thanks, Paolo Paolo Tedesco - http://cern.ch/idm
January 18th, 2010 5:32pm

Our Metadata endpoint does not support HTTP Get (which will result in an error in the web browser). You must use HTTP post, which svcutil will do.Please note that the metadata is not strongly typed, and for this reason there are unsupported clients to help interact with the web service interface.
Free Windows Admin Tool Kit Click here and download it now
January 18th, 2010 9:30pm

Our Metadata endpoint does not support HTTP Get (which will result in an error in the web browser). You must use HTTP post, which svcutil will do. Please note that the metadata is not strongly typed, and for this reason there are unsupported clients to help interact with the web service interface. thanks Joe for your input. This is what i get from my test machine C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC>svcutil http://fimserver:5725/ResourceManagementService/MEX Microsoft (R) Service Model Metadata Tool [Microsoft (R) Windows (R) Communication Foundation, Version 3.0.4506.648] Copyright (c) Microsoft Corporation. All rights reserved. Attempting to download metadata from 'http://fimserver:5725/ResourceManagementService/MEX' using WS-Metadata Exchange or DISCO. Generating files... C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\service.cs C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\output.config The FIM Password Reset Blog http://blogs.technet.com/aho/
January 18th, 2010 9:44pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics