我正在使用wso2 EI 6.5.0在我的代理服务中,我需要获取这两个标签之间的元素<aa></aa>
xpath // tem:Request正在工作,但/ tem:Request / xDoc / aa
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
<soapenv:Header/>
<soapenv:Body>
<tem:Request>
<xDoc>
<aa>
<bb>
....
</bb>
<cc>
<Parameter>
......
</Parameter>
</cc>
</aa>
</xDoc>
</tem:Request>
</soapenv:Body>
</soapenv:Envelope>
您必须使用/ soapenv:Envelope / soapenv:Body / tem:Request / xDoc / aa