Ignore:
Timestamp:
27/11/06 16:59:04 (14 years ago)
Author:
pjkersha
Message:

simpleCA.wsdl: updated doc/lit style
Tests/MyProxyClient?/m2CryptoMyPxClnt.py: fix to logon call. Still requires
refactoring to remove pyOpenSSL calls to read returned ASN1 format proxy cert
and private key.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/www/html/simpleCA.wsdl

    r689 r1772  
    11<?xml version="1.0" encoding="utf-8"?> 
     2<wsdl:definitions name="SimpleCA" 
     3 xmlns="http://schemas.xmlsoap.org/wsdl/" 
     4 xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
     5 xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
     6 xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
     7 xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" 
     8 xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
     9 xmlns:tns="urn:ndg:security" 
     10 xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility" 
     11 targetNamespace="urn:ndg:security"> 
    212 
     13  <wsdl:types> 
     14    <xsd:schema> 
     15      <xsd:element name="signCertReq"> 
     16        <xsd:complexType> 
     17          <xsd:sequence> 
     18            <xsd:element name="x509CertReq" type="xsd:string" minOccurs="1" maxOccurs="1"/> 
     19          </xsd:sequence> 
     20        </xsd:complexType> 
     21      </xsd:element> 
     22      <xsd:element name="signCertReqResponse"> 
     23        <xsd:complexType> 
     24                  <xsd:sequence> 
     25                <xsd:element name="x509Cert" type="xsd:string" minOccurs="0" maxOccurs="1"/> 
     26                  </xsd:sequence> 
     27                </xsd:complexType> 
     28      </xsd:element> 
     29    </xsd:schema> 
     30  </wsdl:types> 
    331 
    4 <definitions name="simpleCA" 
    5   targetNamespace="http://wsdl2py.client.pycon.org/" 
    6   xmlns="http://schemas.xmlsoap.org/wsdl/" 
    7   xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
    8   xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
    9   xmlns:tns="http://wsdl2py.client.pycon.org/" 
    10   xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
    11   xmlns:xsd="http://www.w3.org/2001/XMLSchema"> 
     32  <wsdl:message name="signCertReq"> 
     33    <wsdl:part name="parameters" element="signCertReq"/> 
     34  </wsdl:message> 
    1235 
    13   <message name="reqCertRequest"> 
    14     <part name="usrCertReq" type="xsd:string"/> 
    15   </message> 
     36  <wsdl:message name="signCertReqResponse"> 
     37    <wsdl:part name="parameters" element="signCertReqResponse"/> 
     38  </wsdl:message> 
    1639 
    17   <message name="reqCertResponse"> 
    18     <part name="usrCert" type="xsd:string"/> 
    19     <part name="errMsg" type="xsd:string"/> 
    20   </message> 
     40  <wsdl:portType name="SimpleCA"> 
     41    <wsdl:operation name="signCertReq"> 
     42      <wsdl:input message="tns:signCertReqInputMsg"/> 
     43      <wsdl:output message="tns:signCertReqOutputMsg"/> 
     44    </wsdl:operation> 
     45  </wsdl:portType> 
    2146 
    22    
    23   <portType name="simpleCA"> 
    24     <operation name="reqCert"> 
    25       <input message="tns:reqCertRequest"/> 
    26       <output message="tns:reqCertResponse"/> 
    27     </operation> 
    28   </portType> 
     47  <wsdl:binding name="SimpleCABinding" type="tns:SimpleCA"> 
     48    <soap:binding 
     49     style="document" 
     50     transport="http://schemas.xmlsoap.org/soap/http"/> 
     51    <wsdl:operation name="signCertReq"> 
     52      <soap:operation soapAction="signCertReq"/> 
     53      <wsdl:input> 
     54        <soap:body use="literal"/> 
     55      </wsdl:input> 
     56      <wsdl:output> 
     57        <soap:body use="literal"/> 
     58      </wsdl:output> 
     59    </wsdl:operation> 
     60  </wsdl:binding> 
    2961 
    30   <binding name="simpleCABinding" type="tns:simpleCA"> 
    31     <soap:binding style="rpc"  
    32                       transport="http://schemas.xmlsoap.org/soap/http"/> 
    33     <operation name="reqCert"> 
    34       <soap:operation soapAction="urn:simpleCA#reqCert"/> 
    35       <input> 
    36         <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" 
    37                     namespace="urn:simpleCA" use="encoded"/> 
    38       </input> 
    39       <output> 
    40         <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" 
    41                     namespace="urn:simpleCA" use="encoded"/> 
    42       </output>  
    43     </operation> 
    44   </binding> 
    45  
    46   <service name="simpleCAService"> 
    47     <documentation>simpleCA web service</documentation> 
    48     <port name="simpleCA" binding="tns:simpleCABinding"> 
    49       <soap:address location=""/> 
    50     </port> 
    51   </service> 
    52 </definitions> 
     62  <wsdl:service name="SimpleCAService"> 
     63    <wsdl:documentation>SimpleCA web service</wsdl:documentation> 
     64    <wsdl:port name="SimpleCA" binding="tns:SimpleCABinding"> 
     65      <soap:address location="http://localhost:5001"/> 
     66    </wsdl:port> 
     67  </wsdl:service> 
     68</wsdl:definitions> 
Note: See TracChangeset for help on using the changeset viewer.