hi
I am converting wsdl to java using following wsdl
https://074-UIN-407.mktoapi.com/soap/mktows/2_1?WSDL
Adding jar created of the java classes in my project.
I am trying to call listMObject(ParamsListMObjects) method. However I am getting following exception
20012 - Request not understood
Request does appear to conform to WSDL (20012)
I am not having any idea why I am getting that is it because of not authenticating? if yes then how I can authenticate it? and ParamsListMObjects I am just creating object of this and passing to listMObject.
Thanks
Hi bgomes
Thanks for your reply.
I tried java example
https://community.marketo.com/MarketoArticle?id=kA050000000KzVNCA0
however when I am trying to call listMObject from example it have two parameters 1. params 2. authentication header
listMObject(ParamsListMObjects,AuthenticationHeader)
whereas if I create java classes from wsdl https://074-UIN-407.mktoapi.com/soap/mktows/2_1?WSDL
then listMObject have only one parameter listMObject(ParamsListMObjects) so where I can pass authentication header info if I want to use above wsdl?
Hi bgomes
I am able to set authentication header. Following code I have written