Leon Meijer's Weblog

About my personal life, technology and business/work related...
posts - 129, comments - 334, trackbacks - 0

Communication between my .NET CF application and BizTalk/InfoPath doesn't work as expected

I developed an application a while ago (more about this soon) for Windows Mobile. This app uses the .NET Compact Framework and connects via web services to a BizTalk WCF (BasicHttpBinding) adapter.

The XML schema on the BizTalk side is actually an InfoPath schema for an eForm that I created. The mobile application is just another front end for the InfoPath form. BizTalk receives the XML message from the smart device and sends it to a SharePoint Forms library (PassTruTransmit). The 'Office Integration' property of the WSS Adapter in BizTalk is enabled.

The problem I'm facing is that this works great from Windows Mobile 6 devices, but not with Windows Mobile 5. WM6 contains the .NET Compact Framework 2.0 out of the box where WM5 contains only .NET CF 1.0. But I installed the .NET CF 2.0 (also SP1) on this WM 5.0 device and still the same result.

This is what happens: the mobile application on WM5 sends the message successful to the BizTalk WCF adapter. And BizTalk does a good job with moving and translating this message to an InfoPath form and uploads it to the SharePoint library. But for some reason, the Xml document that is on SharePoint contains the data in another sequence as expected. With WM6 it works super. But with WM5 the sequence is messed up and InfoPath doesn't allow the form to be opened.

If somebody has an idea, please let me know!

Print | posted on Wednesday, March 05, 2008 6:11 PM |

Powered by: