Ignore:
Timestamp:
30/04/08 17:09:59 (12 years ago)
Author:
pjkersha
Message:

Use extended version of ZSI.client.Binding to enable SOAP clients to see through HTTP proxies. Re-tested AA and SM unit tests.

ndg.security.common/ndg/security/common/zsi_utils/urllib2client.py: urllib2 version of ZSI.client.Binding class to enable clients to talk through HTTP proxies. This manifests in calls from RAL to other partner site services.

ndg.security.common/ndg/security/common/SessionMgr/Makefile,
ndg.security.common/ndg/security/common/AttAuthority/Makefile:
When generating stub substitute ZSI.client import with urllib2client for reasons of above.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/ndg.security.common/ndg/security/common/AttAuthority/Makefile

    r2036 r3832  
    1717OPTS=-be -f 
    1818 
     19STUB_FILE=AttAuthority_services.py 
     20TMP_FILE=AttAuthority_services.tmp 
     21 
     22ORIG1=from ZSI import client 
     23REPL1=from ndg.security.common.zsi_utils import urllib2client as client 
     24 
    1925generateStubs: ${WSDL_FILE} 
     26        @echo Generate stub ... 
    2027        ${CMD} ${OPTS} ${WSDL_FILE} 
     28        @echo Make substitutions for HTTP Proxy custom Client Binding class fix ... 
     29        cat ${STUB_FILE}|sed  s/"${ORIG1}"/"${REPL1}"/g > ${TMP_FILE} 
     30        @mv ${TMP_FILE} ${STUB_FILE} 
     31        @echo Done. 
     32         
Note: See TracChangeset for help on using the changeset viewer.