Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
SOAP simple and complex types
Andrew Nisbet
3/4/2009 5:35:00 PM
I am hoping someone can point me in the right direction here. I am
trying to put together a soap client that has some pretty complex
messaging structures, and I have run into a problem with how to pass
data that isn't a native type(int,string,etc)
here is a sample of what the XML should look like
<!--element name=TRANS-NUM type=unit:RPC-trans minOccurs=1
maxOccurs=1 -->
<!--simpleType name=RPC-trans base=xsd:unsignedInt -->
<TRANS-NUM>XX</TRANS-NUM>
if I try to pass the value to the a method like this
arguments = {"TRANS-NUM" =>rpc_trans}
parameters = {"args" => arguments}
puts obj.method(parameters)
I get <TRANS-NUM xsi:nil="true"></TRANS-NUM> I looked through all of
the files generated by wsdl2ruby.rb, and I don't see that any RPC-trans
or TRANS-NUM classes
were generated, so I am unsure how to make this work. Does anyone have
any ideas?
Thanks
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
SOAP simple and complex types
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password