You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Java queryCSV() client stub method signature does not match the docs

edited Aug 25, 2016 2:26PM in Integrations and APIs


I am trying to execute an ROQL query to return a binary result using the MTOM parameters.   According to the docs the signature from the wsdl should be: ( + a clientInfoHeader param):

CSVTableSet = Binding.QueryCSV(string Query, int PageSize, string Delimiter, bool ReturnRawResult, bool DisableMTOM, out byte[] FileData);

I am using Netbeans 8.1 with Axis 2 1.6.2 and wss4j 1.6.19 libraries. I've built the client stub jar file using the Ant build script in the docs. So far everything is working apart from the binary version of queryCSV. The method signature that I get for queryCSV is:

QueryCSVResponseMsg queryCSV(String queryString, int PageSize, String Delimiter, boolean returnRawResult, boolean disableMTOM, ClientInfoHeader clientInfoHeader)

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!