gug-cvs Mailing List for Grid Underground (Page 2)
Status: Planning
Brought to you by:
szferi
You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(67) |
Oct
(232) |
Nov
(76) |
Dec
(36) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(100) |
Feb
(89) |
Mar
(44) |
Apr
(71) |
May
(34) |
Jun
(81) |
Jul
(43) |
Aug
(42) |
Sep
(1) |
Oct
(87) |
Nov
(11) |
Dec
(9) |
2007 |
Jan
(203) |
Feb
(149) |
Mar
(94) |
Apr
(70) |
May
(35) |
Jun
(27) |
Jul
(4) |
Aug
|
Sep
(18) |
Oct
|
Nov
|
Dec
|
From: Roczei G. <ro...@us...> - 2007-06-26 13:56:14
|
Update of /cvsroot/gug/gug/gug/java In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv26823/java Log Message: Directory /cvsroot/gug/gug/gug/java added to the repository |
From: Roczei G. <ro...@us...> - 2007-06-26 13:56:04
|
Update of /cvsroot/gug/gug/gug/php In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv26467/php Log Message: Directory /cvsroot/gug/gug/gug/php added to the repository |
From: Roczei G. <ro...@us...> - 2007-06-18 14:22:29
|
Update of /cvsroot/gug/gug/gug/wsdl In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv25641 Modified Files: gis.wsdl Log Message: bugfix Index: gis.wsdl =================================================================== RCS file: /cvsroot/gug/gug/gug/wsdl/gis.wsdl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** gis.wsdl 18 Jun 2007 03:45:03 -0000 1.1 --- gis.wsdl 18 Jun 2007 14:22:30 -0000 1.2 *************** *** 62,71 **** <xsd:all> <xsd:element name="origin" type="xsd:string" minOccurs="0" maxOccurs="1"/> ! <xsd:element name="resourcetype" type="tns:ResourceTypeArray" minOccurs="0" maxOccurs="1"/> <xsd:element name="sid" type="xsd:string" minOccurs="0" maxOccurs="1"/> <xsd:element name="timelife" type="xsd:string" minOccurs="0" maxOccurs="1"/> <xsd:element name="ttl" type="xsd:string" minOccurs="0" maxOccurs="1"/> ! <xsd:element name="type" type="xsd:string" minOccurs="0" maxOccurs="1"/> ! <xsd:element name="urls" type="tns:UrlsTypeArray" minOccurs="0" maxOccurs="1"/> </xsd:all> </xsd:complexType> --- 62,70 ---- <xsd:all> <xsd:element name="origin" type="xsd:string" minOccurs="0" maxOccurs="1"/> ! <xsd:element name="resourcetype" type="xsd:string" minOccurs="0" maxOccurs="1"/> <xsd:element name="sid" type="xsd:string" minOccurs="0" maxOccurs="1"/> <xsd:element name="timelife" type="xsd:string" minOccurs="0" maxOccurs="1"/> <xsd:element name="ttl" type="xsd:string" minOccurs="0" maxOccurs="1"/> ! <xsd:element name="type" type="xsd:string" minOccurs="0" maxOccurs="1"/> </xsd:all> </xsd:complexType> *************** *** 89,94 **** <wsdl:message name="GISGetRequest"> ! <wsdl:part name="GISGetServiceFilter" type="tns:GISGetServiceFilterType" /> ! <wsdl:part name="LocalOnly" type="xsd:boolean" /> </wsdl:message> --- 88,93 ---- <wsdl:message name="GISGetRequest"> ! <wsdl:part name="res_filter" type="tns:GISGetServiceFilterType" /> ! <wsdl:part name="local_only" type="xsd:boolean" /> </wsdl:message> |
From: Roczei G. <ro...@us...> - 2007-06-18 03:45:08
|
Update of /cvsroot/gug/gug/gug/wsdl In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv29761 Added Files: gis.wsdl Log Message: Test version --- NEW FILE: gis.wsdl --- <?xml version="1.0" encoding="UTF-8" standalone="no"?> <wsdl:definitions xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://gug.grid.niif.hu/schemas/2007/06/gis" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="GIS" targetNamespace="http://gug.grid.niif.hu/schemas/2007/06/gis"> <wsdl:types> <xsd:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://gug.grid.niif.hu/schemas/2007/06/gis"> <xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/" /> <xsd:complexType name="ResourceTypeArray"> <xsd:complexContent> <xsd:restriction base="soapenc:Array"> <xsd:sequence> <xsd:element name="item" type="xsd:string" minOccurs="0" maxOccurs="unbounded" /> </xsd:sequence> <xsd:attribute ref="soapenc:arrayType" wsdl:arrayType="tns:ResourceTypeArray[]" /> </xsd:restriction> </xsd:complexContent> </xsd:complexType> <xsd:complexType name="UrlsTypeArray"> <xsd:complexContent> <xsd:restriction base="soapenc:Array"> <xsd:sequence> <xsd:element name="item" type="xsd:string" minOccurs="0" maxOccurs="unbounded" /> </xsd:sequence> <xsd:attribute ref="soapenc:arrayType" wsdl:arrayType="tns:UrlsTypeArray[]" /> </xsd:restriction> </xsd:complexContent> </xsd:complexType> <xsd:complexType name="MetaDataType"> <xsd:sequence> <xsd:element name="origin" type="xsd:string" minOccurs="1" maxOccurs="1"/> <xsd:element name="resourcetype" type="tns:ResourceTypeArray" minOccurs="1" maxOccurs="1"/> <xsd:element name="sid" type="xsd:string" minOccurs="1" maxOccurs="1"/> <xsd:element name="timelife" type="xsd:string" minOccurs="1" maxOccurs="1"/> <xsd:element name="ttl" type="xsd:string" minOccurs="1" maxOccurs="1"/> <xsd:element name="type" type="xsd:string" minOccurs="1" maxOccurs="1"/> <xsd:element name="urls" type="tns:UrlsTypeArray" minOccurs="1" maxOccurs="1"/> </xsd:sequence> </xsd:complexType> <xsd:complexType name="ServiceElementType"> <xsd:sequence> <xsd:element name="mdata" type="tns:MetaDataType" minOccurs="1" maxOccurs="1" /> <xsd:element name="data" type="xsd:string" minOccurs="1" maxOccurs="1"/> </xsd:sequence> </xsd:complexType> <xsd:complexType name="GISGetServiceFilterType"> <xsd:all> <xsd:element name="origin" type="xsd:string" minOccurs="0" maxOccurs="1"/> <xsd:element name="resourcetype" type="tns:ResourceTypeArray" minOccurs="0" maxOccurs="1"/> <xsd:element name="sid" type="xsd:string" minOccurs="0" maxOccurs="1"/> <xsd:element name="timelife" type="xsd:string" minOccurs="0" maxOccurs="1"/> <xsd:element name="ttl" type="xsd:string" minOccurs="0" maxOccurs="1"/> <xsd:element name="type" type="xsd:string" minOccurs="0" maxOccurs="1"/> <xsd:element name="urls" type="tns:UrlsTypeArray" minOccurs="0" maxOccurs="1"/> </xsd:all> </xsd:complexType> <xsd:complexType name="GISGetResponseType" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> <xsd:complexContent> <xsd:restriction base="soapenc:Array"> <xsd:sequence> <xsd:element name="item" type="tns:ServiceElementType" minOccurs="0" maxOccurs="unbounded" /> </xsd:sequence> <xsd:attribute ref="soapenc:arrayType" wsdl:arrayType="tns:GISGetResponseType[]" /> </xsd:restriction> </xsd:complexContent> </xsd:complexType> </xsd:schema> </wsdl:types> <wsdl:message name="GISGetRequest"> <wsdl:part name="GISGetServiceFilter" type="tns:GISGetServiceFilterType" /> <wsdl:part name="LocalOnly" type="xsd:boolean" /> </wsdl:message> <wsdl:message name="GISGetResponse"> <wsdl:part name="Response" type="tns:GISGetResponseType" /> </wsdl:message> <wsdl:portType name="GISPortType"> <wsdl:operation name="get"> <wsdl:input message="tns:GISGetRequest" /> <wsdl:output message="tns:GISGetResponse" /> </wsdl:operation> </wsdl:portType> <wsdl:binding name="GISSOAPBinding" type="tns:GISPortType"> <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" /> <wsdl:operation name="get"> <soap:operation soapAction="" /> <wsdl:input> <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://gug.grid.niif.hu/schemas/2007/06/gis" use="encoded" /> </wsdl:input> <wsdl:output> <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://gug.grid.niif.hu/schemas/2007/06/gis" use="encoded" /> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:service name="GIS"> <wsdl:port binding="tns:GISSOAPBinding" name="GISSOAPService"> <soap:address location="http://localhost:21111/GIS" /> </wsdl:port> </wsdl:service> </wsdl:definitions> |
From: Nagy Z. <zs...@us...> - 2007-06-15 07:05:28
|
Update of /cvsroot/gug/gug/gug In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv15548/gug Modified Files: zsi.py Log Message: try to make rpc-encoded dictionaries work (according to the ZSI mailing list) Index: zsi.py =================================================================== RCS file: /cvsroot/gug/gug/gug/zsi.py,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** zsi.py 8 May 2007 13:56:24 -0000 1.1 --- zsi.py 15 Jun 2007 07:05:25 -0000 1.2 *************** *** 60,65 **** parser = MyAny.parsemap.get((None,type)) if not parser: ! raise EvaluateException('''gug.zsi.MyAny can't parse element''', ! ps.Backtrace(elt)) return parser.parse(elt, ps) --- 60,73 ---- parser = MyAny.parsemap.get((None,type)) if not parser: ! #raise EvaluateException('''gug.zsi.MyAny can't parse element''', ! # ps.Backtrace(elt)) ! if self.aslist or _find_arraytype(elt): ! return [ self.__class__(**self.kwargs).parse(e, ps) ! for e in _child_elements(elt) ] ! if len(_child_elements(elt)) == 0: ! #raise EvaluateException("Any cannot parse untyped element", ! # ps.Backtrace(elt)) ! return self.simple_value(elt, ps) ! return self.parse_into_dict_or_list(elt, ps) return parser.parse(elt, ps) |
Update of /cvsroot/gug/gug/gug/wsdl/src/hu/niif/grid/gug/sum In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv780/gug/sum Added Files: Sum.java SumClient.java SumLocator.java SumPortType.java SumPortTypeProxy.java SumSOAPBindingStub.java Log Message: java sources for WSDL testing --- NEW FILE: SumClient.java --- package hu.niif.grid.gug.sum; public class SumClient { public static void main(String [] args) throws Exception { System.out.printf("start....\n"); Sum locator = new SumLocator(); SumPortType port = locator.getSumSOAPService(); String a = ""; try { a = port.sum("10", "20"); } catch(Exception e){ System.err.printf("Exception: %s", e); } System.out.printf("%s = %s + %s\n", a, "10", "20"); } } --- NEW FILE: SumPortType.java --- /** * SumPortType.java * * This file was auto-generated from WSDL * by the Apache Axis 1.3 Oct 05, 2005 (05:23:37 EDT) WSDL2Java emitter. */ package hu.niif.grid.gug.sum; public interface SumPortType extends java.rmi.Remote { public java.lang.String sum(java.lang.String a, java.lang.String b) throws java.rmi.RemoteException; } --- NEW FILE: SumSOAPBindingStub.java --- /** * SumSOAPBindingStub.java * * This file was auto-generated from WSDL * by the Apache Axis 1.3 Oct 05, 2005 (05:23:37 EDT) WSDL2Java emitter. */ package hu.niif.grid.gug.sum; public class SumSOAPBindingStub extends org.apache.axis.client.Stub implements hu.niif.grid.gug.sum.SumPortType { private java.util.Vector cachedSerClasses = new java.util.Vector(); private java.util.Vector cachedSerQNames = new java.util.Vector(); private java.util.Vector cachedSerFactories = new java.util.Vector(); private java.util.Vector cachedDeserFactories = new java.util.Vector(); static org.apache.axis.description.OperationDesc [] _operations; static { _operations = new org.apache.axis.description.OperationDesc[1]; _initOperationDesc1(); } private static void _initOperationDesc1(){ org.apache.axis.description.OperationDesc oper; org.apache.axis.description.ParameterDesc param; oper = new org.apache.axis.description.OperationDesc(); oper.setName("sum"); param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "a"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); oper.addParameter(param); param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "b"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); oper.addParameter(param); oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); oper.setReturnClass(java.lang.String.class); oper.setReturnQName(new javax.xml.namespace.QName("", "Response")); oper.setStyle(org.apache.axis.constants.Style.RPC); oper.setUse(org.apache.axis.constants.Use.LITERAL); _operations[0] = oper; } public SumSOAPBindingStub() throws org.apache.axis.AxisFault { this(null); } public SumSOAPBindingStub(java.net.URL endpointURL, javax.xml.rpc.Service service) throws org.apache.axis.AxisFault { this(service); super.cachedEndpoint = endpointURL; } public SumSOAPBindingStub(javax.xml.rpc.Service service) throws org.apache.axis.AxisFault { if (service == null) { super.service = new org.apache.axis.client.Service(); } else { super.service = service; } ((org.apache.axis.client.Service)super.service).setTypeMappingVersion("1.2"); } protected org.apache.axis.client.Call createCall() throws java.rmi.RemoteException { try { org.apache.axis.client.Call _call = super._createCall(); if (super.maintainSessionSet) { _call.setMaintainSession(super.maintainSession); } if (super.cachedUsername != null) { _call.setUsername(super.cachedUsername); } if (super.cachedPassword != null) { _call.setPassword(super.cachedPassword); } if (super.cachedEndpoint != null) { _call.setTargetEndpointAddress(super.cachedEndpoint); } if (super.cachedTimeout != null) { _call.setTimeout(super.cachedTimeout); } if (super.cachedPortName != null) { _call.setPortName(super.cachedPortName); } java.util.Enumeration keys = super.cachedProperties.keys(); while (keys.hasMoreElements()) { java.lang.String key = (java.lang.String) keys.nextElement(); _call.setProperty(key, super.cachedProperties.get(key)); } return _call; } catch (java.lang.Throwable _t) { throw new org.apache.axis.AxisFault("Failure trying to get the Call object", _t); } } public java.lang.String sum(java.lang.String a, java.lang.String b) throws java.rmi.RemoteException { if (super.cachedEndpoint == null) { throw new org.apache.axis.NoEndPointException(); } org.apache.axis.client.Call _call = createCall(); _call.setOperation(_operations[0]); _call.setUseSOAPAction(true); _call.setSOAPActionURI("http://gug.grid.niif.hu/sum/NewOperation"); _call.setEncodingStyle(null); _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); _call.setOperationName(new javax.xml.namespace.QName("http://gug.grid.niif.hu/sum", "sum")); setRequestHeaders(_call); setAttachments(_call); try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {a, b}); if (_resp instanceof java.rmi.RemoteException) { throw (java.rmi.RemoteException)_resp; } else { extractAttachments(_call); try { return (java.lang.String) _resp; } catch (java.lang.Exception _exception) { return (java.lang.String) org.apache.axis.utils.JavaUtils.convert(_resp, java.lang.String.class); } } } catch (org.apache.axis.AxisFault axisFaultException) { throw axisFaultException; } } } --- NEW FILE: Sum.java --- /** * Sum.java * * This file was auto-generated from WSDL * by the Apache Axis 1.3 Oct 05, 2005 (05:23:37 EDT) WSDL2Java emitter. */ package hu.niif.grid.gug.sum; public interface Sum extends javax.xml.rpc.Service { public java.lang.String getSumSOAPServiceAddress(); public hu.niif.grid.gug.sum.SumPortType getSumSOAPService() throws javax.xml.rpc.ServiceException; public hu.niif.grid.gug.sum.SumPortType getSumSOAPService(java.net.URL portAddress) throws javax.xml.rpc.ServiceException; } --- NEW FILE: SumLocator.java --- /** * SumLocator.java * * This file was auto-generated from WSDL * by the Apache Axis 1.3 Oct 05, 2005 (05:23:37 EDT) WSDL2Java emitter. */ package hu.niif.grid.gug.sum; public class SumLocator extends org.apache.axis.client.Service implements hu.niif.grid.gug.sum.Sum { public SumLocator() { } public SumLocator(org.apache.axis.EngineConfiguration config) { super(config); } public SumLocator(java.lang.String wsdlLoc, javax.xml.namespace.QName sName) throws javax.xml.rpc.ServiceException { super(wsdlLoc, sName); } // Use to get a proxy class for SumSOAPService private java.lang.String SumSOAPService_address = "http://localhost:21111/Sum"; public java.lang.String getSumSOAPServiceAddress() { return SumSOAPService_address; } // The WSDD service name defaults to the port name. private java.lang.String SumSOAPServiceWSDDServiceName = "SumSOAPService"; public java.lang.String getSumSOAPServiceWSDDServiceName() { return SumSOAPServiceWSDDServiceName; } public void setSumSOAPServiceWSDDServiceName(java.lang.String name) { SumSOAPServiceWSDDServiceName = name; } public hu.niif.grid.gug.sum.SumPortType getSumSOAPService() throws javax.xml.rpc.ServiceException { java.net.URL endpoint; try { endpoint = new java.net.URL(SumSOAPService_address); } catch (java.net.MalformedURLException e) { throw new javax.xml.rpc.ServiceException(e); } return getSumSOAPService(endpoint); } public hu.niif.grid.gug.sum.SumPortType getSumSOAPService(java.net.URL portAddress) throws javax.xml.rpc.ServiceException { try { hu.niif.grid.gug.sum.SumSOAPBindingStub _stub = new hu.niif.grid.gug.sum.SumSOAPBindingStub(portAddress, this); _stub.setPortName(getSumSOAPServiceWSDDServiceName()); return _stub; } catch (org.apache.axis.AxisFault e) { return null; } } public void setSumSOAPServiceEndpointAddress(java.lang.String address) { SumSOAPService_address = address; } /** * For the given interface, get the stub implementation. * If this service has no port for the given interface, * then ServiceException is thrown. */ public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException { try { if (hu.niif.grid.gug.sum.SumPortType.class.isAssignableFrom(serviceEndpointInterface)) { hu.niif.grid.gug.sum.SumSOAPBindingStub _stub = new hu.niif.grid.gug.sum.SumSOAPBindingStub(new java.net.URL(SumSOAPService_address), this); _stub.setPortName(getSumSOAPServiceWSDDServiceName()); return _stub; } } catch (java.lang.Throwable t) { throw new javax.xml.rpc.ServiceException(t); } throw new javax.xml.rpc.ServiceException("There is no stub implementation for the interface: " + (serviceEndpointInterface == null ? "null" : serviceEndpointInterface.getName())); } /** * For the given interface, get the stub implementation. * If this service has no port for the given interface, * then ServiceException is thrown. */ public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException { if (portName == null) { return getPort(serviceEndpointInterface); } java.lang.String inputPortName = portName.getLocalPart(); if ("SumSOAPService".equals(inputPortName)) { return getSumSOAPService(); } else { java.rmi.Remote _stub = getPort(serviceEndpointInterface); ((org.apache.axis.client.Stub) _stub).setPortName(portName); return _stub; } } public javax.xml.namespace.QName getServiceName() { return new javax.xml.namespace.QName("http://gug.grid.niif.hu/sum", "Sum"); } private java.util.HashSet ports = null; public java.util.Iterator getPorts() { if (ports == null) { ports = new java.util.HashSet(); ports.add(new javax.xml.namespace.QName("http://gug.grid.niif.hu/sum", "SumSOAPService")); } return ports.iterator(); } /** * Set the endpoint address for the specified port name. */ public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException { if ("SumSOAPService".equals(portName)) { setSumSOAPServiceEndpointAddress(address); } else { // Unknown Port Name throw new javax.xml.rpc.ServiceException(" Cannot set Endpoint Address for Unknown Port" + portName); } } /** * Set the endpoint address for the specified port name. */ public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException { setEndpointAddress(portName.getLocalPart(), address); } } --- NEW FILE: SumPortTypeProxy.java --- package hu.niif.grid.gug.sum; public class SumPortTypeProxy implements hu.niif.grid.gug.sum.SumPortType { private String _endpoint = null; private hu.niif.grid.gug.sum.SumPortType sumPortType = null; public SumPortTypeProxy() { _initSumPortTypeProxy(); } private void _initSumPortTypeProxy() { try { sumPortType = (new hu.niif.grid.gug.sum.SumLocator()).getSumSOAPService(); if (sumPortType != null) { if (_endpoint != null) ((javax.xml.rpc.Stub)sumPortType)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint); else _endpoint = (String)((javax.xml.rpc.Stub)sumPortType)._getProperty("javax.xml.rpc.service.endpoint.address"); } } catch (javax.xml.rpc.ServiceException serviceException) {} } public String getEndpoint() { return _endpoint; } public void setEndpoint(String endpoint) { _endpoint = endpoint; if (sumPortType != null) ((javax.xml.rpc.Stub)sumPortType)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint); } public hu.niif.grid.gug.sum.SumPortType getSumPortType() { if (sumPortType == null) _initSumPortTypeProxy(); return sumPortType; } public java.lang.String sum(java.lang.String a, java.lang.String b) throws java.rmi.RemoteException{ if (sumPortType == null) _initSumPortTypeProxy(); return sumPortType.sum(a, b); } } |
From: Roczei G. <ro...@us...> - 2007-06-13 08:15:19
|
Update of /cvsroot/gug/gug/gug/wsdl/src/hu/niif/grid/gug/sum In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv750/sum Log Message: Directory /cvsroot/gug/gug/gug/wsdl/src/hu/niif/grid/gug/sum added to the repository |
From: Roczei G. <ro...@us...> - 2007-06-13 08:14:34
|
Update of /cvsroot/gug/gug/gug/wsdl/src/hu/niif/grid/gug/count In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv350/count Log Message: Directory /cvsroot/gug/gug/gug/wsdl/src/hu/niif/grid/gug/count added to the repository |
From: Roczei G. <ro...@us...> - 2007-06-13 08:14:10
|
Update of /cvsroot/gug/gug/gug/wsdl/src/hu/niif/grid/gug In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv32662/gug Log Message: Directory /cvsroot/gug/gug/gug/wsdl/src/hu/niif/grid/gug added to the repository |
From: Roczei G. <ro...@us...> - 2007-06-13 08:13:52
|
Update of /cvsroot/gug/gug/gug/wsdl/src/hu/niif/grid In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv32428/grid Log Message: Directory /cvsroot/gug/gug/gug/wsdl/src/hu/niif/grid added to the repository |
From: Roczei G. <ro...@us...> - 2007-06-13 08:13:32
|
Update of /cvsroot/gug/gug/gug/wsdl/src/hu/niif In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv32414/niif Log Message: Directory /cvsroot/gug/gug/gug/wsdl/src/hu/niif added to the repository |
From: Roczei G. <ro...@us...> - 2007-06-13 08:13:12
|
Update of /cvsroot/gug/gug/gug/wsdl/src/hu In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv32364/hu Log Message: Directory /cvsroot/gug/gug/gug/wsdl/src/hu added to the repository |
From: Roczei G. <ro...@us...> - 2007-06-13 08:10:53
|
Update of /cvsroot/gug/gug/gug/wsdl/src In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv31259/src Log Message: Directory /cvsroot/gug/gug/gug/wsdl/src added to the repository |
From: Roczei G. <ro...@us...> - 2007-06-13 08:06:59
|
Update of /cvsroot/gug/gug/gug/wsdl In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv29462 Added Files: count.py Log Message: WSDL test (dictionary, list): count service --- NEW FILE: count.py --- """ WSDL testing service """ __revision__ = '$Revision: 1.1 $' from gug.common.share import gis_proxy, create_provision_task from gug.common import log from gug.common.exception import * from gug.client.soap import get_working_client class COUNT: """ WSDL testing service class """ def __init__(self, initdata): self.id = initdata['sid'] self.gis = gis_proxy(initdata['ctl']) create_provision_task(initdata, self._get_description, message_for_logging = 'Count', ttl = initdata.get('TTL', None)) def count_dict(self, auth, CountRequest): log.msg('request: ',CountRequest) response_dict = {} response_dict['e'] = 'harom' response_dict['d'] = CountRequest['b'] response_dict['c'] = CountRequest['a'] log.msg('response: ', response_dict) return response_dict def count_list(self, auth, CountRequest): log.msg('request: ',CountRequest) response = ['harom', CountRequest[0], CountRequest[1]] log.msg('response: ', response) return response def _get_description(self, site_id): return """<?xml version="1.0" encoding="utf-8" ?> <ServiceDescription> <LongName>Exec Service</LongName> <MajorVersion>0</MajorVersion> <MinorVersion>1</MinorVersion> <PatchVersion>0</PatchVersion> <Site>%(site_id)s</Site> <WSDL>/home/roczei/gug/gug/wsdl/count.wsdl</WSDL> <Semantics> Executes simple process and provides ClusterElement resource </Semantics> <ClusterElement> </ClusterElement> </ServiceDescription>""" def _cleanup(self): log.msg('Count service shutdown...') |
From: Roczei G. <ro...@us...> - 2007-06-13 08:05:29
|
Update of /cvsroot/gug/gug/gug/wsdl In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv28672 Modified Files: count.wsdl Log Message: XSD: array, dict Index: count.wsdl =================================================================== RCS file: /cvsroot/gug/gug/gug/wsdl/count.wsdl,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** count.wsdl 6 Jun 2007 15:11:06 -0000 1.3 --- count.wsdl 13 Jun 2007 08:05:24 -0000 1.4 *************** *** 1,18 **** <?xml version="1.0" encoding="UTF-8" standalone="no"?> ! <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://gug.grid.niif.hu/count" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="count" targetNamespace="http://gug.grid.niif.hu/count"> <wsdl:types> ! <xsd:schema targetNamespace="http://gug.grid.niif.hu/count"> ! ! <xsd:element name="CountRequest"> ! <xsd:complexType> <xsd:sequence> <xsd:element name="a" type="xsd:string"/> <xsd:element name="b" type="xsd:string"/> </xsd:sequence> ! </xsd:complexType> ! </xsd:element> ! ! <xsd:element name="CountResponse"> ! <xsd:complexType> <xsd:sequence> <xsd:element name="c" type="xsd:string"/> --- 1,17 ---- <?xml version="1.0" encoding="UTF-8" standalone="no"?> ! <wsdl:definitions xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://gug.grid.niif.hu/count" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="count" targetNamespace="http://gug.grid.niif.hu/count"> <wsdl:types> ! <xsd:schema targetNamespace="http://gug.grid.niif.hu/count" > ! ! <xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/"/> ! ! <xsd:complexType name="count_dictCountRequesttype"> <xsd:sequence> <xsd:element name="a" type="xsd:string"/> <xsd:element name="b" type="xsd:string"/> </xsd:sequence> ! </xsd:complexType> ! ! <xsd:complexType name="count_dictResponsetype"> <xsd:sequence> <xsd:element name="c" type="xsd:string"/> *************** *** 20,59 **** <xsd:element name="e" type="xsd:string"/> </xsd:sequence> ! </xsd:complexType> ! </xsd:element> </xsd:schema> </wsdl:types> ! <wsdl:message name="CountReguest"> ! <wsdl:part element="tns:CountRequest" name="CountRequest"/> </wsdl:message> ! <wsdl:message name="CountResponse"> ! <wsdl:part element="tns:CountResponse" name="CountResponse"/> </wsdl:message> <wsdl:portType name="CountPortType"> ! <wsdl:operation name="count"> ! <wsdl:input message="tns:CountReguest"/> ! <wsdl:output message="tns:CountResponse"/> </wsdl:operation> </wsdl:portType> <wsdl:binding name="CountSOAPBinding" type="tns:CountPortType"> <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> ! <wsdl:operation name="count"> <soap:operation soapAction="http://gug.grid.niif.hu/count/count"/> <wsdl:input> ! <soap:body namespace="http://gug.grid.niif.hu/count" use="literal"/> </wsdl:input> <wsdl:output> ! <soap:body namespace="http://gug.grid.niif.hu/count" use="literal"/> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:service name="Count"> ! <wsdl:port binding="tns:CountSOAPBinding" name="CountSOAPBinding"> <soap:address location="http://localhost:21111/Count"/> </wsdl:port> --- 19,124 ---- <xsd:element name="e" type="xsd:string"/> </xsd:sequence> ! </xsd:complexType> ! ! <!-- <xsd:element name="count_listCountRequest" type="tns:count_listCountRequesttype"/> ! ! <xsd:complexType name="count_listCountRequesttype"> ! <xsd:sequence> ! <xsd:element name="item" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/> ! </xsd:sequence> ! </xsd:complexType> ! ! <xsd:element name="count_listResponse" type="tns:count_listResponsetype"/> ! ! <xsd:complexType name="count_listResponsetype"> ! <xsd:sequence> ! <xsd:element name="item" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/> ! </xsd:sequence> ! </xsd:complexType> --> ! ! ! <xsd:complexType name="count_listCountRequesttype"> ! <xsd:complexContent> ! <xsd:restriction base="soapenc:Array"> ! <xsd:sequence> ! <xsd:element name="x" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/> ! </xsd:sequence> ! <xsd:attribute ref="soapenc:arrayType" wsdl:arrayType="tns:count_listCountRequesttype[]"/> ! </xsd:restriction> ! </xsd:complexContent> ! </xsd:complexType> ! ! <xsd:complexType name="count_listResponsetype" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" > ! <xsd:complexContent> ! <xsd:restriction base="soapenc:Array"> ! <xsd:sequence> ! <xsd:element name="x" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/> ! </xsd:sequence> ! <xsd:attribute ref="soapenc:arrayType" wsdl:arrayType="tns:count_listResponsetype[]"/> ! </xsd:restriction> ! </xsd:complexContent> ! </xsd:complexType> ! ! </xsd:schema> </wsdl:types> ! <wsdl:message name="count_dictCountRequest"> ! <wsdl:part type="tns:count_dictCountRequesttype" name="CountRequest" /> </wsdl:message> ! <wsdl:message name="count_dictResponse"> ! <wsdl:part type="tns:count_dictResponsetype" name="Response"/> ! </wsdl:message> ! ! <wsdl:message name="count_listCountRequest"> ! <wsdl:part type="tns:count_listCountRequesttype" name="CountRequest" /> ! </wsdl:message> ! ! <wsdl:message name="count_listResponse"> ! <wsdl:part type="tns:count_listResponsetype" name="Response"/> </wsdl:message> + <wsdl:portType name="CountPortType"> ! <wsdl:operation name="count_dict"> ! <wsdl:input message="tns:count_dictCountRequest"/> ! <wsdl:output message="tns:count_dictResponse"/> ! </wsdl:operation> ! ! <wsdl:operation name="count_list"> ! <wsdl:input message="tns:count_listCountRequest"/> ! <wsdl:output message="tns:count_listResponse"/> </wsdl:operation> </wsdl:portType> + <wsdl:binding name="CountSOAPBinding" type="tns:CountPortType"> <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> ! <wsdl:operation name="count_dict"> <soap:operation soapAction="http://gug.grid.niif.hu/count/count"/> <wsdl:input> ! <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://gug.grid.niif.hu/count" use="encoded"/> </wsdl:input> <wsdl:output> ! <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://gug.grid.niif.hu/count" use="encoded"/> </wsdl:output> </wsdl:operation> + <wsdl:operation name="count_list"> + <soap:operation soapAction="http://gug.grid.niif.hu/count/count"/> + <wsdl:input> + <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://gug.grid.niif.hu/count" use="encoded"/> + </wsdl:input> + <wsdl:output> + <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://gug.grid.niif.hu/count" use="encoded"/> + </wsdl:output> + </wsdl:operation> + + </wsdl:binding> <wsdl:service name="Count"> ! <wsdl:port binding="tns:CountSOAPBinding" name="CountSOAPService"> <soap:address location="http://localhost:21111/Count"/> </wsdl:port> |
From: Roczei G. <ro...@us...> - 2007-06-06 15:13:45
|
Update of /cvsroot/gug/gug/gug/wsdl In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv8342 Added Files: gug-src.jar Log Message: WSDL testing java source codes --- NEW FILE: gug-src.jar --- (This appears to be a binary file; contents omitted.) |
From: Roczei G. <ro...@us...> - 2007-06-06 15:11:10
|
Update of /cvsroot/gug/gug/gug/wsdl In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv6766 Modified Files: count.wsdl Added Files: gug.jar sum.wsdl Log Message: WSDL testing Binding style (WS-I and GUG compatible): rpc literal --- NEW FILE: sum.wsdl --- <?xml version="1.0" encoding="UTF-8" standalone="no"?> <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://gug.grid.niif.hu/sum" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="sum" targetNamespace="http://gug.grid.niif.hu/sum"> <wsdl:message name="NewOperationRequest"> <wsdl:part name="a" type="xsd:string"/> <wsdl:part name="b" type="xsd:string"/> </wsdl:message> <wsdl:message name="NewOperationResponse"> <wsdl:part name="Response" type="xsd:string"/> </wsdl:message> <wsdl:portType name="SumPortType"> <wsdl:operation name="sum"> <wsdl:input message="tns:NewOperationRequest"/> <wsdl:output message="tns:NewOperationResponse"/> </wsdl:operation> </wsdl:portType> <wsdl:binding name="SumSOAPBinding" type="tns:SumPortType"> <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> <wsdl:operation name="sum"> <soap:operation soapAction="http://gug.grid.niif.hu/sum/NewOperation"/> <wsdl:input> <soap:body namespace="http://gug.grid.niif.hu/sum" use="literal"/> </wsdl:input> <wsdl:output> <soap:body namespace="http://gug.grid.niif.hu/sum" use="literal"/> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:service name="Sum"> <wsdl:port binding="tns:SumSOAPBinding" name="SumSOAPService"> <soap:address location="http://localhost:21111/Sum"/> </wsdl:port> </wsdl:service> </wsdl:definitions> --- NEW FILE: gug.jar --- (This appears to be a binary file; contents omitted.) Index: count.wsdl =================================================================== RCS file: /cvsroot/gug/gug/gug/wsdl/count.wsdl,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** count.wsdl 4 Jun 2007 21:50:44 -0000 1.2 --- count.wsdl 6 Jun 2007 15:11:06 -0000 1.3 *************** *** 55,59 **** <wsdl:service name="Count"> ! <wsdl:port binding="tns:CountSOAPBinding" name="Count"> <soap:address location="http://localhost:21111/Count"/> </wsdl:port> --- 55,59 ---- <wsdl:service name="Count"> ! <wsdl:port binding="tns:CountSOAPBinding" name="CountSOAPBinding"> <soap:address location="http://localhost:21111/Count"/> </wsdl:port> |
From: Nagy Z. <zs...@us...> - 2007-06-06 14:21:14
|
Update of /cvsroot/gug/gug/gug/host/handler In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv20694/gug/host/handler Modified Files: soap.py Log Message: no printing Index: soap.py =================================================================== RCS file: /cvsroot/gug/gug/gug/host/handler/soap.py,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** soap.py 6 Jun 2007 14:02:06 -0000 1.17 --- soap.py 6 Jun 2007 14:21:12 -0000 1.18 *************** *** 90,94 **** # create a SOAP message response = str(SoapWriter().serialize({'Response': result}, MyAny(nillable = True))) - print response except Exception, e: # if there is any exception, first write it to the log --- 90,93 ---- |
From: Nagy Z. <zs...@us...> - 2007-06-06 14:02:09
|
Update of /cvsroot/gug/gug/gug/client In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv12980/gug/client Modified Files: soap.py Log Message: Insert 'Response' into soap responses. Index: soap.py =================================================================== RCS file: /cvsroot/gug/gug/gug/client/soap.py,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** soap.py 29 May 2007 11:44:00 -0000 1.14 --- soap.py 6 Jun 2007 14:02:07 -0000 1.15 *************** *** 135,140 **** retries = retries-1 try: ! return self.proxy.RPC(None, self.method, args, \ MyAny(nillable = True), requesttypecode = MyAny(pname = self.method)) except socket.error, error: if error.args[0] == 99: --- 135,144 ---- retries = retries-1 try: ! response = self.proxy.RPC(None, self.method, args, \ MyAny(nillable = True), requesttypecode = MyAny(pname = self.method)) + try: + return response['Response'] + except: + return response except socket.error, error: if error.args[0] == 99: |
From: Nagy Z. <zs...@us...> - 2007-06-06 14:02:09
|
Update of /cvsroot/gug/gug/gug/host/handler In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv12980/gug/host/handler Modified Files: soap.py Log Message: Insert 'Response' into soap responses. Index: soap.py =================================================================== RCS file: /cvsroot/gug/gug/gug/host/handler/soap.py,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** soap.py 6 Jun 2007 10:18:09 -0000 1.16 --- soap.py 6 Jun 2007 14:02:06 -0000 1.17 *************** *** 89,93 **** result = method(auth, *args, **kw) # create a SOAP message ! response = str(SoapWriter().serialize(result, MyAny(nillable = True))) except Exception, e: # if there is any exception, first write it to the log --- 89,94 ---- result = method(auth, *args, **kw) # create a SOAP message ! response = str(SoapWriter().serialize({'Response': result}, MyAny(nillable = True))) ! print response except Exception, e: # if there is any exception, first write it to the log |
From: Nagy Z. <zs...@us...> - 2007-06-06 10:18:11
|
Update of /cvsroot/gug/gug/gug/host/handler In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv23849/gug/host/handler Modified Files: soap.py Log Message: support for keyword arguments Index: soap.py =================================================================== RCS file: /cvsroot/gug/gug/gug/host/handler/soap.py,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** soap.py 8 May 2007 13:56:24 -0000 1.15 --- soap.py 6 Jun 2007 10:18:09 -0000 1.16 *************** *** 79,85 **** # parse the arguments of the method call #args = tuple(ps.Parse(TC.Array('args',MyAny(nillable = True), undeclared = True))) ! args = tuple(ps.Parse(MyAny(nillable = True))) ! # call the method with the arguments (XXX: no keyword arguments supported!) ! result = method(auth, *args) # create a SOAP message response = str(SoapWriter().serialize(result, MyAny(nillable = True))) --- 79,91 ---- # parse the arguments of the method call #args = tuple(ps.Parse(TC.Array('args',MyAny(nillable = True), undeclared = True))) ! arguments = ps.Parse(MyAny(nillable = True)) ! if isinstance(arguments,dict): ! kw = arguments ! args = [] ! else: ! args = tuple(arguments) ! kw = {} ! # call the method with the arguments ! result = method(auth, *args, **kw) # create a SOAP message response = str(SoapWriter().serialize(result, MyAny(nillable = True))) |
From: Roczei G. <ro...@us...> - 2007-06-04 21:50:50
|
Update of /cvsroot/gug/gug/gug/wsdl In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv20643 Modified Files: count.wsdl Log Message: WS-I, GUG compatible Index: count.wsdl =================================================================== RCS file: /cvsroot/gug/gug/gug/wsdl/count.wsdl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** count.wsdl 4 Jun 2007 09:00:16 -0000 1.1 --- count.wsdl 4 Jun 2007 21:50:44 -0000 1.2 *************** *** 42,53 **** <wsdl:binding name="CountSOAPBinding" type="tns:CountPortType"> ! <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> <wsdl:operation name="count"> <soap:operation soapAction="http://gug.grid.niif.hu/count/count"/> <wsdl:input> ! <soap:body use="literal"/> </wsdl:input> <wsdl:output> ! <soap:body use="literal"/> </wsdl:output> </wsdl:operation> --- 42,53 ---- <wsdl:binding name="CountSOAPBinding" type="tns:CountPortType"> ! <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> <wsdl:operation name="count"> <soap:operation soapAction="http://gug.grid.niif.hu/count/count"/> <wsdl:input> ! <soap:body namespace="http://gug.grid.niif.hu/count" use="literal"/> </wsdl:input> <wsdl:output> ! <soap:body namespace="http://gug.grid.niif.hu/count" use="literal"/> </wsdl:output> </wsdl:operation> *************** *** 55,59 **** <wsdl:service name="Count"> ! <wsdl:port binding="tns:CountSOAPBinding" name="CountSOAPBinding"> <soap:address location="http://localhost:21111/Count"/> </wsdl:port> --- 55,59 ---- <wsdl:service name="Count"> ! <wsdl:port binding="tns:CountSOAPBinding" name="Count"> <soap:address location="http://localhost:21111/Count"/> </wsdl:port> |
From: Roczei G. <ro...@us...> - 2007-06-04 09:00:20
|
Update of /cvsroot/gug/gug/gug/wsdl In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv10129 Added Files: count.wsdl Log Message: Count WSDL for dictionary testing Input: <xsd:element name="a" type="xsd:string"/> <xsd:element name="b" type="xsd:string"/> CountRequest['a'] = 'string1' CountRequest['b'] = 'string2' Output: <xsd:element name="c" type="xsd:string"/> <xsd:element name="d" type="xsd:string"/> <xsd:element name="e" type="xsd:string"/> CountResponse['c'] = 'string1' CountResponse['d'] = 'string2' CountResponse['e'] = 'string3' --- NEW FILE: count.wsdl --- <?xml version="1.0" encoding="UTF-8" standalone="no"?> <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://gug.grid.niif.hu/count" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="count" targetNamespace="http://gug.grid.niif.hu/count"> <wsdl:types> <xsd:schema targetNamespace="http://gug.grid.niif.hu/count"> <xsd:element name="CountRequest"> <xsd:complexType> <xsd:sequence> <xsd:element name="a" type="xsd:string"/> <xsd:element name="b" type="xsd:string"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="CountResponse"> <xsd:complexType> <xsd:sequence> <xsd:element name="c" type="xsd:string"/> <xsd:element name="d" type="xsd:string"/> <xsd:element name="e" type="xsd:string"/> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:schema> </wsdl:types> <wsdl:message name="CountReguest"> <wsdl:part element="tns:CountRequest" name="CountRequest"/> </wsdl:message> <wsdl:message name="CountResponse"> <wsdl:part element="tns:CountResponse" name="CountResponse"/> </wsdl:message> <wsdl:portType name="CountPortType"> <wsdl:operation name="count"> <wsdl:input message="tns:CountReguest"/> <wsdl:output message="tns:CountResponse"/> </wsdl:operation> </wsdl:portType> <wsdl:binding name="CountSOAPBinding" type="tns:CountPortType"> <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> <wsdl:operation name="count"> <soap:operation soapAction="http://gug.grid.niif.hu/count/count"/> <wsdl:input> <soap:body use="literal"/> </wsdl:input> <wsdl:output> <soap:body use="literal"/> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:service name="Count"> <wsdl:port binding="tns:CountSOAPBinding" name="CountSOAPBinding"> <soap:address location="http://localhost:21111/Count"/> </wsdl:port> </wsdl:service> </wsdl:definitions> |
From: Roczei G. <ro...@us...> - 2007-06-04 08:54:41
|
Update of /cvsroot/gug/gug/gug/wsdl In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv9343/wsdl Log Message: Directory /cvsroot/gug/gug/gug/wsdl added to the repository |
From: Nagy Z. <zs...@us...> - 2007-05-29 11:44:03
|
Update of /cvsroot/gug/gug/gug/client In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv9401/gug/client Modified Files: soap.py Log Message: GugHTTPSConnection Index: soap.py =================================================================== RCS file: /cvsroot/gug/gug/gug/client/soap.py,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** soap.py 8 May 2007 13:56:24 -0000 1.13 --- soap.py 29 May 2007 11:44:00 -0000 1.14 *************** *** 35,38 **** --- 35,70 ---- transdict['cert_file'] = cert_file + import httplib + try: + import gug.ssl + + class GugHTTPSConnection(httplib.HTTPConnection): + + default_port = httplib.HTTPS_PORT + + def __init__(self, host, port=None, key_file=None, cert_file=None, + strict=None): + httplib.HTTPConnection.__init__(self, host, port, strict) + if not key_file or not cert_file: + raise Exception, 'no key or cert file given!' + ctx = gug.ssl.Context(gug.ssl.SSLv23_METHOD) + ctx.use_privatekey_file(key_file) + ctx.use_certificate_file(cert_file) + # if cacert: + # ctx.load_verify_locations(tls_interface['cacert']) + # ctx.set_verify(gug.ssl.VERIFY_PEER \ + # | gug.ssl.VERIFY_FAIL_IF_NO_PEER_CERT, \ + # lambda conn,cert,errnum,depth,ok: ok) + self.context = ctx + + def connect(self): + sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) + self.sock = gug.ssl.Connection(self.context, sock) + self.sock.connect((self.host, self.port)) + print 'connected!', self.sock + + except ImportError: + GugHTTPSConnection = httplib.HTTPSConnection + class __Proxy: def __init__(self, url, wsdl, unwrap, key_file, cert_file, use_gug_info = False): *************** *** 82,86 **** url, transd, method, unwrap self.__name__ = self.method ! self.proxy = Binding(url = url, transdict = transd, \ readerclass = ExpatReaderClass, auth = auth) if methods: --- 114,122 ---- url, transd, method, unwrap self.__name__ = self.method ! if url.startswith('https'): ! transport = GugHTTPSConnection ! else: ! transport = None ! self.proxy = Binding(url = url, transport = transport, transdict = transd, \ readerclass = ExpatReaderClass, auth = auth) if methods: |