I've tried the documentation, google and this list twice but still can't find the answer to get my direct to webservices app to return more than 100 results from a fetch. In the SOAP response I see this, indicating that the array can only hold 100 records:
<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"> <soapenv:Body> <ns1:ActiveDealersResponse soapenv:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\" xmlns:ns1=\"http://216.139.221.142/Apps/WebObjects/twcWS.woa/ws/Dealers\"> <return xsi:type=\"soapenc:Array\" soapenc:arrayType=\"xsd:anyType[100]\" xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"> <item xsi:type=\"soapenc:Struct\" xmlns:ns2=\"http://www.apple.com/webobjects/webservices/soap/\"> <drmId xsi:type=\"xsd:int\">100004</drmId> <sxId xsi:type=\"xsd:string\">1111</sxId> <companyName xsi:type=\"xsd:string\">NELSON, JEFF</companyName> <shipAddress xsi:type=\"xsd:string\">THE WINE COMPANY</shipAddress> <shipCity xsi:type=\"xsd:string\">MINNEAPOLIS</shipCity> <shipState xsi:type=\"xsd:string\">MN</shipState> <shipZipCode xsi:type=\"xsd:string\">55414</shipZipCode> <emailAddress xsi:type=\"xsd:string\">[EMAIL PROTECTED]</emailAddress> <url xsi:type=\"xsd:string\"></url> <phone1 xsi:type=\"xsd:string\">952-908-0818</phone1> </item> ~~~ </return> </ns1:ActiveDealersResponse> </soapenv:Body> </soapenv:Envelope> In the documentation it says to set a fetchLimit rule in RuleEditor and this seems the same for d2w. That's it.. no more detail. I tried this. I have a Direct to WebServices app that is supposed to return all dealers in a table but returns the default limit of 100. I've tried incorporating the FetchLimit key in a custom d2w.d2wmodel as described in the documentation but haven't managed more than 100 returned. I need some help or pointing to better documentation please. Here is how my rule looks in the d2w.d2wmodel: LHS: (operationName = 'ActiveDealers') RHS: Class: Assignment Key: FetchLimit Priority: 100 Value: "2000" Thank you. ________________________________________________________________________ Email and AIM finally together. You've gotta check out free AOL Mail! - http://mail.aol.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
