SOAP API method errors
1 回表示 (過去 30 日間)
古いコメントを表示
Can anyone tell me whether the below SOAP method looks correct. To me it seems this autogenerated method does not contain the correct information, but I may be wrong. I am trying to understand whether it is my script which is wrong or the SOAP method.
function result = SpectrumMatch(obj,SpectrumMatchRequest) %SpectrumMatch(obj,SpectrumMatchRequest) % % Input: % SpectrumMatchRequest = (SpectrumMatchRequest) % % Output: % result = (spectrumLineInfo)
% Build up the argument lists. values = { ... SpectrumMatchRequest, ... }; names = { ... 'SpectrumMatchRequest', ... }; types = { ... 'SpectrumMatchRequest', ... };
% Create the message, make the call, and convert the response into a variable. soapMessage = createSoapMessage( ... 'Metlin', ... 'SpectrumMatch', ... values,names,types,'rpc'); response = callSoapService( ... obj.endpoint, ... 'SOAP/Metlin#SpectrumMatch', ... soapMessage); result = parseSoapResponse(response);
The errors I get are:
??? Error using ==> callSoapService at 130 SOAP Fault: SOAP-ERROR: Encoding: Cannot find encoding
Error in ==> MetlinService.SpectrumMatch at 26 response = callSoapService( ...
Error in ==> MetlinQuery at 38 results = SpectrumMatch(obj,SpectrumMatchRequest);
Error in ==> PRS_VIEW_PLSDA_LOADINGS_v4ps>Export2MSfile_Callback at 1362 METLINHITS = MetlinQuery(mzs, intensities, ionMode);
Error in ==> gui_mainfcn at 96 feval(varargin{:});
Error in ==> PRS_VIEW_PLSDA_LOADINGS_v4ps at 44 gui_mainfcn(gui_State, varargin{:});
Error in ==> guidemfile>@(hObject,eventdata)PRS_VIEW_PLSDA_LOADINGS_v4ps('Export2MSfile_Callback',hObject,eventdata,guidata(hObject))
??? Error while evaluating uicontrol Callback % code end
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Migrate GUIDE Apps についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!