membrane / soa-model

Toolkit and Java API for WSDL, WADL and XML Schema.
http://www.membrane-soa.org/soa-model/
Apache License 2.0
94 stars 73 forks source link

Accessing children of BindingInputs #250

Open KevinMitchell opened 8 years ago

KevinMitchell commented 8 years ago

I'm probably doing something really dumb here. But suppose a fragment of my WSDL looks like this:

   <wsdl:binding name="CurrencyConvertorHttpGet" type="tns:CurrencyConvertorHttpGet">
      <http:binding verb="GET"/>
      <wsdl:operation name="ConversionRate">
         <http:operation location="/ConversionRate"/>
         <wsdl:input>
            <http:urlEncoded/>
         </wsdl:input>
         <wsdl:output>
            <mime:mimeXml part="Body"/>
         </wsdl:output>
      </wsdl:operation>
   </wsdl:binding>

When traversing the parsed model I can get as far as the com.predic8.wsdl.BindingInput element. But how do I drill down further to access the <http:urlEncoded/> element in this case? Similarly for the <wsdl:output> child element.

Thanks, Kevin

sudhakarmallela commented 8 years ago

Please let me know if you find a solution for this . Thanks in advance.

Regards, Sudhakar Mallela Email: sudhakar.mallela@igt.in

rohit1212s commented 1 year ago

Hi, I am also facing same issue and not able to generate soap request based on some type of child binding. Please let me know if someone found the solution for this. I have been struggling for this issue from last 1 month and not able to find a proper solution. Please help if there is a solution for this.