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!