001 <?xml version="1.0" encoding="utf-8"?>
002 <!-- @editor-info:link autogen="true" source="mySoap11Service.jws" -->
003 <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:conv="http://www.openuri.org/2002/04/soap/conversation/" xmlns:cw="http://www.openuri.org/2002/04/wsdl/conversation/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:jms="http://www.openuri.org/2002/04/wsdl/jms/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://www.openuri.org/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="http://www.openuri.org/">
004 <types>
005 <s:schema elementFormDefault="qualified" targetNamespace="http://www.openuri.org/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:ope="http://www.openuri.org/">
006 <s:element name="myMethod">
007 <s:complexType>
008 <s:sequence/>
009 </s:complexType>
010 </s:element>
011 <s:element name="myMethodResponse">
012 <s:complexType>
013 <s:sequence/>
014 </s:complexType>
015 </s:element>
016 <s:element name="GetHeader">
017 <s:complexType>
018 <s:sequence/>
019 </s:complexType>
020 </s:element>
021 <s:element name="GetHeaderResponse">
022 <s:complexType>
023 <s:sequence>
024 <s:element name="GetHeaderResult" type="ope:ArrayOfString" minOccurs="0"/>
025 </s:sequence>
026 </s:complexType>
027 </s:element>
028 <s:element name="ArrayOfString" nillable="true" type="ope:ArrayOfString"/>
029 <s:element name="getThisProtocol">
030 <s:complexType>
031 <s:sequence/>
032 </s:complexType>
033 </s:element>
034 <s:element name="getThisProtocolResponse">
035 <s:complexType>
036 <s:sequence>
037 <s:element name="getThisProtocolResult" type="s:string" minOccurs="0"/>
038 </s:sequence>
039 </s:complexType>
040 </s:element>
041 <s:element name="string" nillable="true" type="s:string"/>
042 <s:complexType name="ArrayOfString">
043 <s:sequence>
044 <s:element name="String" type="s:string" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
045 </s:sequence>
046 </s:complexType>
047 </s:schema>
048
049 </types>
050 <message name="myMethodSoapIn">
051 <part name="parameters" element="s0:myMethod"/>
052 </message>
053 <message name="myMethodSoapOut">
054 <part name="parameters" element="s0:myMethodResponse"/>
055 </message>
056 <message name="GetHeaderSoapIn">
057 <part name="parameters" element="s0:GetHeader"/>
058 </message>
059 <message name="GetHeaderSoapOut">
060 <part name="parameters" element="s0:GetHeaderResponse"/>
061 </message>
062 <message name="getThisProtocolSoapIn">
063 <part name="parameters" element="s0:getThisProtocol"/>
064 </message>
065 <message name="getThisProtocolSoapOut">
066 <part name="parameters" element="s0:getThisProtocolResponse"/>
067 </message>
068 <message name="myMethodHttpGetIn"/>
069 <message name="myMethodHttpGetOut"/>
070 <message name="GetHeaderHttpGetIn"/>
071 <message name="GetHeaderHttpGetOut">
072 <part name="Body" element="s0:ArrayOfString"/>
073 </message>
074 <message name="getThisProtocolHttpGetIn"/>
075 <message name="getThisProtocolHttpGetOut">
076 <part name="Body" element="s0:string"/>
077 </message>
078 <message name="myMethodHttpPostIn"/>
079 <message name="myMethodHttpPostOut"/>
080 <message name="GetHeaderHttpPostIn"/>
081 <message name="GetHeaderHttpPostOut">
082 <part name="Body" element="s0:ArrayOfString"/>
083 </message>
084 <message name="getThisProtocolHttpPostIn"/>
085 <message name="getThisProtocolHttpPostOut">
086 <part name="Body" element="s0:string"/>
087 </message>
088 <portType name="mySoap11ServiceSoap">
089 <operation name="myMethod">
090 <documentation>In this method, a header is created using HeaderDocument.Factory.Parse. The FirstChild is extracted into header, which is type Element. The header is put into place using the JwsContext service method, setOutputHeaders. The format of the Element header is: firstChild localName = "Header" name = "SOAP-ENV:Header" namespaceURI= "http://schemas-xmlsoap.org/soap/envelope/" firstChild localName = "content" name = "my:content" namespaceURI= "http://my.com/uri/" firstChild data = "Context Text"</documentation>
091 <input message="s0:myMethodSoapIn"/>
092 <output message="s0:myMethodSoapOut"/>
093 </operation>
094 <operation name="GetHeader">
095 <documentation>The header can be obtained by using the JwsContext interface getInputHeaders() is the compliment to setOutputHeaders() used in myMethod to add the header and the result is formated exactly the same way. You can extract some of the header by using the methods that come with the Element interface. getNodeName extracts the header name "soapenv:Header" getTagName extracts the tag name "soapenv:Header" Note that the header that is retrieved is that of the SOAP envelope. To get the rest of the header information you have to traverse the tree that is created. See the multipleHeaders.jws.</documentation>
096 <input message="s0:GetHeaderSoapIn"/>
097 <output message="s0:GetHeaderSoapOut"/>
098 </operation>
099 <operation name="getThisProtocol">
100 <documentation>getProtocol is in the JwsContext interface. It returns a type Protocol, which is made up of an ID and the text name of the protocol type. The Protocol class also contains the list of protocols that it refers to. The Protocol class has a method by the name of getName that returns the name of the protocol. So, by using getName, you can tell if this is a SOAP protocol or some other type of protocol.</documentation>
101 <input message="s0:getThisProtocolSoapIn"/>
102 <output message="s0:getThisProtocolSoapOut"/>
103 </operation>
104 </portType>
105 <portType name="mySoap11ServiceHttpGet">
106 <operation name="myMethod">
107 <documentation>In this method, a header is created using HeaderDocument.Factory.Parse. The FirstChild is extracted into header, which is type Element. The header is put into place using the JwsContext service method, setOutputHeaders. The format of the Element header is: firstChild localName = "Header" name = "SOAP-ENV:Header" namespaceURI= "http://schemas-xmlsoap.org/soap/envelope/" firstChild localName = "content" name = "my:content" namespaceURI= "http://my.com/uri/" firstChild data = "Context Text"</documentation>
108 <input message="s0:myMethodHttpGetIn"/>
109 <output message="s0:myMethodHttpGetOut"/>
110 </operation>
111 <operation name="GetHeader">
112 <documentation>The header can be obtained by using the JwsContext interface getInputHeaders() is the compliment to setOutputHeaders() used in myMethod to add the header and the result is formated exactly the same way. You can extract some of the header by using the methods that come with the Element interface. getNodeName extracts the header name "soapenv:Header" getTagName extracts the tag name "soapenv:Header" Note that the header that is retrieved is that of the SOAP envelope. To get the rest of the header information you have to traverse the tree that is created. See the multipleHeaders.jws.</documentation>
113 <input message="s0:GetHeaderHttpGetIn"/>
114 <output message="s0:GetHeaderHttpGetOut"/>
115 </operation>
116 <operation name="getThisProtocol">
117 <documentation>getProtocol is in the JwsContext interface. It returns a type Protocol, which is made up of an ID and the text name of the protocol type. The Protocol class also contains the list of protocols that it refers to. The Protocol class has a method by the name of getName that returns the name of the protocol. So, by using getName, you can tell if this is a SOAP protocol or some other type of protocol.</documentation>
118 <input message="s0:getThisProtocolHttpGetIn"/>
119 <output message="s0:getThisProtocolHttpGetOut"/>
120 </operation>
121 </portType>
122 <portType name="mySoap11ServiceHttpPost">
123 <operation name="myMethod">
124 <documentation>In this method, a header is created using HeaderDocument.Factory.Parse. The FirstChild is extracted into header, which is type Element. The header is put into place using the JwsContext service method, setOutputHeaders. The format of the Element header is: firstChild localName = "Header" name = "SOAP-ENV:Header" namespaceURI= "http://schemas-xmlsoap.org/soap/envelope/" firstChild localName = "content" name = "my:content" namespaceURI= "http://my.com/uri/" firstChild data = "Context Text"</documentation>
125 <input message="s0:myMethodHttpPostIn"/>
126 <output message="s0:myMethodHttpPostOut"/>
127 </operation>
128 <operation name="GetHeader">
129 <documentation>The header can be obtained by using the JwsContext interface getInputHeaders() is the compliment to setOutputHeaders() used in myMethod to add the header and the result is formated exactly the same way. You can extract some of the header by using the methods that come with the Element interface. getNodeName extracts the header name "soapenv:Header" getTagName extracts the tag name "soapenv:Header" Note that the header that is retrieved is that of the SOAP envelope. To get the rest of the header information you have to traverse the tree that is created. See the multipleHeaders.jws.</documentation>
130 <input message="s0:GetHeaderHttpPostIn"/>
131 <output message="s0:GetHeaderHttpPostOut"/>
132 </operation>
133 <operation name="getThisProtocol">
134 <documentation>getProtocol is in the JwsContext interface. It returns a type Protocol, which is made up of an ID and the text name of the protocol type. The Protocol class also contains the list of protocols that it refers to. The Protocol class has a method by the name of getName that returns the name of the protocol. So, by using getName, you can tell if this is a SOAP protocol or some other type of protocol.</documentation>
135 <input message="s0:getThisProtocolHttpPostIn"/>
136 <output message="s0:getThisProtocolHttpPostOut"/>
137 </operation>
138 </portType>
139 <binding name="mySoap11ServiceSoap" type="s0:mySoap11ServiceSoap">
140 <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
141 <operation name="myMethod">
142 <soap:operation soapAction="http://www.openuri.org/myMethod" style="document"/>
143 <input>
144 <soap:body use="literal"/>
145 </input>
146 <output>
147 <soap:body use="literal"/>
148 </output>
149 </operation>
150 <operation name="GetHeader">
151 <soap:operation soapAction="http://www.openuri.org/GetHeader" style="document"/>
152 <input>
153 <soap:body use="literal"/>
154 </input>
155 <output>
156 <soap:body use="literal"/>
157 </output>
158 </operation>
159 <operation name="getThisProtocol">
160 <soap:operation soapAction="http://www.openuri.org/getThisProtocol" style="document"/>
161 <input>
162 <soap:body use="literal"/>
163 </input>
164 <output>
165 <soap:body use="literal"/>
166 </output>
167 </operation>
168 </binding>
169 <binding name="mySoap11ServiceHttpGet" type="s0:mySoap11ServiceHttpGet">
170 <http:binding verb="GET"/>
171 <operation name="myMethod">
172 <http:operation location="/myMethod"/>
173 <input>
174 <http:urlEncoded/>
175 </input>
176 <output/>
177 </operation>
178 <operation name="GetHeader">
179 <http:operation location="/GetHeader"/>
180 <input>
181 <http:urlEncoded/>
182 </input>
183 <output>
184 <mime:mimeXml part="Body"/>
185 </output>
186 </operation>
187 <operation name="getThisProtocol">
188 <http:operation location="/getThisProtocol"/>
189 <input>
190 <http:urlEncoded/>
191 </input>
192 <output>
193 <mime:mimeXml part="Body"/>
194 </output>
195 </operation>
196 </binding>
197 <binding name="mySoap11ServiceHttpPost" type="s0:mySoap11ServiceHttpPost">
198 <http:binding verb="POST"/>
199 <operation name="myMethod">
200 <http:operation location="/myMethod"/>
201 <input>
202 <mime:content type="application/x-www-form-urlencoded"/>
203 </input>
204 <output/>
205 </operation>
206 <operation name="GetHeader">
207 <http:operation location="/GetHeader"/>
208 <input>
209 <mime:content type="application/x-www-form-urlencoded"/>
210 </input>
211 <output>
212 <mime:mimeXml part="Body"/>
213 </output>
214 </operation>
215 <operation name="getThisProtocol">
216 <http:operation location="/getThisProtocol"/>
217 <input>
218 <mime:content type="application/x-www-form-urlencoded"/>
219 </input>
220 <output>
221 <mime:mimeXml part="Body"/>
222 </output>
223 </operation>
224 </binding>
225 <service name="mySoap11Service">
226 <port name="mySoap11ServiceSoap" binding="s0:mySoap11ServiceSoap">
227 <soap:address location="http://localhost:7001/SoapHeaders/soapHeaders/mySoap11Service.jws"/>
228 </port>
229 <port name="mySoap11ServiceHttpGet" binding="s0:mySoap11ServiceHttpGet">
230 <http:address location="http://localhost:7001/SoapHeaders/soapHeaders/mySoap11Service.jws"/>
231 </port>
232 <port name="mySoap11ServiceHttpPost" binding="s0:mySoap11ServiceHttpPost">
233 <http:address location="http://localhost:7001/SoapHeaders/soapHeaders/mySoap11Service.jws"/>
234 </port>
235 </service>
236 </definitions>
|