WCF

BizTalk and RabbitMQ

The same article in the TechNet. If you are working with queues in BizTalk Server, the most possible it is the MSMQ (in my experience). MSMQ is an old man of the Microsoft technology stack. It was created when there were no good standards for messaging. Now MSMQ is wrapped partly in the .NET System.Messaging namespace. It is just a small facelift. MSMQ is still a proprietary technology without well-defined messaging protocol. It means, you cannot use the MSMQ messaging protocol without MSMQ itself. ......

BizTalk and WCF adapters: Operation and SOAP Action

One area here is not so well documented. When we are filling in the Transport properties for WCF adapter, we see the SOAP Action header section. What is it? Where we could take the values for Operations and Actions? If we use the Consume WCF Service wizard, this section is filled up automatically. But sometimes we have to fill it in manually. NP Open a WSDL for the Web-service and search for a binding section. If you add the “?wsdl” to the Web-service URL, usually the Web-service WSDL is opened. ......

WCF: Questions for studying and interview: Routing Service

This article is a Part 5 of the Interview Questions series. Part 1: BizTalk: Questions for interview without answers Part 2: BizTalk: Interview questions and principles Part 3: WCF: Questions for studying and interviewPart 4: WCF: Questions for studying and interview: DiscoveryPart 5: WCF: Questions for studying and interview: Routing Service Part 6: BizTalk: Advanced Questions WCF, Routing Service Q&A • What are the features of the Routing Service (RS): Protocol bridging; Message transformation; ......

WCF: Questions for studying and interview: Discovery

This article is a Part 4 of the Interview Questions series. Part 1: BizTalk: Questions for interview without answers Part 2: BizTalk: Interview questions and principles Part 3: WCF: Questions for studying and interviewPart 4: WCF: Questions for studying and interview: DiscoveryPart 5: WCF: Questions for studying and interview: Routing Service Part 6: BizTalk: Advanced Questions Q&A: WCF, Discovery · When the WS-Discovery standard gets approval first time? · Is the WS-Discovery using the XML format ......

BizTalk and SQL: Alternatives to the SQL receive adapter. Using Msmq to receive SQL data

If we have to get data from the SQL database, the standard way is to use a receive port with SQL adapter. SQL receive adapter is a solicit-response adapter. It periodically polls the SQL database with queries. That’s only way it can work. Sometimes it is undesirable. With new WCF-SQL adapter we can use the lightweight approach but still with the same principle, the WCF-SQL adapter periodically solicits the database with queries to check for the new records. Imagine the situation when the new records ......

MVP Global Summit 2010. Pictures

It was a long ago. Smart guys from all across the world were in one place, at Microsoft campus. There are pictrures from the MVP (Microsoft Most Valuable Professional) Summit 2010 in Bellevue and Redmond, WA. All pictures are here: http://public.fotki.com/leo... Here are mostly BizTalk and CSD MVPs. See list of BizTalk MVP here https://mvp.support.microso... list of the Connected System Developer MVP ......

UDDI standard is a niche technology. Why?

New standard the UDDI was announced several years ago [see the history in Wikipedia]. The UDDI future was promising. I was sure for that. I thought, the future is for Web-services [WS], and it is. Isn’t that mean, we need services to search Web-services in internet, some Registries/Catalogs of the Web-services? How we could find the WS in internet? Google Search was not effective in this; it is still not effective now. By any means, the UDDI idea should win; all WS-s should work with UDDI Registers. ......

Book “SOA Patterns with BizTalk Server 2009” by Richard Seroter, review

Book “SOA Patterns with BizTalk Server 2009” by Richard Seroter, review Here is a page from publisher ([PACKT] Publishing) http://www.packtpub.com/soa... Questions: Who is the reader of this book? What is the knowledge and experience level of the reader? How good is the book structure? I think the reader should be a seasoned BizTalk developer. It is not for an entry level developer. This book is for architects, but for architects with wealthy knowledge of the BizTalk. ......

BizTalk WCF-BasicHttp adapter issue with http://www.w3.org/2001/XMLSchema namespace

BizTalk WCF-BasicHttp adapter issue with http://www.w3.org/2001/XMLS... namespace I am using the WCF-BasicHttp adapter to consume outer Web-service and getting the error (actually if I have retry>0, I am getting Warning first. See below: Event Type: Warning Event Source: BizTalk Server 2006 Event Category: BizTalk Server 2006 Event ID: 5743 Date: ... Time: ... User: ... Computer: ... Description: The adapter failed to transmit message going to send port "..." with URL "...". It will be retransmitted ......

WCF: Availability of the WCF services

