source: TI12-security/trunk/python/ndg.security.common/ndg/security/common/AttAuthority/Makefile @ 3832

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/ndg.security.common/ndg/security/common/AttAuthority/Makefile@3832
Revision 3832, 830 bytes checked in by pjkersha, 12 years ago (diff)

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.

Line 
1#
2# NERC Data Grid Project
3#
4# @author P J Kershaw 24/01/07
5#
6# Generate web service stubs from WSDL for Attribute Authority client and
7# server side code
8#
9# @copyright (C) 2007 CCLRC & NERC
10#
11# @license This software may be distributed under the terms of the Q Public
12# License, version 1.0 or later.
13#
14# $Id:$
15WSDL_FILE=../../../../../www/html/attAuthority.wsdl
16CMD=wsdl2py
17OPTS=-be -f
18
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
25generateStubs: ${WSDL_FILE}
26        @echo Generate stub ...
27        ${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 TracBrowser for help on using the repository browser.