如何使用xpath从cxf原始消息中检索值

如何使用xpath从cxf原始消息中检索值,xpath,soap,cxf,Xpath,Soap,Cxf,下面是我在SpringDSL中针对驼峰上下文的代码片段。我能找回 来自有效负载消息的值,但无法使用RAW检索。有没有任何方法可以从原始消息(SOAP请求XML)中检索值 <cxf:cxfEndpoint address="/xxx/xxx/xxx/xxx/" endpointName="vi:nameService" id="SOAPInput" serviceName="vi:nameService" wsdlURL="wsdl/name.wsdl" xmlns:vi="http:/

下面是我在SpringDSL中针对驼峰上下文的代码片段。我能找回 来自有效负载消息的值,但无法使用RAW检索。有没有任何方法可以从原始消息(SOAP请求XML)中检索值

<cxf:cxfEndpoint address="/xxx/xxx/xxx/xxx/" endpointName="vi:nameService" id="SOAPInput"
  serviceName="vi:nameService" wsdlURL="wsdl/name.wsdl" xmlns:vi="http://services.visa.com/xx/xx/xx/xxx">
    <camelContext id="camelContext" xmlns="http://camel.apache.org/schema/spring"> 
        <from id="Listener" uri="cxf:bean:SOAPInput?dataFormat=RAW"/>
        <setProperty id="setName" propertyName="name">
            <xpath resultType="java.lang.String" trim="false">/*/*/*/v1:getname/name/text()</xpath>
        </setProperty>

/*/*/*/v1:getname/name/text()