You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2006/11/01 21:25:19 UTC

svn commit: r470082 - in /webservices/axis2/branches/java/1_1/modules/xmlbeans/test-resources: BookQuote.wsdl BookQuote2.wsdl

Author: dims
Date: Wed Nov  1 12:25:19 2006
New Revision: 470082

URL: http://svn.apache.org/viewvc?view=rev&rev=470082
Log:
Actually fix AXIS2-1544 by fixing the wsdl's that are being shipped

Modified:
    webservices/axis2/branches/java/1_1/modules/xmlbeans/test-resources/BookQuote.wsdl
    webservices/axis2/branches/java/1_1/modules/xmlbeans/test-resources/BookQuote2.wsdl

Modified: webservices/axis2/branches/java/1_1/modules/xmlbeans/test-resources/BookQuote.wsdl
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/xmlbeans/test-resources/BookQuote.wsdl?view=diff&rev=470082&r1=470081&r2=470082
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/xmlbeans/test-resources/BookQuote.wsdl (original)
+++ webservices/axis2/branches/java/1_1/modules/xmlbeans/test-resources/BookQuote.wsdl Wed Nov  1 12:25:19 2006
@@ -1,53 +1,62 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<definitions xmlns:mh="http://www.Monson-Haefel.com/jwsbook/BookQuote" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" targetNamespace="http://www.Monson-Haefel.com/jwsbook/BookQuote" name="BookQuote">
-	<message name="BookQuote_getBookPrice">
-		<part name="isbn" type="xsd:anyType"/>
-		<part name="number" type="xsd:int"/>
-	</message>
-	<message name="BookQuote_getBookPriceResponse">
-		<part name="result" type="xsd:anyType"/>
-	</message>
-	<message name="InvalidIsbnFault">
-		<part name="message" type="xsd:anyType"/>
-	</message>
-	<portType name="BookQuote">
-		<operation name="getBookPrice">
-			<input message="mh:BookQuote_getBookPrice"/>
-			<output message="mh:BookQuote_getBookPriceResponse"/>
-			<fault name="InvalidIsbnFault" message="mh:InvalidIsbnFault"/>
-		</operation>
-		<operation name="getBookPriceNonRobust">
-			<input message="mh:BookQuote_getBookPrice"/>
-			<output message="mh:BookQuote_getBookPriceResponse"/>
-		</operation>
-	</portType>
-	<binding name="BookQuoteBinding" type="mh:BookQuote">
-		<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
-		<operation name="getBookPrice">
-			<soap:operation soapAction="myAction"/>
-			<input>
-				<soap:body use="literal" namespace="http://www.Monson-Haefel.com/jwsbook/BookQuote/BookQuote"/>
-			</input>
-			<output>
-				<soap:body use="literal" namespace="http://www.Monson-Haefel.com/jwsbook/BookQuote/BookQuote"/>
-			</output>
-			<fault name="InvalidIsbnFault">
-				<soap:fault name="InvalidIsbnFault" use="literal"/>
-			</fault>	
-		</operation>
-		<operation name="getBookPriceNonRobust">
-			<soap:operation soapAction="myAction2"/>
-			<input>
-				<soap:body use="literal" namespace="http://www.Monson-Haefel.com/jwsbook/BookQuote/BookQuote"/>
-			</input>
-			<output>
-				<soap:body use="literal" namespace="http://www.Monson-Haefel.com/jwsbook/BookQuote/BookQuote"/>
-			</output>
-		</operation>
-	</binding>
-	<service name="BookQuoteService">
-		<port name="BookQuotePort" binding="mh:BookQuoteBinding">
-			<soap:address location="http://www.Monson-Haefel.com/jwsbook/BookQuoteService"/>
-		</port>
-	</service>
-</definitions>
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions xmlns:mh="http://www.Monson-Haefel.com/jwsbook/BookQuote" xmlns="http://schemas.xmlsoap.org/wsdl/"
+             xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+             targetNamespace="http://www.Monson-Haefel.com/jwsbook/BookQuote"
+             xmlns:types="http://www.Monson-Haefel.com/jwsbook/BookQuote/xsd" name="BookQuote">
+    <types>
+    <xsd:schema elementFormDefault="qualified"
+                targetNamespace="http://www.Monson-Haefel.com/jwsbook/BookQuote/xsd">
+      <xsd:element name="faultElement" type="xsd:anyType"/>
+    </xsd:schema>
+  </types>
+	<message name="BookQuote_getBookPrice">
+		<part name="isbn" type="xsd:anyType"/>
+		<part name="number" type="xsd:int"/>
+	</message>
+	<message name="BookQuote_getBookPriceResponse">
+		<part name="result" type="xsd:anyType"/>
+	</message>
+	<message name="InvalidIsbnFault">
+        <part name="message" element="types:faultElement"/>
+	</message>
+	<portType name="BookQuote">
+		<operation name="getBookPrice">
+			<input message="mh:BookQuote_getBookPrice"/>
+			<output message="mh:BookQuote_getBookPriceResponse"/>
+			<fault name="InvalidIsbnFault" message="mh:InvalidIsbnFault"/>
+		</operation>
+		<operation name="getBookPriceNonRobust">
+			<input message="mh:BookQuote_getBookPrice"/>
+			<output message="mh:BookQuote_getBookPriceResponse"/>
+		</operation>
+	</portType>
+	<binding name="BookQuoteBinding" type="mh:BookQuote">
+		<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
+		<operation name="getBookPrice">
+			<soap:operation soapAction="myAction"/>
+			<input>
+				<soap:body use="literal" namespace="http://www.Monson-Haefel.com/jwsbook/BookQuote/BookQuote"/>
+			</input>
+			<output>
+				<soap:body use="literal" namespace="http://www.Monson-Haefel.com/jwsbook/BookQuote/BookQuote"/>
+			</output>
+			<fault name="InvalidIsbnFault">
+				<soap:fault name="InvalidIsbnFault" use="literal"/>
+			</fault>	
+		</operation>
+		<operation name="getBookPriceNonRobust">
+			<soap:operation soapAction="myAction2"/>
+			<input>
+				<soap:body use="literal" namespace="http://www.Monson-Haefel.com/jwsbook/BookQuote/BookQuote"/>
+			</input>
+			<output>
+				<soap:body use="literal" namespace="http://www.Monson-Haefel.com/jwsbook/BookQuote/BookQuote"/>
+			</output>
+		</operation>
+	</binding>
+	<service name="BookQuoteService">
+		<port name="BookQuotePort" binding="mh:BookQuoteBinding">
+			<soap:address location="http://www.Monson-Haefel.com/jwsbook/BookQuoteService"/>
+		</port>
+	</service>
+</definitions>

