I have a mashup I need to d with a site that uses xmlrpc. I am trying
to understand the the call method.  I have the following items that
need to be passed to the remote site.

methodName
and the following structure
   ID - string
   area - string
   views = array of strings

I know what the xml should look like
<methodCall>
  <methodName>lists</methodName>
  <params>
    <param>
      <value>
        <struct>
          <member>
                <name>id</name>
                <value>
                   <string>12345</string>
                </value>
           </member>
           <member>
                <name>list</name>
                <value>
                    <string>district</string>
                </value>
            </member>
            <member>
                <name>View</name>
                <value>
                    <array>
                        <data>
                            <value>
                                <string>Ocean</string>
                            </value>
                            <value>
                                <string>Mountain</string>
                            </value>
                            <value>
                                <string>Golf Course</string>
                           </value>
                           <value>
                                <string>Garden View</string>
                           </value>
                        </data>
                    </array>
                </value>
              </member>
           </struct>
        </value>
    </param>
  </params>
</methodCall>

I have results from various inputs from the view for the value. I am
trying to figure out how to create the xml structure and how to use it
in the XMLRPC call.

Any help?

Don French


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to