Novice User


Hi,
I just started using MSN Adcenter API and trying to run examples given in the document. I got "NoSuchMethod" Error when I try to access CustomerManagementSoap object. Can some one please help me in this

Here is the error that I am getting:
java.lang.NoSuchMethodError: org.apache.axis.description.ParameterDesc.setOmittable(Z)V
at com.microsoft.adcenter.syncapis.CustomerManagementSoapStub._initOperationDesc1(CustomerManagementSoapStub.java:44)
at com.microsoft.adcenter.syncapis.CustomerManagementSoapStub.<clinit>(CustomerManagementSoapStub.java:20)
at com.microsoft.adcenter.syncapis.CustomerManagementLocator.getCustomerManagementSoap(CustomerManagementLocator.java:55)

I was trying code shown in http://msdn2.microsoft.com/en-us/library/bb267277.aspx
Please some one help me in this regard.

Thanks in Advance



Re: NoSuchMethodError while getting CustomerManagementSoap Object

Julien Dephix


Hi there,

what method are you trying to use
You need to make sure it is in the WSDL.






Re: NoSuchMethodError while getting CustomerManagementSoap Object

Novice User

I found the reason why it happened. It is because of axis version mismatch. Suppose, if a different axis version is used while creating stub files (using WSDL2Java) and a different axis version, while running code, it happens.