Edit Soap message header for WSDL web service
Mostra commenti meno recenti
I am trying to call a web service which requires Authentication with Matlab 2015b. I successfully created the class files using the matlab.wsdl.createWSDLClient(_,options), where options is a weboptions object, containing Username and Password. However,because i cannot pass the authentication when calling the service, I get an error - Java exception occurred: com.sun.xml.internal.ws.client.ClientTransportException: The server sent HTTP status code 401: Access Denied
I understand that a way of getting round this is including the security credentials in the SOAP message header. I dont know how to do this in MATLAB or where the SOAP message is located. Any help on how to solve this problem will be greatly appreciated.
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Call Web Services from MATLAB Using WSDL in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!