File: Error-FaultInOperationWithUndefinedMessage-MultipleFaults.wsdl

package info (click to toggle)
axis 1.4-29
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 52,100 kB
  • sloc: java: 129,124; xml: 10,602; jsp: 983; sh: 84; cs: 36; makefile: 18
file content (59 lines) | stat: -rw-r--r-- 1,789 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?xml version="1.0" encoding="UTF-8"?>
<definitions
  xmlns="http://schemas.xmlsoap.org/wsdl/"
  targetNamespace="http://wdls.error/OperationWithUndefinedMessage"
  xmlns:tns="http://wdls.error/OperationWithUndefinedMessage"
  xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
  xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"
>


	<message name="CityTemperatureForecastRequest">
		<part name="body" type="xsd:string" />
	</message>
	
		
	<message name="CityTemperatureForecastResponse">
		<part name="body" type="xsd:float" />
	</message>
	
	<message name="NoSuchCity">
		<part name="body" type="xsd:string" />
	</message>
		
	
	<portType name="CityTemperatureForecast">
		<operation name="GetCityTemperatureForecast">

			<input message="tns:CityTemperatureForecastRequest" />
			<output message="tns:CityTemperatureForecastResponse" />
			<fault message="tns:NoSuchCity" />
			<!-- there is no message with name "UndefinedFaultMessage" -->			
			<fault message="UndefinedFaultMessage" />

		</operation>	
	</portType>
	
	
	<binding name="CityTemperatureForecastBinding" type="tns:CityTemperatureForecast">
		<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
		<operation name="GetCityTemperatureForecast">
			<soap:operation/>
			<input>
			    <soap:body use="encoded" 
				encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
			</input>
			<output>
				<soap:body use="encoded" 
				encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
			</output>
		</operation>>	
	</binding>	
	
		
	<service name="WeatherForecastService">
		<port  name="CityTemperatureForecast" binding="tns:CityTemperatureForecastBinding">	
			<soap:address location="http://localhost:9090/axis/services/WeatherForecastService"/>		
		</port>	
	</service>
</definitions>