DCSIMG
What’s new in WCF 4.5? a single WSDL file - Ido Flatow's Blog Veni Vidi Scripsi

Ido Flatow's Blog

Veni Vidi Scripsi

News

Have you heard me speak?
Powered
<style type='text/css' media='screen' id='sm_css'> #smix {overflow: visible;height: auto;border-radius: 10px;max-width: 250px;background-color: #323232;text-align: left;font-size: 12px;line-height: 16px;font-family:'Lucida Sans Unicode','Lucida Grande',Verdana,Arial,Helvetica,sans-serif;-webkit-border-radius: 10px;-moz-border-radius: 10px;border-radius: 10px;} #smix a {color: #0056CC;text-decoration: none;} #smix .sm_head {color: #fff; line-height: 1em;font-size: 1.4em;padding: 10px;color: #fff;} #smix .sm_lanyard_wrapper {background-color: #fff;;clear: both;width: 97%;margin: 0 auto;margin-bottom: 0px;} #smix .sm_lanyard_content {padding: 7px;}#smix button.sm_rec, #smix a.sm_rec, #smix input[type=submit].sm_rec { padding: 6px 10px; -webkit-border-radius: 2px 2px;-moz-border-radius: 2px; border-radius: 2px; border: solid 1px rgb(153, 153, 153); background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgb(255, 255, 255)), to(rgb(221, 221, 221))); color: #333; text-decoration: none; cursor: pointer; display: inline-block; text-align: center; text-shadow: 0px 1px 1px rgba(255,255,255,1); line-height: 1; }#smix .sm_rec:hover { background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgb(248, 248, 248)), to(rgb(221, 221, 221))); }#smix .sm_rec:active { background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgb(204, 204, 204)), to(rgb(221, 221, 221))); }#smix .sm_rec.medium { padding: 3px 7px; font-size: 13px; }#smix .sm_rec span.icon.thumbs_up {background-position: 0px 36px;vertical-align: text-top;display: inline-block;margin-right: 4px;height: 18px;width: 16px;background-image: url(http://speakermix.com/images/new/thumbsold.png);}#smix .sm_rec:hover span.icon.thumbs_up {background-position: 0px 18px;} #smix .sm_events {padding:2px 0px 4px 0px;} #smix .sm_section {font-size: 10px; border-bottom: 1px solid silver; margin-bottom: 6px;} #smix .sm_subline {font-size:120%;margin-top:4px;font-weight:bold} #smix .powered {text-align: right} #smix .powered img {margin: 7px} </style>
Sela Technology Center

Advertisement

What’s new in WCF 4.5? a single WSDL file

This is the second post in the WCF 4.5 series, and this time we’ll talk about WSDL files.

Previous posts:

1. What’s new in WCF 4.5? let’s start with WCF configuration

A few weeks ago, I posted about the difference between exposing the service metadata through WSDL and through a MEX endpoint. One of the things I noted in the post was that the metadata exposed through a WSDL file is actually one part of the overall metadata – in addition to the WSDL file, there is usually an additional set of files, XSD files, that contain the data contracts of the service. For WCF 4 and previous versions, the schema part in the WSDL is a set of import directives for additional files:

image

So what has changed in WCF 4.5? When you browse to a WCF 4.5 service’s metadata URL, you will see the following WSDL options:

image

In addition to the ?wsdl option, we now get another option - ?singleWsdl. The singleWsdl link will return a single WSDL file, containing all the schemas in it:

image

Each of the schema elements contains the schema that was previously imported from an external file.

So in my previous post, where I listed the reasons why to use MEX instead of WSDL, we can omit the first reason – “If you want to make as less calls as possible to your service in order to get its metadata (one call instead of several).”

Stay tuned for more posts about the new features of WCF 4.5. You can also follow me on Twitter (@IdoFlatow) to get updates as soon as new posts are published.

