I have fixed a whole buch of problems the solution is not that great and 
I am searching or a better way this is the solution I found

-----------------
#!/usr/bin/env ruby

require 'rubygems'
require 'defaultDriver.rb'

obj = TMService.new()
obj.generate_explicit_type = true
obj.wiredump_dev = STDERR

ele = SOAP::SOAPElement.new("tms:getSubscriber")
ele0 = SOAP::SOAPElement.new("authInfo") ele0.extraattr["xsi:type"] = 
"impl:AuthInfo"

ele1 = SOAP::SOAPElement.new("organization")
ele1.extraattr["xsi:type"] = "xsd:string"
ele1.text = "[#####]"
ele2 = SOAP::SOAPElement.new("password") ele2.extraattr["xsi:type"] = 
"xsd:string"
ele2.text = "[#####]"
ele3 = SOAP::SOAPElement.new("username") ele3.extraattr["xsi:type"] = 
"xsd:string"
ele3.text = "[#####]"

ele4 = SOAP::SOAPElement.new("databaseId")
ele4.extraattr["xsi:type"] = "xsd:string"
ele4.text = "Plb"
ele5 = SOAP::SOAPElement.new("uid")
ele5.extraattr["xsi:type"] = "xsd:string"
ele5.text = "crap"
ele6 = SOAP::SOAPElement.new("email")
ele6.extraattr["xsi:type"] = "xsd:string"
ele6.text = "[EMAIL PROTECTED]"

ele0.add(ele1)
ele0.add(ele2)
ele0.add(ele3)
ele.add(ele0)
ele.add(ele4)
ele.add(ele5)
ele.add(ele6)

response = obj.getSubscriber(ele)
-------------------

The only thin I have left to do is adding some namespaces which ain't 
that difficult and change the env:Envelope and env:Body to soap:Envelope 
and soap:Body

Any ideas ???
-- 
Posted via http://www.ruby-forum.com/.

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

Reply via email to