私はTryItとSoapUIを介して正しくテストするデータサービスを作成しました。私はガジェットにそれを含めるしようとすると、しかし、私はいつもこのエラーが出る:WSO2ガジェットが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に基づいています。操作はパラメータを必要としないことに注意してください。しかし、私は成功のないペイロードのすべての変種を試しました。