The RTM of .NET 4.5 is still to come, and I assume many of you are still adjusting to WCF 4. If you want to learn more about the new features of WCF 4, come to my session at Visual Studio Live! 2011 in Redmond (October 17-21).

Also, if you are an MCT and reside in the US, come hear my session about WCF 4 at the MCT 2011 North-America Summit that will be held in San-Francisco (October 19-21).

Comments

Ido Flatow's Blog

Veni Vidi Scripsi

said:

This is the third post in the WCF 4.5 series, and we’re still in the subject of configuration, but this

# September 19, 2011 10:42 AM

Ido Flatow's Blog

Veni Vidi Scripsi

said:

This is the third post in the WCF 4.5 series, and we’re still in the subject of configuration, but this

# September 19, 2011 10:47 AM

Ido Flatow's Blog

Veni Vidi Scripsi

said:

This is the eighth post in the WCF 4.5 series. This post continues the previous posts on web-hosting

# October 31, 2011 11:58 AM

Ido Flatow's Blog

Veni Vidi Scripsi

said:

As promised in my previous post , I’m continuing my mission to inform you of new changes in WCF 4.5.

# January 17, 2012 10:37 PM

Ido Flatow's Blog

Veni Vidi Scripsi

said:

As promised in my previous post , I’m continuing my mission to inform you of new changes in WCF 4.5.

# January 17, 2012 10:37 PM

[??????????????] 2. ?????? ???????????? ?? WCF 4.5? ???????? WSDL-????????. [5] « ahriman' lair said:

Pingback from  [??????????????] 2. ?????? ???????????? ?? WCF 4.5? ???????? WSDL-????????. [5] &laquo; ahriman&#039; lair

# January 29, 2012 8:07 AM

[??????????????] 2. ?????? ???????????? ?? WCF 4.5? ???????? WSDL-????????. [4] « ahriman' lair said:

Pingback from  [??????????????] 2. ?????? ???????????? ?? WCF 4.5? ???????? WSDL-????????. [4] &laquo; ahriman&#039; lair

# January 29, 2012 8:15 AM

[??????????????] 1. ?????? ???????????? ?? WCF 4.5? ???????????? ?? ???????????????????????? WCF [3] « ahriman' lair said:

Pingback from  [??????????????] 1. ?????? ???????????? ?? WCF 4.5? ???????????? ?? ???????????????????????? WCF [3] &laquo; ahriman&#039; lair

# February 7, 2012 2:30 AM

Ido Flatow's Blog

Veni Vidi Scripsi

said:

This is the tenth post in the WCF 4.5 series. I’ve started this series of posts 4 months ago when .NET

# February 15, 2012 10:55 PM

Bunting said:

This post is really a good one it helps new the web people, who are wishing for blogging.

# October 19, 2012 10:57 PM

Markley said:

Yes! Finally something about best discount cigarettes.

# October 24, 2012 11:25 AM

Barringer said:

Hi! Would you mind if I share your blog with my myspace group?

There's a lot of people that I think would really enjoy your content. Please let me know. Thanks

# November 3, 2012 3:35 AM

cmyojtgccza@gmail.com said:

Both reveal the hidden thoughts of the perpetrators.Posted by: Yonatan | Nov 16, 2012 6:46:12 PM | 39

# December 24, 2012 8:09 AM

Fortier said:

Those endorphins are our natural anti-depressant, and a bonus is that they reduce the intensity of pain.

An ar�te extends to the left of the horn and three cirques are visible below.

I kept reading the negative stories about how bad and evil I was for what I said.

Postpartum depression has many features in common with major depression.

Now before you roll your eyes and go'"Oh great, more exhausting therapy. The non depressed spouse typical expresses their frustration with criticism, which makes the depression worse.

# January 6, 2013 4:07 PM

Borges said:

Well written post. Highly recommended.

# January 28, 2013 5:52 PM
Leave a Comment

(required) 

(required) 

(optional)

(required) 


Enter the numbers above: