Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

XML-RPC with .net mirco framework - howto ?


  • Please log in to reply
2 replies to this topic

#1 as123

as123

    New Member

  • Members
  • Pip
  • 1 posts

Posted 30 May 2011 - 01:11 AM

Hello, I need to set up a communication from the netduino plus to an existing XML-RPC Service. More info could be found here: http://www.xmlrpc.com/ I tried to use the wellknown .net implementation from Charles Cook. http://www.cookcompu...blog/index.html Unfortunatly the build failed, it seems that the implementation from Charles Cook doesn´t run on .net MF. The same code works fine in a console application. Has somebody experience with XML-RPC implementations on .net MF ? Thanks for your support Andy

#2 Valkyrie-MT

Valkyrie-MT

    Advanced Member

  • Members
  • PipPipPip
  • 315 posts
  • LocationIndiana, USA

Posted 31 May 2011 - 12:02 AM

Unfortunately, virtually nothing written for standard .NET Framework, will compile against the .NET Micro Framework without significantly refactoring/fixing. On Netduino, it might help to do things a bit more simplistically... I've worked mostly with SOAP and REST, not XML-RPC, but if you are calling the same remote procedure over and over, what I would do is get your working version from the PC and capture the request message using Fiddler2 (when calling your specific XML-RPC Method). Then, take the request and replace the pieces that change with variables and send the string using something like the HttpGet method here.

Like I said, I've never done XML-RPC, but that's how I would approach it...

-Valkyrie-MT

#3 Vishal Kaushik

Vishal Kaushik

    Member

  • Members
  • PipPip
  • 16 posts
  • LocationGhaziabad, India

Posted 05 December 2011 - 08:59 AM

Hello,

I need to set up a communication from the netduino plus to an existing XML-RPC Service.
More info could be found here: http://www.xmlrpc.com/

I tried to use the wellknown .net implementation from Charles Cook.
http://www.cookcompu...blog/index.html

Unfortunatly the build failed, it seems that the implementation from Charles Cook doesn´t run on .net MF.
The same code works fine in a console application.

Has somebody experience with XML-RPC implementations on .net MF ?

Thanks for your support
Andy


Did you get a solution for this? If so can you please share your experiance?

You may probably like to see my work Kaushik SPOT Services for .NET Micro Framework. If RPC did not work for you, you may see how this fits in to what you want.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.