# WSDL interface query with soap4r

**URL:** <https://www.ruby-forum.com/t/wsdl-interface-query-with-soap4r/132944>\
**Category:** Ruby\
**Created:** [March 26, 2008, 1:11am UTC](https://www.ruby-forum.com/t/wsdl-interface-query-with-soap4r/132944 "2008-03-26T01:11:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Benjohn\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/e5b9ba/32.png) [@Benjohn\_B](https://www.ruby-forum.com/u/Benjohn_B)\
**Post date:** [March 26, 2008, 1:11am UTC](https://www.ruby-forum.com/t/wsdl-interface-query-with-soap4r/132944/1 "2008-03-26T01:11:49Z")

</div>

Does the soap4r gem support reflection / query of the wsdl interface?  
I’d like to query the methods available in a driver, the arguments they  
take, and the structures they return.

If I can get this information out, I think I can automatically (with a  
few judicious hints supplied) build an SQL schema that will accommodate  
the returned data. I should also be able to generate the necessary  
methods for inserting in the tables, and any other junk that I don’t  
want to hand code.

At the moment I’m making a request and then examining the result to see  
what the types of its elements seem to be, which isn’t ideal.

Cheers,  
Benjohn
