PayPal WSDL API on Rails anyone ?

Have you guys had any success? I have my hands full right this
minute, but I can put together an example next week, if that would
help.
Joe

Joe,

Well, I have an example, but it doesn't work.

I'm putting my notes at
http://www.bodkinconsulting.com/wiki/index.php?title=MassPay#Mass_Pay_-_The_PayPal_Bulk_Payments_Tool

Can you look at this and tell me why this generates NO request xml?

Thanks,
Joe

  def send_masspay
      massPayReq = MassPayReq.new
      massPayRequest = MassPayRequestType.new
      massPayReq = massPayRequest
      massPayRequest.version = "2.0"

      massPayItems = []
      massPayRequest.massPayItem = massPayItems
      massPayItems[0] = MassPayRequestItemType.new
      massPayItems[0].receiverEmail=params[:receiverEmail1]
      massPayItems[0].amount = AmountType.new(params[:amount1] )
      massPayItems[0].amount.xmlattr_currencyID = 'USD'
      massPayItems[0].note = params[:note1]

      massPayItems[1] = MassPayRequestItemType.new
      massPayItems[1].receiverEmail=params[:receiverEmail2]
      massPayItems[1].amount = AmountType.new(params[:amount2] )
      massPayItems[1].amount.xmlattr_currencyID = 'USD'
      massPayItems[1].note = params[:note2]

      paypalClient = PayPalHttpClient.new.client_setup
      @resp = paypalClient.massPay(massPayReq)
  end