Getting action input parameters
Closed this issue · 0 comments
AlexeyKrasnoperov commented
Hello.
I'm using handsoap gem for SOAP interactions and I want to get list of input params for a selected action.
For example, action showExample is defined below:
...
<xs:schema xmlns:ax232="..." xmlns:ax234="..." attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="...">
...
<xs:element name="showExample">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="UserField1" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="UserField2" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="UserField3" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
...
</xs:schema>
...
</wsdl:types>
How can I get ['UserField1', 'UserField2', 'UserField3'] automatically for any action I specify?
Regards, Alex.