soa-model icon indicating copy to clipboard operation
soa-model copied to clipboard

Accessing children of BindingInputs

Open KevinMitchell opened this issue 8 years ago • 2 comments

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

KevinMitchell avatar Jul 09 '16 08:07 KevinMitchell

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

Regards, Sudhakar Mallela Email: [email protected]

sudhakarmallela avatar Aug 31 '16 06:08 sudhakarmallela

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.

rohit1212s avatar Sep 05 '22 19:09 rohit1212s