20170325 ABAP調用webservice

來源:互聯網
上載者:User

標籤:需要   checkbox   check   自動   --   blog   abap   輸入   sdl   

轉自:http://www.cnblogs.com/SolisOculus/archive/2013/04/01/2993198.html

 

在ABAP中調用Webservice

    1.建立Proxy

  •      se80 -->右鍵點擊包名,選擇Create --> Enterprice Service/ Web Service --> Proxy Object
  •      在Proxy Object中選擇URL/HTTP Destination
  •      URL:輸入WSDL檔案的URL地址 / HTTP:輸入RFC名和服務路徑
  •      輸入登入Web Service伺服器的使用者名稱和密碼
  •      輸入要建立的Web Service用戶端代理對象所屬的包名和首碼
  •      儲存,啟用

    2. 建立Logical Port (tcode:lpconfig)

  •     指定剛產生Proxy Class
  •     輸入邏輯連接埠號碼
  •     如果需要將該連接埠設定為預設連接埠,選中Checkbox
  •     點擊建立。

    3.建立程式

      在se80中,將Proxy拖入到workbench中,自動產生代碼架構,根據自己需求進行簡單的修改

20170325 ABAP調用webservice

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.