• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Totally stuck on FetchLimit in RuleEditor; HELP
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Totally stuck on FetchLimit in RuleEditor; HELP


  • Subject: Totally stuck on FetchLimit in RuleEditor; HELP
  • From: email@hidden
  • Date: Sun, 21 Oct 2007 23:47:51 -0400

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@hidden</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!
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Deeper down the rabbit hole (Was: MainBundle.woa?)
  • Next by Date: Background threads and maintenance applications - how to terminate them safely?
  • Previous by thread: Re: Deeper down the rabbit hole (Was: MainBundle.woa?)
  • Next by thread: Background threads and maintenance applications - how to terminate them safely?
  • Index(es):
    • Date
    • Thread