I have an orchestration that calls a WCF service. It uses the default configuration (BindingInfo.xml WsHttp) created using “Add Generated Items->Consume WCF Service” option in Biztalk. For the most part it works without a problem except when I pass certain data. Looking at the data nothing jumps out but I get this error (below). When you cut the repeating elements from the front and the back in the xml the calls gets through. This means it is not the data that is causing the issue. However, when I look at the size of the XML file, the problem seems to be cropping up when the size is around 46,316 bytes.
I also tried changing the pipeline to XMLTransmit but no luck there either. I get the same error.
The size of the message was indeed the issue. The problem was not at the BizTalk end but the WCF service end. The WCF service by default accepts a message that is 64K long (I am assuming this is an all inclusive size). All I had to do was to add a binding to the called WCF service specifiying the right size for maxReceivedMessageSize parameter.
Author
Posts
Viewing 1 reply thread
The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.