Santosh Benjamin's Weblog

Adventures with AppFabric, BizTalk & Clouds

3 Responses

Subscribe to comments with RSS.

  1. It is really helpful for my project. Thanks a lot.

    Bagatheesh

    May 19, 2010 at 5:02 AM

  2. Can u pls tell me How to get the parameter list (ie, name and type of the parameters) of the operations??

    Bagatheesh

    May 19, 2010 at 5:43 AM

  3. Hi Bagatheesh,
    The OM is quite deep and provides all the info but its a bit of work to get it.
    If you enumerate through the OperationDescription , for each of them you can find the MessageDescription , this then contains a MessagePropertyDescriptionCollection and the MessagePropertyDescription inside that will have the message properties.(Also be aware that the message can have multiple parts so the Type information is actually associated with the message part). For more information you can see the following MSDN page
    http://msdn.microsoft.com/en-us/library/system.servicemodel.description.messagepartdescription.name.aspx
    the sibling pages on that topic should have more info. If i get some time i will try and add that code to the post above or provide a sample, but cant promise that now..

    HTH,
    Benjy

    santoshbenjamin

    May 19, 2010 at 9:42 AM


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: