Welcome to the "trac"-ing site of soap4r!
[soap4r] [httpclient] [openpgp4u] [pkcs1] [logger] [csv] [vtr]

Ticket #467: ServiceRequestIF.wsdl

File ServiceRequestIF.wsdl, 2.7 kB (added by user, 8 months ago)

sample wsdl file to show that generating header does not work

Line 
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
3         xmlns:tns="http://www.mycompany.com/ServiceRequestIF/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
4         xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
5         name="ServiceRequestIF" targetNamespace="http://www.mycompany.com/ServiceRequestIF/">
6         <wsdl:types>
7                 <xsd:schema xmlns:types="http://www.mycompany.com/abc/schema/types"
8                         targetNamespace="http://www.mycompany.com/ServiceRequestIF/">
9                         <xsd:import namespace="http://www.mycompany.com/abc/schema/types"
10                                 schemaLocation="types.xsd" />
11                         <xsd:import namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"
12                                 schemaLocation="addressing.xml" />
13                         <xsd:element name="getVersion">
14                                 <xsd:complexType>
15                                         <xsd:attribute name="sessionID" type="xsd:int" use="required" />
16                                         <xsd:attribute name="versionInfo" type="xsd:string"
17                                                 use="required" />
18                                 </xsd:complexType>
19                         </xsd:element>
20                 </xsd:schema>
21         </wsdl:types>
22         <wsdl:message name="getVersionMessage">
23                 <wsdl:part element="wsa:Action" name="action" />
24                 <wsdl:part element="wsa:From" name="from" />
25                 <wsdl:part element="wsa:MessageID" name="messageID" />
26                 <wsdl:part element="wsa:RelatesTo" name="relatesTo" />
27                 <wsdl:part element="wsa:To" name="to" />
28                 <wsdl:part element="tns:getVersion" name="parameters" />
29         </wsdl:message>
30         <wsdl:portType name="ServiceRequestIF">
31                 <wsdl:operation name="getVersion">
32                         <wsdl:input message="tns:getVersionMessage" />
33                 </wsdl:operation>
34         </wsdl:portType>
35         <wsdl:binding name="ServiceRequestIFSOAP" type="tns:ServiceRequestIF">
36                 <soap:binding style="document"
37                         transport="http://schemas.xmlsoap.org/soap/http" />
38                 <wsdl:operation name="getVersion">
39                         <soap:operation soapAction="http://www.mycompany.com/ServiceRequestIF/getVersion" />
40                         <wsdl:input>
41                                 <soap:header message="tns:getVersionMessage" part="action"
42                                         use="literal" />
43                                 <soap:header message="tns:getVersionMessage" part="from"
44                                         use="literal" />
45                                 <soap:header message="tns:getVersionMessage" part="messageID"
46                                         use="literal" />
47                                 <soap:header message="tns:getVersionMessage" part="relatesTo"
48                                         use="literal" />
49                                 <soap:header message="tns:getVersionMessage" part="to"
50                                         use="literal" />
51                                 <soap:body parts="parameters" use="literal" />
52                         </wsdl:input>
53                 </wsdl:operation>
54         </wsdl:binding>
55         <wsdl:service name="ServiceRequestIF">
56                 <wsdl:port binding="tns:ServiceRequestIFSOAP" name="ServiceRequestIFSOAP">
57                         <soap:address location="http://localhost:1234/axis/services/ServiceRequestIFSOAP" />
58                 </wsdl:port>
59         </wsdl:service>
60 </wsdl:definitions>