The requirements look easy: We need to monitor the health of the WCF services, availability of the WCF services. Are they up or down? But we don't want to call operations of the service because it sometime could change the service internal status and these changes are out of our control. Some services have special Heartbeat() operation to make the health monitoring easily, but the most have not. We don't have to check the work status of the web-method. That means we don't care if some underlying ......

WCF: values disappeared in response: derived classes and serialization/deserialization order error

WCF: values disappeared in response: derived classes and serialization/deserialization order error This is a second article about errors with getting data from the web-services. "WCF: Deserialization error, the response elements disappeared" ( http://geekswithblogs.net/L... ) First time the whole elements disappeared from the response messages without any errors. Now only values of the elements disappeared. ......

WCF: Contract name is inconsistent on the client side

WCF: Contract name is inconsistent on the client side. Sometimes we’ve got a very clear fault message: <faultstring xml:lang="en-US">Could not find default endpoint element that references contract 'ServiceProvider_configurat... in the ServiceModel client configuration section. This might be because no configuration file was found for your application, or because no endpoint element matching this contract could be found in the client element.</faultstring> ......

Review "MCTS Self-Paced Training Kit (Exam 70-503): Microsoft .NET Framework 3.5 Windows Communication Foundation (PRO-Certification)"

Review "MCTS Self-Paced Training Kit (Exam 70-503): Microsoft .NET Framework 3.5 Windows Communication Foundation (PRO-Certification)" http://www.amazon.com/MCTS-... I like this series of books (SPTK - Self-Paced Training Kit) because the short theory here is always ended with real world examples. And these examples shows how the product is used in the real situations, to solve the ......

WCF: performance counter names

The WCF has such structure of the performance counter names: http://msdn.microsoft.com/e... ServiceName@ServiceBaseAddress (ServiceName).(ContractName... listener address) (ServiceName).(ContractName... endpoint listener address) In MSDN we have: "There is a limit on the length of a performance counter instance's name. When a Windows Communication Foundation (WCF) counter instance name exceeds the maximum length, WCF replaces a portion of the instance ......

WCF: A utility to change all URLs in .config files by one click

Hello, Before Dublin is in charge, especially the Repository for the Web-services I'm using the custom code to manage the buzz with many URLs in Web.config files There is a utility to change all URLs in .config files by one click. http://www.codeplex.com/Fil... 1. Purpose. In my current project we've got a lot of composite WCF-services. We have several environments: Development,Test1, Test2, Production. We don't have the service repository. That means when we move the services from ......

WCF: Main Types: Outline

Notes · Bindings are spread across several namespaces. · DataContractAttribute is placed in the System.Runtime.Serialization namespace not in the System.ServiceModel namespace. · Configuration sections are spread across several namespaces. · ClientSection and ServicesSection: First has the structure client/endpoint, the second – services/service/endpoint. Asymmetric. System.ServiceModel.dll System.ServiceModel · ServiceHost · ChannelFactory<TChannel> · ClientBase<TChannel> Contracts: ......

WCF: Set up environment to use Transport level security (SSL)

We should install the certificate to the server that hosts the services with Transport level security. For tests we could use the self-made certificate, for production we recommend to use the certificate issued by the industrial certificate provider as the VeriSign. 1. Install Microsoft .NET Framework 2.0 Software Development Kit (SDK) (x64) [http://www.microsoft.com/d... It is installed by default to the "C:\Program ......

WCF: Data contract names: don't use names with "Response" and "Request" suffixes!

After creating simple WCF service I've got strange errors (see below). The issue was in the names of the response messages. I used the simple custom rule to name request and response messages (.NET DataContract classes): <OperationName>Request and <OperationName>Response For instance I created GetTokenResponse class for the response message of the GetToken operation. And this is the wrong rule! Why? Because the WCF creates these names for the WSDL metadata files: For instance I've got: ......

WCF: Technique of debugging inconsistency between Wsdl and Response messages.

WCF: Technique of debugging inconsistency between Wsdl and Response messages. I was working with several web-services as a client and had several issues the same kind. WSDL of this services does not conform the Response messages (See below. I’ve bolded the text related to the issue.). I fixed this issue by changing proxy code. It is not a big issue but now we have to manually change proxy every time we have updated the proxy of this service. Here the checklist how debugging this case: [The proxy ......

WCF: This rigid XML

Very interesting thread: "Am I wrong about WCF usage?" http://forums.microsoft.com... There are the complains about WCF. Why Microsoft looks at the future only with loose-coupled WCF and depreciates the Remoting technology? My experience is from the BizTalk side. It's interesting that we have similar issues. For example, using contracts in the current formats tends to be rigid. What I need in the many cases from the data/message contracts is ......

Full WCF Archive