簡體   English   中英

如何在調用使用 SOAP 的外部 Web 服務后獲得響應。 - 動態 AX 2012 R3

[英]How to get a response after calling an external Web Service that's using SOAP. - Dynamics AX 2012 R3

我正在使用我在 Visual Studio 中創建的服務參考在 Dynamics AX 2012 中使用外部 Web 服務,Visual Studio.dll 文件已部署到我的 AX AOT。 這使我可以在 AX 中引用從 Web 服務調用相關服務。

I have created a class to call the web service to which i pass data from several tables, build a 'body' of data that the Web Service requires and then i send this body of data using the relevant Request service from the web service.

但是,當發送數據時,我很難理解如果一切正常或出現錯誤,我如何從服務器獲得響應。 目前數據發送正常,但沒有得到任何回復。

Web 服務是 SOAP 信封服務,具有將數據傳遞到的參考值,例如,

<iItemNumber>Int</iItemNumber> <sItemDescription>String</sItemDescription>

無論如何我可以在 AX 中得到響應,然后知道是否從服務器接收到一切正常?

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM