IM試圖瞭解AxiomSoapMessageFactory
手柄請求(身體&附件),但我不如何理解某些點(或他們也許擁有)春天WS - AxiomSoapMessage及與MTOM附件是內聯
我使用AxioSoapMessageFactory
「米像這樣:
<bean id="messageFactory" class="org.springframework.ws.soap.axiom.AxiomSoapMessageFactory">
<property name="payloadCaching" value="true"/>
<property name="attachmentCaching" value="true"/>
</bean>
這裏是點:
我有想到,AxiomSoapMessage
將包含:
- 在
axiomMessage
屬性SoapMessage
喜歡在我的要求下 - 在
attachments
property.This一個存儲在拜(attachmentCaching=true
)
temp目錄但附件附件是這一翻譯在線請參閱this screenshot
因此爲什麼附件內嵌像這裏?攔截器會看到什麼?如果attachmentCaching
(見上文)設置爲true,那麼有內嵌附件的好處是什麼?
我知道我應該在春季論壇上提出這個問題,但似乎在答案上幾乎是死亡。 在此先感謝您的幫助!