SAP PI soap 方式 頭部 傳輸 wsse:Security wsse:UsernameToken


使用soap 方式傳輸數據 wsdl 文件頭部 使用 wsse 如下圖

可以用PI axis 實現

 

Number Module  Name Type Module Key
1 AF_Adapters/axis/AFAdapterBean Local Enterprise Bean afreq
2 AF_Adapters/axis/HandlerBean Local Enterprise Bean xireq
3 AF_Adapters/axis/HandlerBean Local Enterprise Bean wssec
4 AF_Adapters/axis/HandlerBean Local Enterprise Bean trp
5 AF_Adapters/axis/HandlerBean Local Enterprise Bean xires
6 AF_Adapters/axis/AFAdapterBean Local Enterprise Bean afres

 

 

 

 

 

 

Module key Parameter Name Parameter Value
trp handler.type java:com.sap.aii.adapter.axis.ra.transport.http.HTTPSender
trp module.pivot true
wssec action UsernameToken
wssec handler.type java:com.sap.aii.adapter.axis.ra.handlers.security.WSDoAllSender
wssec passwordType PasswordText
wssec pwd.password *****    =    ***** (此處填寫密碼)
wssec user xxxx  (此處填寫 username)
xireq handler.type java:com.sap.aii.axis.xi.XI30OutboundHandler
xires handler.type java:com.sap.aii.axis.xi.XI30OutboundHandler

 

 

 

 

 

 

 

 

在ID里面填寫內容之前 首先要保證 AXIS環境 已經部署

http://hostname:5XX00/XIAxisAdapter/MessageServlet  (查驗地址)

 

 當STATUS 為OK時說明配置成功  error 說明沒有AXIS環境

詳細部署步驟可參考鏈接

https://blogs.sap.com/2009/08/26/adding-usernametoken-timestamp-in-soap-adapter-using-axis-framework/
https://help.sap.com/viewer/5cf7d2de571a45cc81f91261668b7361/7.31.25/en-US/69a6fb3fea9df028e10000000a1550b0.html
https://blogs.sap.com/2015/10/28/axis-adapter-installation-process-sap-pi-731/

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM