Changeset 6718 for ndgCommon


Ignore:
Timestamp:
10/03/10 16:56:27 (9 years ago)
Author:
sdonegan
Message:

this seems to work with adding clientIP to soap request

File:
1 edited

Legend:

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

    r6713 r6718  
    8989        request.HowMany=howmany 
    9090 
    91         if clientIP is not None: 
    92             request.client=clientIP 
    93         else: 
    94             request.client="unknown at DDS portal" 
     91        if clientIP: 
     92            logging.info("Have detected clientIP address: " + clientIP + ", adding to SOAP request!") 
     93            request.set_element_client(clientIP) 
    9594 
    9695        if orderBy: 
Note: See TracChangeset for help on using the changeset viewer.