axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Baruch <autoph...@zoominternet.net>
Subject Problem w/axis 1.4 and array
Date Fri, 25 May 2007 18:29:51 GMT
Hi all,

I'd be lazy and not bother to download and unzip the zip file, so  
here's the WSDL by itself:

<?xml version="1.0"?>
<definitions xmlns:u="http://www.test.com/soap/TestService.wsdl"  
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns="http:// 
schemas.xmlsoap.org/wsdl/" xmlns:ns="http://www.w3.org/2001/12/soap- 
envelope" xmlns:ns1="http://www.w3.org/2001/XMLSchema"  
xmlns:ns2="http://schemas.xmlsoap.org/soap/encoding/"  
name="TestService" targetNamespace="http://www.test.com/soap/ 
TestService.wsdl">
	<types>
		<xs:schema xmlns="http://www.w3.org/2001/12/soap-envelope"  
xmlns:n1="HTTP://www.test.com/soap" xmlns:u="http://www.test.com/ 
soap" xmlns:xs="http://www.w3.org/2001/XMLSchema"  
targetNamespace="http://www.w3.org/2001/12/soap-envelope"  
attributeFormDefault="qualified">

			<xs:element name="TestResponse">
				<xs:complexType>
					<xs:sequence minOccurs="0" maxOccurs="unbounded">
						<xs:element name="Record">
							<xs:complexType>
								<xs:all>
									<xs:element name="Name" type="xs:string"/>
									<xs:element name="ID" type="xs:long"/>
									<xs:element name="Type" type="xs:string"/>
								</xs:all>
							</xs:complexType>
						</xs:element>
					</xs:sequence>
					<xs:attribute name="transid" use="optional" type="xs:string"/>
				</xs:complexType>
			</xs:element>

			<xs:element name="TestRequest">
				<xs:complexType>
					<xs:attribute name="transid" use="optional" type="xs:string"/>
				</xs:complexType>
			</xs:element>

			<xs:attribute name="mustUnderstand" type="xs:byte"/>
		</xs:schema>
	</types>

	<message name="TestInput">
		<part name="body" element="ns:TestRequest"/>
	</message>
	<message name="TestOutput">
		<part name="body" element="ns:TestResponse"/>
	</message>

	<portType name="TestPortType">
		<operation name="DoTest">
			<input message="u:TestInput"/>
			<output message="u:TestOutput"/>
		</operation>
	</portType>

	<binding name="TestSoapBinding" type="u:TestPortType">
		<soap:binding style="document" transport="http:// 
schemas.xmlsoap.org/soap/http"/>
		<operation name="DoTest">
			<soap:operation soapAction="urn:#DoTest"/>
			<input>
				<soap:body use="literal" message="TestInput"/>
			</input>
			<output>
				<soap:body use="literal" message="TestOutput"/>
			</output>
		</operation>
	</binding>

	<service name="TestService">
		<documentation>Test</documentation>
		<port name="TestServicePort" binding="u:TestSoapBinding">
			<soap:address location="http://www.test.com/cgi-bin/soap"/>
		</port>
	</service>
</definitions>


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message