Changeset 6713


Ignore:
Timestamp:
09/03/10 21:51:10 (9 years ago)
Author:
sdonegan
Message:

updated with client IP info to add to soap request

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ndgCommon/trunk/ndg/common/src/clients/ws/discovery/discoveryserviceclient.py

    r5748 r6713  
    6464    def search(self, term, start=1, howmany=20, target='All', 
    6565               scope=None, bbox=None, dateRange=None, 
    66                geoSearchType='overlaps', orderBy = None, orderDirection = None): 
     66               geoSearchType='overlaps', orderBy = None, orderDirection = None, clientIP = None): 
    6767        '''  
    6868        Get a list of documents, with basic summary info for each doc, for a  
     
    8888        request.Start=start 
    8989        request.HowMany=howmany 
     90 
     91        if clientIP is not None: 
     92            request.client=clientIP 
     93        else: 
     94            request.client="unknown at DDS portal" 
     95 
    9096        if orderBy: 
    9197            request.set_element_orderBy(orderBy) 
Note: See TracChangeset for help on using the changeset viewer.