« WCF service host base addresses | Main | MSDN WebCast: 'Transactions in Distributed Solutions with Windows Communication Foundation' Post-Mortem »

07/01/2006

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a012876b389bb970c012876c21e56970c

Listed below are links to weblogs that reference Exposing metadata from WCF services:

Comments

Feed You can follow this conversation by subscribing to the comment feed for this post.

ralph

Not quite. Adding serviceMetadata / alone, without any endpoints, enables HTTP/GET ?wsdl support at the baseaddresses specified that support HTTP. This is because httpGetEnabled is true by default. Adding serviceMetadata / AND adding an IMetadataEndpoint will get you WS-MetadataExchange support at that endpoint address. Do let me know if you don't see that behavior. Oh, and remember that because svcutil tries both http/get and WS-MEX, often it's difficult to know which one was the one that worked. ;-) Cheers, Ralph

Christian Weyer

There is nothing wrong with your and my statements, right? It all works as explained by the two of us. Of course, your comment makes the whole story more complete :)

zille

can externalMetadataLocation be used to sepcify some external metadata other than the wsdl of the service?? is there anything that can be used to access some other metadata, e.g., the business information of the service provider??

Christian Weyer

Yes, you can point to a URL with the wanted metadata if you are webhosted. If you are self-hosted then you would need to point to a webhosted metadata URL or just extend ServiceHost. I have such a sample here if you need it.

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment

Shared items (Google Reader)