Please help me get more than 15 results

Hello Team,
I want to get some help in getting more than 15 results.
I read some discussion forums and I figured out that I have to set “SetMaximumResultSize” to the desired number
but I couldn’t figure out how?
here is my script for invoking the webservice

stAuth = structNew(); stAuth.username = "XXXXX"; stAuth.password = "XXXXXXXXXXXXXXXXX"; stAuth.wsversion = 1; ws = createObject("webservice", "http://flightxml.flightaware.com/soap/FlightXML2/wsdl", stAuth); stFlightInfo = structNew(); stFlightInfo.howMany = 60; stFlightInfo.ident = "#form.vFlightNum#"; aFlightInfoStruct = ws.FlightInfo(stFlightInfo);

Can any one help where do add the URL for setting up the maximum results size ?

Thanks in advance

FYI I am using coldfusion
Thanks

I’m guessing you figured out the call to SetMaximumResultSize as I see your limit is now set to 100. So now you can set your howMany to <= 100 and if there are enough results you’ll get the number of results you’re expecting.

FYI that call for SetMaximumResultSize is http://flightxml.flightaware.com/soap/FlightXML2/SetMaximumResultSize and on your request object just set the max_size element to whatever limit you want.

Hello,
Where do you see that my limit is set to 100 ?
here is my script
I set my “how many” to 60.

stAuth = structNew();
stAuth.username = “XXXXXX”;
stAuth.password = “XXXXXXXXXXXXXXXXXXX”;
stAuth.wsversion = 1;
ws = createObject(“webservice”, “http://flightxml.flightaware.com/soap/FlightXML2/wsdl”, stAuth);
stFlightInfo = structNew();
stFlightInfo.howMany = 60;
stFlightInfo.ident = “#form.vFlightNum#”;
aFlightInfoStruct = ws.FlightInfo(stFlightInfo);

But unfortunately I see only 15 results

Please let me know if there is any change that I have to make for the above script

Please help me how to add the max_size variable in above script ?
Thanks

After testing with your account, I was able to retrieve more than 15 results searching for an airline flight. What were you searching for?

I am searching for a certain date range
but I couldn’t get the results for all of the dates selected

FYI

It’s possible that the SOAP library in ColdFusion is not properly sending the “howMany” argument in the SOAP request. Can you try to capture the raw XML that is being sent to our server by your application?

You may be able to enable a debug or verbose mode in your SOAP library to do this. Alternatively, you can use a network capture program (Wireshark, tcpdump, Network Monitor, etc) to capture the request being sent.