I'm attempt to create an xpath expression that will return the value of the soapAction attribute for a given operation within a WSDL file. Here is a piece of the WSDL file:
<wsdl
peration name="ProcessNA">
<soap
peration soapAction=" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl
utput>
<soap:body use="literal" />
</wsdl
utput>
</wsdl
peration>
The following xpath expression does return the soapAction attribute, but it is messy. I'm wondering if anyone can come up with a cleaner xpath expression that does the same thing.
//wsdl
peration[@name='ProcessNA']/*[@soapAction!='']/@soapAction
<wsdl
<soap
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl
<soap:body use="literal" />
</wsdl
</wsdl
The following xpath expression does return the soapAction attribute, but it is messy. I'm wondering if anyone can come up with a cleaner xpath expression that does the same thing.
//wsdl