Modified: webservices/axis2/branches/java/1_1/modules/xmlbeans/test-resources/BookQuote2.wsdl
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/xmlbeans/test-resources/BookQuote2.wsdl?view=diff&rev=470082&r1=470081&r2=470082
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/xmlbeans/test-resources/BookQuote2.wsdl (original)
+++ webservices/axis2/branches/java/1_1/modules/xmlbeans/test-resources/BookQuote2.wsdl Wed Nov  1 12:25:19 2006
@@ -1,5 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <definitions xmlns:mh="http://www.Monson-Haefel.com/jwsbook/BookQuote" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" targetNamespace="http://www.Monson-Haefel.com/jwsbook/BookQuote" name="BookQuote">
+    <types>
+    <xsd:schema elementFormDefault="qualified"
+                targetNamespace="http://www.Monson-Haefel.com/jwsbook/BookQuote/xsd">
+      <xsd:element name="faultElement" type="xsd:string"/>
+    </xsd:schema>
+  </types>
 	<message name="BookQuote_getBookPrice">
 		<part name="isbn" type="xsd:string"/>
 		<part name="number" type="xsd:int"/>
@@ -8,7 +14,7 @@
 		<part name="result" type="xsd:string"/>
 	</message>
 	<message name="InvalidIsbnFault">
-		<part name="message" type="xsd:string"/>
+        <part name="message" element="types:faultElement"/>
 	</message>
 	<portType name="BookQuote">
 		<operation name="getBookPrice">



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