2013-06-19 3 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> 

우리가 노새에이를 수 있는지 알려주세요?

답변

1

이 또한 사용 set-variable, set-session-variable 또는 set-property 대신 이전 message-properties-transformer입니다.