SOAP API method errors

1 visualizzazione (ultimi 30 giorni)
Philip  Spratt
Philip Spratt il 14 Giu 2013
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

Risposte (0)

Categorie

Scopri di più su Migrate GUIDE Apps in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by