source: TI12-security/trunk/java/DEWS/AttributeAuthority/appClientModule/META-INF/attAuthority_mapping.xml @ 2265

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/java/DEWS/AttributeAuthority/appClientModule/META-INF/attAuthority_mapping.xml@2265
Revision 2265, 10.3 KB checked in by pjkersha, 13 years ago (diff)

Working version including changes to getAttCert operation to support userId input.

Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<java-wsdl-mapping xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.1" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd">
3    <package-mapping>
4        <package-type>ndg.security.attAuthority</package-type>
5        <namespaceURI>urn:ndg:security:attAuthority</namespaceURI>
6    </package-mapping>
7    <java-xml-type-mapping>
8        <java-type>ndg.security.attAuthority.HostInfo[]</java-type>
9        <anonymous-type-qname>urn:ndg:security:attAuthority:HostInfo[0,unbounded]</anonymous-type-qname>
10        <qname-scope>complexType</qname-scope>
11    </java-xml-type-mapping>
12    <java-xml-type-mapping>
13        <java-type>ndg.security.attAuthority.HostInfo</java-type>
14        <root-type-qname xmlns:rtq="urn:ndg:security:attAuthority">rtq:HostInfo</root-type-qname>
15        <qname-scope>complexType</qname-scope>
16        <variable-mapping>
17            <java-variable-name>hostname</java-variable-name>
18            <xml-element-name>hostname</xml-element-name>
19        </variable-mapping>
20        <variable-mapping>
21            <java-variable-name>aaURI</java-variable-name>
22            <xml-element-name>aaURI</xml-element-name>
23        </variable-mapping>
24        <variable-mapping>
25            <java-variable-name>loginURI</java-variable-name>
26            <xml-element-name>loginURI</xml-element-name>
27        </variable-mapping>
28        <variable-mapping>
29            <java-variable-name>roleList</java-variable-name>
30            <xml-element-name>roleList</xml-element-name>
31        </variable-mapping>
32    </java-xml-type-mapping>
33    <java-xml-type-mapping>
34        <java-type>java.lang.String</java-type>
35        <root-type-qname xmlns:rtq="http://www.w3.org/2001/XMLSchema">rtq:string</root-type-qname>
36        <qname-scope>simpleType</qname-scope>
37    </java-xml-type-mapping>
38    <java-xml-type-mapping>
39        <java-type>java.lang.String[]</java-type>
40        <anonymous-type-qname>http://www.w3.org/2001/XMLSchema:string[0,unbounded]</anonymous-type-qname>
41        <qname-scope>complexType</qname-scope>
42    </java-xml-type-mapping>
43    <java-xml-type-mapping>
44        <java-type>ndg.security.attAuthority.HostInfo[]</java-type>
45        <anonymous-type-qname>urn:ndg:security:attAuthority:&gt;getTrustedHostInfoResponse&gt;trustedHosts[0,unbounded]</anonymous-type-qname>
46        <qname-scope>complexType</qname-scope>
47    </java-xml-type-mapping>
48    <java-xml-type-mapping>
49        <java-type>java.lang.String[]</java-type>
50        <anonymous-type-qname>urn:ndg:security:attAuthority:HostInfo&gt;roleList[0,unbounded]</anonymous-type-qname>
51        <qname-scope>complexType</qname-scope>
52    </java-xml-type-mapping>
53    <service-interface-mapping>
54        <service-interface>ndg.security.attAuthority.AttAuthorityService</service-interface>
55        <wsdl-service-name xmlns:sim="urn:ndg:security:attAuthority">sim:AttAuthorityService</wsdl-service-name>
56        <port-mapping>
57            <port-name>AttAuthority</port-name>
58            <java-port-name>AttAuthority</java-port-name>
59        </port-mapping>
60    </service-interface-mapping>
61    <service-endpoint-interface-mapping>
62        <service-endpoint-interface>ndg.security.attAuthority.AttAuthority</service-endpoint-interface>
63        <wsdl-port-type xmlns:seimwpt="urn:ndg:security:attAuthority">seimwpt:AttAuthority</wsdl-port-type>
64        <wsdl-binding xmlns:seimwb="urn:ndg:security:attAuthority">seimwb:AttAuthorityBinding</wsdl-binding>
65        <service-endpoint-method-mapping>
66            <java-method-name>getAttCert</java-method-name>
67            <wsdl-operation>getAttCert</wsdl-operation>
68            <wrapped-element/>
69            <method-param-parts-mapping>
70                <param-position>0</param-position>
71                <param-type>java.lang.String</param-type>
72                <wsdl-message-mapping>
73                    <wsdl-message xmlns:mppm="urn:ndg:security:attAuthority">mppm:getAttCertInputMsg</wsdl-message>
74                    <wsdl-message-part-name>userId</wsdl-message-part-name>
75                    <parameter-mode>IN</parameter-mode>
76                </wsdl-message-mapping>
77            </method-param-parts-mapping>
78            <method-param-parts-mapping>
79                <param-position>1</param-position>
80                <param-type>java.lang.String</param-type>
81                <wsdl-message-mapping>
82                    <wsdl-message xmlns:mppm="urn:ndg:security:attAuthority">mppm:getAttCertInputMsg</wsdl-message>
83                    <wsdl-message-part-name>userCert</wsdl-message-part-name>
84                    <parameter-mode>IN</parameter-mode>
85                </wsdl-message-mapping>
86            </method-param-parts-mapping>
87            <method-param-parts-mapping>
88                <param-position>2</param-position>
89                <param-type>java.lang.String</param-type>
90                <wsdl-message-mapping>
91                    <wsdl-message xmlns:mppm="urn:ndg:security:attAuthority">mppm:getAttCertInputMsg</wsdl-message>
92                    <wsdl-message-part-name>userAttCert</wsdl-message-part-name>
93                    <parameter-mode>IN</parameter-mode>
94                </wsdl-message-mapping>
95            </method-param-parts-mapping>
96            <method-param-parts-mapping>
97                <param-position>3</param-position>
98                <param-type>java.lang.String</param-type>
99                <wsdl-message-mapping>
100                    <wsdl-message xmlns:mppm="urn:ndg:security:attAuthority">mppm:getAttCertOutputMsg</wsdl-message>
101                    <wsdl-message-part-name>attCert</wsdl-message-part-name>
102                    <parameter-mode>OUT</parameter-mode>
103                </wsdl-message-mapping>
104            </method-param-parts-mapping>
105            <method-param-parts-mapping>
106                <param-position>4</param-position>
107                <param-type>java.lang.String</param-type>
108                <wsdl-message-mapping>
109                    <wsdl-message xmlns:mppm="urn:ndg:security:attAuthority">mppm:getAttCertOutputMsg</wsdl-message>
110                    <wsdl-message-part-name>msg</wsdl-message-part-name>
111                    <parameter-mode>OUT</parameter-mode>
112                </wsdl-message-mapping>
113            </method-param-parts-mapping>
114            <wsdl-return-value-mapping>
115                <method-return-value>void</method-return-value>
116                <wsdl-message xmlns:wrvm="urn:ndg:security:attAuthority">wrvm:getAttCertOutputMsg</wsdl-message>
117            </wsdl-return-value-mapping>
118        </service-endpoint-method-mapping>
119        <service-endpoint-method-mapping>
120            <java-method-name>getHostInfo</java-method-name>
121            <wsdl-operation>getHostInfo</wsdl-operation>
122            <wrapped-element/>
123            <method-param-parts-mapping>
124                <param-position>0</param-position>
125                <param-type>java.lang.String</param-type>
126                <wsdl-message-mapping>
127                    <wsdl-message xmlns:mppm="urn:ndg:security:attAuthority">mppm:getHostInfoOutputMsg</wsdl-message>
128                    <wsdl-message-part-name>hostname</wsdl-message-part-name>
129                    <parameter-mode>OUT</parameter-mode>
130                </wsdl-message-mapping>
131            </method-param-parts-mapping>
132            <method-param-parts-mapping>
133                <param-position>1</param-position>
134                <param-type>java.lang.String</param-type>
135                <wsdl-message-mapping>
136                    <wsdl-message xmlns:mppm="urn:ndg:security:attAuthority">mppm:getHostInfoOutputMsg</wsdl-message>
137                    <wsdl-message-part-name>aaURI</wsdl-message-part-name>
138                    <parameter-mode>OUT</parameter-mode>
139                </wsdl-message-mapping>
140            </method-param-parts-mapping>
141            <method-param-parts-mapping>
142                <param-position>2</param-position>
143                <param-type>java.lang.String</param-type>
144                <wsdl-message-mapping>
145                    <wsdl-message xmlns:mppm="urn:ndg:security:attAuthority">mppm:getHostInfoOutputMsg</wsdl-message>
146                    <wsdl-message-part-name>loginURI</wsdl-message-part-name>
147                    <parameter-mode>OUT</parameter-mode>
148                </wsdl-message-mapping>
149            </method-param-parts-mapping>
150            <wsdl-return-value-mapping>
151                <method-return-value>void</method-return-value>
152                <wsdl-message xmlns:wrvm="urn:ndg:security:attAuthority">wrvm:getHostInfoOutputMsg</wsdl-message>
153            </wsdl-return-value-mapping>
154        </service-endpoint-method-mapping>
155        <service-endpoint-method-mapping>
156            <java-method-name>getTrustedHostInfo</java-method-name>
157            <wsdl-operation>getTrustedHostInfo</wsdl-operation>
158            <wrapped-element/>
159            <method-param-parts-mapping>
160                <param-position>0</param-position>
161                <param-type>java.lang.String</param-type>
162                <wsdl-message-mapping>
163                    <wsdl-message xmlns:mppm="urn:ndg:security:attAuthority">mppm:getTrustedHostInfoInputMsg</wsdl-message>
164                    <wsdl-message-part-name>role</wsdl-message-part-name>
165                    <parameter-mode>IN</parameter-mode>
166                </wsdl-message-mapping>
167            </method-param-parts-mapping>
168            <wsdl-return-value-mapping>
169                <method-return-value>ndg.security.attAuthority.HostInfo[]</method-return-value>
170                <wsdl-message xmlns:wrvm="urn:ndg:security:attAuthority">wrvm:getTrustedHostInfoOutputMsg</wsdl-message>
171                <wsdl-message-part-name>trustedHosts</wsdl-message-part-name>
172            </wsdl-return-value-mapping>
173        </service-endpoint-method-mapping>
174        <service-endpoint-method-mapping>
175            <java-method-name>getX509Cert</java-method-name>
176            <wsdl-operation>getX509Cert</wsdl-operation>
177            <wrapped-element/>
178            <wsdl-return-value-mapping>
179                <method-return-value>java.lang.String</method-return-value>
180                <wsdl-message xmlns:wrvm="urn:ndg:security:attAuthority">wrvm:getX509CertOutputMsg</wsdl-message>
181                <wsdl-message-part-name>x509Cert</wsdl-message-part-name>
182            </wsdl-return-value-mapping>
183        </service-endpoint-method-mapping>
184    </service-endpoint-interface-mapping>
185</java-wsdl-mapping>
Note: See TracBrowser for help on using the repository browser.