Hi Guys,
I'm trying to figure out how to create an XML request using Ruby. I need to
define a set amount of fields within the request and post it to a specific
host and port. I'm new to Ruby and am not really sure on how I could do
this. Suggestions?
~Myles
For creating XML, I suggest looking at REXML
(http://www.ruby-doc.org/stdlib/libdoc/rexml/rdoc/index.html\) or ERB
(http://www.ruby-doc.org/stdlib/libdoc/erb/rdoc/index.html\).
···
On 06/03/07, Donald Musser <dmjmusser@gmail.com> wrote:
Hi Guys,
I'm trying to figure out how to create an XML request using Ruby. I need to
define a set amount of fields within the request and post it to a specific
host and port. I'm new to Ruby and am not really sure on how I could do
this. Suggestions?
~Myles
Donald Musser wrote:
Hi Guys,
I'm trying to figure out how to create an XML request using Ruby. I need to
define a set amount of fields within the request and post it to a specific
host and port. I'm new to Ruby and am not really sure on how I could do
this. Suggestions?
Is this for a specific protocol, like SOAP or XMLRPC? They both have wrapper libraries which could be useful.
···
--
Alex
I don't think so...just a simple XML request that I post to a URL and port.
···
On 3/6/07, Alex Young <alex@blackkettle.org> wrote:
Donald Musser wrote:
> Hi Guys,
>
> I'm trying to figure out how to create an XML request using Ruby. I need
to
> define a set amount of fields within the request and post it to a
specific
> host and port. I'm new to Ruby and am not really sure on how I could do
> this. Suggestions?
Is this for a specific protocol, like SOAP or XMLRPC? They both have
wrapper libraries which could be useful.
--
Alex
Net/HTTP, REXML (or XmlSimple), open-uri are all libraries that allow you to
send XML content over HTTP POST.
···
On 3/6/07, Donald Musser <dmjmusser@gmail.com> wrote:
I don't think so...just a simple XML request that I post to a URL and port.