我已經創建了一個數據服務,它通過TryIt和SoapUI正確地進行測試。然而,當我試圖把它列入到一個小工具,我總是得到這樣的錯誤:WSO2 Gadget無法訪問SOAP有效載荷
"An error occurred while relaying a SOAP payload, to end point https://data.stratoslive.wso2.com/services/t/inova8.com/ProductVendorDataService.SOAP11Endpoint/ " The gadget includes this fragment: function doSOAPCall(){ var endpoint = " https://data.stratoslive.wso2.com/services/t/inova8.com/ProductVendorDataService.SOAP11Endpoint/ "; var payload = ""; var operation = "urn:getproduct"; document.getElementById("response-disp").innerHTML = wso2.io.makeSOAPRequest(endpoint, operation, payload); }
數據服務是基於例如http://wso2.org/library/tutorials/2011/11/expose-your-cloud-data-as-rdf-data-model。請注意,該操作不需要任何參數,但我已經嘗試了有效負載的每個變體而沒有成功。