#1
Posted 05 February 2014 - 11:45 PM
#2
Posted 06 February 2014 - 11:50 PM
I started out using the DPWS client to call the WCF service. However, I discovered that the Netduino firmware does not include an XML reader. This means that the Netduino can send a message to the WCF service, but can't receive a reply (throws a NotSupportedException).
My solution was to expose the WCF service methods as web methods using JSON serialization - you can then use the built in HTTP library to call the service, and there are some fairly good JSON libraries available for NETMF to deal with data transfer (such as Json.NetMF).
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users