source: TI12-security/trunk/python/www/html/certificateAuthority.wsdl @ 2130

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/www/html/certificateAuthority.wsdl@2130
Revision 2130, 2.2 KB checked in by pjkersha, 12 years ago (diff)

Updates to Simple CA code.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1<?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">
12
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>
31
32  <wsdl:message name="signCertReq">
33    <wsdl:part name="parameters" element="signCertReq"/>
34  </wsdl:message>
35
36  <wsdl:message name="signCertReqResponse">
37    <wsdl:part name="parameters" element="signCertReqResponse"/>
38  </wsdl:message>
39
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>
46
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>
61
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 TracBrowser for help on using the repository browser.