2013-06-19 27 views
0

我需要使用message-properties-transformer從mule中的以下soap有效負載中讀取wsse:Username(它是肥皂標題的一部分)的內容。 我想在其他地方使用這個變量。讀取有效負載中的肥皂標題元素

肥皂Webservice的要求:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:spel="http://mobistar.be/spellchecker/"> 
    <soapenv:Header> 
     <wsse:Security soapenv:mustUnderstand="1" > 
     <wsse:UsernameToken wsu:Id="UsernameToken-1"> 
      <wsse:Username>Tester01</wsse:Username> 
     </wsse:UsernameToken> 
     </wsse:Security> 
    </soapenv:Header> 
    <soapenv:Body> 
    <spel:CheckSpellingRequest> 
     <spel:Text>Please test this blabla</spel:Text> 
     </spel:CheckSpellingRequest> 
    </soapenv:Body> 
</soapenv:Envelope> 

請讓我知道,如果我們能在騾子實現這一目標?

回答